wicket:enclosure does not get re-rendered

2010-02-25 Thread Anna Simbirtsev
Hi, I have fragment inside wicket:enclosure. When ajax submit takes place, it tries to re-render fragment, but does not succeed, since wicket:enclosure is still invisible, even though isVisible method returns true. div class=largeinput-required h2Password/h2 input

Re: wicket:enclosure does not get re-rendered

2010-02-25 Thread Igor Vaynberg
enclosures are a shortcut/convenience and do nto work for all scenarios. whenever the enclosure does not work you can use EnclosureContainer or simply a WebMarkupContainer. to repaint something via ajax that is initially invisible you need to call setoutputmarkupplacehodlertag(true) on it. -igor

Re: wicket:enclosure does not get re-rendered

2010-02-25 Thread Anna Simbirtsev
Thanks, its working now. On Thu, Feb 25, 2010 at 12:02 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: enclosures are a shortcut/convenience and do nto work for all scenarios. whenever the enclosure does not work you can use EnclosureContainer or simply a WebMarkupContainer. to repaint