> I'm trying to create a foldable box component - not unlike the quick > contacts and labels boxes in gmail. I want to render some markup around a > border's contents - particulary, an "open/close" link. So far, I've made it > toggle the value of Border.setBorderBodyVisible() and it works fine. > > But. I also want to skip the loading of the contents of borders, that are > initially rendered closed. I though the deal would be to just > borderBodyVisible to false and not to put any components in it at all, but > unfortunatelly wicket raises an exception that components with coresponding > names cannot be found in the hierarchy.
Only in development mode, is that correct? If you turn the hierarchy check off, it might work. > This was not the behavior I was > expecting, since after Component.setVisible(false) it doesn't check the > markup for matching components. Or just make sure the hierarchy does match, even if it's just with dummy components. They won't actualy be rendered anyway. Eelco ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user