[Seaside] jQuery html rendering

Julian Fitzell jfitzell at gmail.com
Sun Jul 12 07:22:03 UTC 2009

Components are persistent objects. You can't create them on the fly as
throw-aways (in particular they need to be returned from your
#children method). See the recent discussion about components,
painters, and renderable objects on this list.

You either need to create the component earlier and store it somewhere
or not use a component here (if you don't need the object to persist,
you don't need a component).


On Sun, Jul 12, 2009 at 12:25 AM, Robert Sirois<watchlala at hotmail.com> wrote:
> clickFunctionNew: html
>         ^((html jQuery: '#newArea') html: [:r | r render:
> ((RPSSSurveyItemComponent new) newInputOn: self inputType; yourself)]).
> Could someone please explain to me why this does not work? If I replace the
> class 'RPSSSurveyItemComponent' with some like a string 'blah', it runs
> fine. Am I to understand that I cannot render components (the aforementioned
> class is a WAComponent subclass with the proper 'renderContentOn:' method)
> like a can do with standard Seaside callbacks?
> Thanks!
> RS
> ________________________________
> Windows Live™: Keep your life in sync. Check it out.
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the seaside mailing list