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: [email protected] Assunto: Re: How to get all the children of a MarkupContainer? 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 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 container called "a" held a >> nested >> container "b" which >> held a nested component "c", then a.get("b.c") would return the Component >> with id "c". ....." >> >> It said about *dotted* path with a clear example. And I used the dotted >> path. >> >> Now I find that the Component.PATH_SEPARATOR is used, which is ":". >> We have to use a.get(b:c") in the example. >> >> Can we confirm that the JavaDoc is updated in the next coming release of >> Wicket? >> >> Thanks, >> Valentine >> >> >> >> igor.vaynberg wrote: >>> >>> 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 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 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: >>>>>>>> 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. >>>>>>>> >>>>>>>> >>>>>>>> --------------------------------------------------------------------- >>>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> --------------------------------------------------------------------- >>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> View this message in context: >>>>>> http://www.nabble.com/How-to-get-all-the-children-of-a-MarkupContainer--tp20723938p20724471.html >>>>>> Sent from the Wicket - User mailing list archive at Nabble.com. >>>>>> >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>>> >>>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>> >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/How-to-get-all-the-children-of-a-MarkupContainer--tp20723938p20724656.html >>>> Sent from the Wicket - User mailing list archive at Nabble.com. >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/How-to-get-all-the-children-of-a-MarkupContainer--tp20723938p20738180.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/How-to-get-all-the-children-of-a-MarkupContainer--tp20723938p20739977.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] *************************************************************************************************** "Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) acima identificado(s), podendo conter informações e/ou documentos confidencias/privilegiados e seu sigilo é protegido por lei. Caso você tenha recebido por engano, por favor, informe o remetente e apague-a de seu sistema. Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, cópia ou uso sem expressa autorização do remetente. Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista da CETIP, o qual é divulgado somente por pessoas autorizadas." "Warning: This message was sent for exclusive use of the addressees above identified, possibly containing information and or privileged/confidential documents whose content is protected by law. In case you have mistakenly received it, please notify the sender and delete it from your system. Be noticed that the law forbids the retention, dissemination, distribution, copy or use without express authorization from the sender. Personal opinions of the sender do not necessarily reflect CETIP's point of view, which is only divulged by authorized personnel." *************************************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
