Answers inline. On 9/13/05, Michael Jenik <[EMAIL PROTECTED]> wrote: > 2)I gess it is in this way but, are boths page and > dataModel are managed beans delcared in a > faces-config.xml file?
Yes, they're just placeholders for whatever backing beans you want to use. > 3)Is there any way of get the reference to UIcomponent > (or the value of > <optionalRelatedComponentReference>.getClientId(facesContext) > ) without using a "binding to page-bean objects" way? There's a UIComponent.findComponent method, but why would you not want to use the binding attribute? That's what it's there for. findComponent() is generally used to find find one component relative to another one. findComponent will also require that you hardcode your form ids into your java code. > 4) > Does this returns the id of the UIcomponent tag > :<optionalRelatedComponentReference>.getClientId(facesContext) > ?? It returns the client Id which isn't quite the same thing as the id. I believe the clientId is the fully-qualified version of the id that takes into account all NamingContainers above it. (For example, "myForm:myId." However, this is guesswork on my part -- you'll have to research it yourself if it's important to you.

