ajax child component and enclosures visibility doesn't seem to work properly
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 wicket:enclosure elements. WebPage code: Looking at this post I understand that I shouldn't need to add the element that has the wicket:enclosure attribute. Simplified visibility control of Enclosures in Ajax requests - https://issues.apache.org/jira/browse/WICKET-3422 Does any one have any suggestions as to why this isn't working? Any help greatly appreciated -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ajax-child-component-and-enclosures-visibility-doesn-t-seem-to-work-properly-tp4664606.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: ajax child component and enclosures visibility doesn't seem to work properly
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 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 wicket:enclosure elements. WebPage code: Looking at this post I understand that I shouldn't need to add the element that has the wicket:enclosure attribute. Simplified visibility control of Enclosures in Ajax requests - https://issues.apache.org/jira/browse/WICKET-3422 Does any one have any suggestions as to why this isn't working? Any help greatly appreciated -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ajax-child-component-and-enclosures-visibility-doesn-t-seem-to-work-properly-tp4664606.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: ajax child component and enclosures visibility doesn't seem to work properly
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 that correct, or am I misunderstanding? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ajax-child-component-and-enclosures-visibility-doesn-t-seem-to-work-properly-tp4664606p4664615.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: ajax child component and enclosures visibility doesn't seem to work properly
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 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 that correct, or am I misunderstanding? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ajax-child-component-and-enclosures-visibility-doesn-t-seem-to-work-properly-tp4664606p4664615.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