> Is it possible to find out which component
> in the ViewRoot I am currently working with?
What do you mean, which component you're working with?
Perhaps you're really asking a binding question, i.e. what UI component
is my particular backing bean member populated from or somesuch. For
this, you add a UIComponent member (with appropriate getter/setter) then
use the [binding="#{mybean.component}"] in your jsf tag. This way your
backing bean has direct access to the component that is bound to a
field.
If you're asking a question about custom component development and
'where in the tree am I?', this info is available by existing inherited
methods for retrieving the parent component, you can repeatedly call
this until you get to the root.
If neither of these are really the question you were asking, well it
would be a reflection of the ambiguity in the original post...