Re: setting visibility of a component "decocorated" with a behavior
cheers -igor On Mon, Feb 17, 2014 at 1:53 PM, Simon B wrote: > Igor, > > Incidentally the javadoc on that interface is awesome, thanks for taking the > time to make it so easily readable and understandable. > > Cheers > Simon > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/setting-visibility-of-a-component-decocorated-with-a-behavior-tp4664511p4664520.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: setting visibility of a component "decocorated" with a behavior
Igor, Incidentally the javadoc on that interface is awesome, thanks for taking the time to make it so easily readable and understandable. Cheers Simon -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/setting-visibility-of-a-component-decocorated-with-a-behavior-tp4664511p4664520.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: setting visibility of a component "decocorated" with a behavior
Hi Igor, Wow, that is *exactly* what I wanted, just tried it and it worked perfectly. Thank you Simon -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/setting-visibility-of-a-component-decocorated-with-a-behavior-tp4664511p4664518.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: setting visibility of a component "decocorated" with a behavior
see IAjaxRegionMarkupIdProvider -igor On Mon, Feb 17, 2014 at 7:37 AM, Simon B wrote: > Hi, > > I have a behavior that "decorates" the component that it is added to by > using beforeRender(Component) and afterRender(Component). > > So a simplified version of my behavior would be > > > > I wish for the visibility of the surrounding html that is written to be > driven by the visibility of the component that it "wraps" including when the > component that it wraps is sent to the client in an AjaxRequestTarget. > > What would be the best way to do this? > > Any suggestions very much appreciated. > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/setting-visibility-of-a-component-decocorated-with-a-behavior-tp4664511.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
setting visibility of a component "decocorated" with a behavior
Hi, I have a behavior that "decorates" the component that it is added to by using beforeRender(Component) and afterRender(Component). So a simplified version of my behavior would be I wish for the visibility of the surrounding html that is written to be driven by the visibility of the component that it "wraps" including when the component that it wraps is sent to the client in an AjaxRequestTarget. What would be the best way to do this? Any suggestions very much appreciated. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/setting-visibility-of-a-component-decocorated-with-a-behavior-tp4664511.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org