Nope. It requires MarkupStream as its parameter and I seem to always get an exception when using for example getAssociatedMarkupStream as paramter.
** Martin 2012/2/27 Martin Grigorov <[email protected]>: > Hi, > > Use it as #add(), the only difference is that you have to add it for > each request (thus in #onBeforeRender() or onConfigure()) because it > is dropped automatically at the end of the request. > > On Sat, Feb 25, 2012 at 7:11 AM, Martin Makundi > <[email protected]> wrote: >>> if the component is stateless you can autoadd it in onbeforerender(), >>> such components are removed at the end of the request >> >> I tried to google for an example of using autoAdd, but did not find >> anything solid. >> >> How would this be used to have a component (for example a label) >> autoAdded so that it would dissolve itself before page serialization? >> >> ** >> Martin >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
