ajax child component and enclosures visibility doesn't seem to work properly

2014-02-21 Thread Simon B
Hi, I'm using wicket 6.13. I've got an ajax link that I want to toggle the visibility of two components, each component is nested with an html div with a wicket:enclosure attribute. In my WebPage when the AjaxLink is clicked I add the components to the AjaxRequestTarget but not the div

Re: ajax child component and enclosures visibility doesn't seem to work properly

2014-02-21 Thread Igor Vaynberg
that only works on inline enclosure - enclosures that do not use wicket:enclosure tags. -igor On Fri, Feb 21, 2014 at 5:37 AM, Simon B simon.bott...@gmail.com wrote: Hi, I'm using wicket 6.13. I've got an ajax link that I want to toggle the visibility of two components, each component is

Re: ajax child component and enclosures visibility doesn't seem to work properly

2014-02-21 Thread Simon B
Hi Igor, Thanks for the reply. I'm a bit confused, the markup that I'm using (and that I posted originally) does have inline enclosure attributes: I understand that by inline enclosure you mean an html tag with a wicket:enclosure=... attribute like: div wicket:enclosure=aChildId Is

Re: ajax child component and enclosures visibility doesn't seem to work properly

2014-02-21 Thread Igor Vaynberg
yes, thats what i mean. the markup you posted did not come through to the mailing list... -igor On Fri, Feb 21, 2014 at 7:48 AM, Simon B simon.bott...@gmail.com wrote: Hi Igor, Thanks for the reply. I'm a bit confused, the markup that I'm using (and that I posted originally) does have