Thanks for your answer!
That is, what I wanted to do, walk through all children. Now I found my mistake:
I used UIComponent.getChildren() in my recursive method and got the following components:
Level: 0 | validatorTest:form | Family: javax.faces.Form | Children: 8
Level: 1 | validatorTest:form:j_idt47 | Family: javax.faces.NamingContainer | Children: 0
Level: 1 | validatorTest:form:j_idt61 | Family: javax.faces.Output | Children: 0
Level: 1 | validatorTest:form:j_idt62 | Family: javax.faces.Command | Children: 0
Level: 1 | validatorTest:form:j_idt63 | Family: javax.faces.Output | Children: 0
...but I have to use UIComponent.getFacetsAndChildren() to get that deep I want to
Level: 0 | validatorTest:form | Family: javax.faces.Form | Children: 8 | Facets: 0
Level: 1 | validatorTest:form:j_idt47 | Family: javax.faces.NamingContainer | Children: 0 | Facets: 1
Level: 2 | validatorTest:form:j_idt47:j_id3 | Family: javax.faces.Panel | Children: 1 | Facets: 0
Level: 3 | validatorTest:form:j_idt47:j_idt48 | Family: javax.faces.NamingContainer | Children: 0 | Facets: 1
Level: 4 | validatorTest:form:j_idt47:j_idt48:j_id3 | Family: javax.faces.Panel | Children: 1 | Facets: 0
Level: 5 | validatorTest:form:j_idt47:j_idt48:j_idt49 | Family: javax.faces.Panel | Children: 4 | Facets: 0
Level: 6 | validatorTest:form:j_idt47:j_idt48:j_idt50 | Family: javax.faces.NamingContainer | Children: 0 | Facets: 1
Level: 7 | validatorTest:form:j_idt47:j_idt48:j_idt50:j_id3 | Family: javax.faces.Panel | Children: 1 | Facets: 0
Level: 8 | validatorTest:form:j_idt47:j_idt48:j_idt50:j_idt51 | Family: javax.faces.Column | Children: 1 | Facets: 0
Level: 9 | validatorTest:form:j_idt47:j_idt48:j_idt50:j_idt52 | Family: javax.faces.Output | Children: 0 | Facets: 0
Level: 6 | validatorTest:form:j_idt47:j_idt48:einString | Family: javax.faces.Input | Children: 0 | Facets: 0
Level: 1 | validatorTest:form:j_idt61 | Family: javax.faces.Output | Children: 0 | Facets: 0
Level: 1 | validatorTest:form:j_idt62 | Family: javax.faces.Command | Children: 0 | Facets: 0
Level: 1 | validatorTest:form:j_idt63 | Family: javax.faces.Output | Children: 0 | Facets: 0
and there it is, "einString", and my Validator can handle the input :)
Benjamin
___________________________________________________________
WEB.DE DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit
gratis Notebook-Flat!
http://produkte.web.de/go/DSL_Doppel_Flatrate/2