Re: Wicket:enclosure does not work with navigation toolbar of data table

2009-03-19 Thread Leszek Gawron
Robin Shine wrote: Hi All, It seems that the navigation toolbar of data table component can not be displayed if there is a link on the page surrounded with the wicket:enclosure tag. Here is my very simple test case: TestPage.html: html xmlns=http://www.w3.org/1999/xhtml; head meta

Re: Wicket:enclosure does not work with navigation toolbar of data table

2009-03-19 Thread Anton Veretennikov
wicket:enclosure must have child attribute to know which child component to ask about visibility? Example: wicket:enclosure child=name trthFirst/thtd wicket:id=first/td/tr trthLast/thtd wicket:id=last/td/tr /wicket:enclosure -- Tony On Thu, Mar 19, 2009

Re: Wicket:enclosure does not work with navigation toolbar of data table

2009-03-19 Thread Robin Shine
Thanks for the answer. This is just a simple test case to demonstrate the problem. In the real case, I have surrounding tags around the link, which needs to be hidden as long as the link is hidden. I will go to file an issue. Regards Robin --- On Thu, 3/19/09, Leszek Gawron

Re: Wicket:enclosure does not work with navigation toolbar of data table

2009-03-19 Thread Robin Shine
Hi Anton, The enclosure tag does not need to have a child attribute if there is only one child enclosed. OTOH, the problem remains the same even if you add the child attribute. Regards Robin --- On Thu, 3/19/09, Anton Veretennikov anton.veretenni...@gmail.com wrote: From: Anton

Re: Wicket:enclosure does not work with navigation toolbar of data table

2009-03-19 Thread Anton Veretennikov
Thank you for the tip! I thought that wicket was confused what to hide. -- Tony On Fri, Mar 20, 2009 at 7:19 AM, Robin Shine ro...@pmease.com wrote: Hi Anton, The enclosure tag does not need to have a child attribute if there is only one child enclosed. OTOH, the problem remains the same