one thing we might try is to add an isvisible check to internalOnAttach() so that lsitview does not create children if it is not visible. johan what do you think?
Igor, the problem is that we need to make possible the call for setVisible(false), just like any other component... _after_ the component was printed out (for example, hidding a list view within an AjaxLink).
If this can't be done, ListView must be of other type except Component.
On 5/17/06, Igor Vaynberg
<[EMAIL PROTECTED]> wrote:
Sure, I know about that, but the way we code for other things like Label or TextField, it works, right? So, for ListView it should work too. It's a component just like other.-Igor
listview is very much different from ordinary components like label and textfield. listview is a repeater. repeaters have no markup of their own and they produce no markup.
the markup you assign to the listview using wicket:id the listview delegates to its children. the markup you see in the output generated by listview does not come from the listview itself, but from its children that render themselves.
one thing we might try is to add an isvisible check to internalOnAttach() so that lsitview does not create children if it is not visible. johan what do you think?
--
Bruno Borges
Summa Technologies
