[aida] Using WebComponent for input objects

Rob Rothwell r.j.rothwell at gmail.com
Sun Jul 6 15:59:29 CEST 2008

On Sun, Jul 6, 2008 at 9:34 AM, Janko Mivšek <janko.mivsek at eranova.si>

> WebComponent is meant to be used for more complex, standalone, ajaxified
> components and not elements as simple as radio button is.
> About #build method: it is used to build a component, but of course someone
> must call it. It can be called from #initialize, from #printWebPageFor: or
> even #printHTMLPageOn:for: .
> When it is called depends on how late you'd like to build a component.
> Sometimes it is good to be build as early as possible, sometimes there are
> needs to build as late as possible, that is just before the component is
> rendered to the HTML.
> It can also be called from Ajax calls to rebuild the component and that was
> the main reason it is implemented as separate #build method and not in
> #prinWwebPageFor: as usual.

Thanks for the explanation!  I don't think I'm quite ready yet to build
"more complex, standalone, ajaxified components!"

I was just trying to create a group of radio buttons, and originally thought
of that as "more" than an "Element," so I thought a "Component" might be the
right thing!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aidaweb.si/pipermail/aida/attachments/20080706/6740edb0/attachment.htm 

More information about the Aida mailing list