Re: How to get all the children of a MarkupContainer?

2008-11-28 Thread Valentine2008
Hi Igor, I find it out! The reason I couldn't get a child using a string component path is because of the outdated JavaDoc sentences in MarkupContainer (Wicket 1.3.4): Children can be added by calling the add() method, and they can be looked up using a dotted path. For example, if a

Re: How to get all the children of a MarkupContainer?

2008-11-28 Thread Igor Vaynberg
open a jira issue and that way we can confirm. -igor On Fri, Nov 28, 2008 at 10:32 AM, Valentine2008 [EMAIL PROTECTED] wrote: Hi Igor, I find it out! The reason I couldn't get a child using a string component path is because of the outdated JavaDoc sentences in MarkupContainer (Wicket

Re: How to get all the children of a MarkupContainer?

2008-11-28 Thread Valentine2008
Where to open a jira issue? igor.vaynberg wrote: open a jira issue and that way we can confirm. -igor On Fri, Nov 28, 2008 at 10:32 AM, Valentine2008 [EMAIL PROTECTED] wrote: Hi Igor, I find it out! The reason I couldn't get a child using a string component path is because of

Re: How to get all the children of a MarkupContainer?

2008-11-28 Thread Bruno Cesar Borges
https://issues.apache.org/jira/browse/WICKET -Mensagem original- De: Valentine2008 [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 28 de novembro de 2008 18:12 Para: users@wicket.apache.org Assunto: Re: How to get all the children of a MarkupContainer? Where to open a jira issue?

Re: How to get all the children of a MarkupContainer?

2008-11-28 Thread Valentine2008
Created as WICKET-1963. - Valentine Bruno Cesar Borges wrote: https://issues.apache.org/jira/browse/WICKET -Mensagem original- De: Valentine2008 [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 28 de novembro de 2008 18:12 Para: users@wicket.apache.org Assunto: Re: How to

How to get all the children of a MarkupContainer?

2008-11-27 Thread Valentine2008
Use iterator(Comparator)? Or other ways? Thanks, Valentine -- View this message in context: http://www.nabble.com/How-to-get-all-the-children-of-a-MarkupContainer--tp20723938p20723938.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: How to get all the children of a MarkupContainer?

2008-11-27 Thread Igor Vaynberg
iterator() -igor On Thu, Nov 27, 2008 at 10:42 AM, Valentine2008 [EMAIL PROTECTED] wrote: Use iterator(Comparator)? Or other ways? Thanks, Valentine -- View this message in context: http://www.nabble.com/How-to-get-all-the-children-of-a-MarkupContainer--tp20723938p20723938.html Sent

Re: How to get all the children of a MarkupContainer?

2008-11-27 Thread Valentine2008
Can we get even the invisible children? Seems we cannot:-( igor.vaynberg wrote: iterator() -igor On Thu, Nov 27, 2008 at 10:42 AM, Valentine2008 [EMAIL PROTECTED] wrote: Use iterator(Comparator)? Or other ways? Thanks, Valentine -- View this message in context:

Re: How to get all the children of a MarkupContainer?

2008-11-27 Thread Igor Vaynberg
iterator() does not check visibility. -igor On Thu, Nov 27, 2008 at 11:24 AM, Valentine2008 [EMAIL PROTECTED] wrote: Can we get even the invisible children? Seems we cannot:-( igor.vaynberg wrote: iterator() -igor On Thu, Nov 27, 2008 at 10:42 AM, Valentine2008 [EMAIL PROTECTED]

Re: How to get all the children of a MarkupContainer?

2008-11-27 Thread Valentine2008
But Component.get(pathString) will check the visibility and will return null if the child is invisible. Right? Thanks, Valentine igor.vaynberg wrote: iterator() does not check visibility. -igor On Thu, Nov 27, 2008 at 11:24 AM, Valentine2008 [EMAIL PROTECTED] wrote: Can we get

Re: How to get all the children of a MarkupContainer?

2008-11-27 Thread Igor Vaynberg
no. why would it do that? visibility is a render-time condition, it has nothing to do with component hierarchy. -igor On Thu, Nov 27, 2008 at 12:01 PM, Valentine2008 [EMAIL PROTECTED] wrote: But Component.get(pathString) will check the visibility and will return null if the child is