need help

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

need help

David Zmick
I have just started attempting to use Seaside, and I can't figure out how to get a new application added.  I create a subclass of WAComponent and have the canBeRoot method return true, but, when I try to create a new "Entry Point" the class isn't there to be a root component.  What am i doing?

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: need help

David Zmick
never mind, I didn't put the method on the class side!!

On Feb 5, 2008 4:33 PM, David Zmick <[hidden email]> wrote:
I have just started attempting to use Seaside, and I can't figure out how to get a new application added.  I create a subclass of WAComponent and have the canBeRoot method return true, but, when I try to create a new "Entry Point" the class isn't there to be a root component.  What am i doing?



--
David Zmick
/dz0004455\
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: need help

Ramon Leon-5
In reply to this post by David Zmick
>
> I have just started attempting to use Seaside, and I can't
> figure out how to get a new application added.  I create a
> subclass of WAComponent and have the canBeRoot method return
> true, but, when I try to create a new "Entry Point" the class
> isn't there to be a root component.  What am i doing?

You're probably not putting the canBeRoot on the class side of your
component.  You can also create your component programmatically with an
initialize method on the class side like so...

initialize
    "self initialize"
    self registerAsApplication: #myAppName

Then just highlight the self initialize in the comment and do it.  If you
load the code into a new image later from Monticello, it'll happen
automatically.

Ramon Leon
http://onsmalltalk.com

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside