-
1. Re: Tree component ids, why double colons?
nbelaevski May 13, 2008 2:25 PM (in response to hanafey)Hello,
That is a feature that has been required to implement invokeOnComponent() properly. Client identifiers have changed that way since 3.2.0. You should better use getClientId() function to obtain client ids.
I looked through JSF specification and didn't find anything that prohibits usage of double colons in identifiers. -
2. Re: Tree component ids, why double colons?
hanafey May 14, 2008 7:22 AM (in response to hanafey)No problem, I was concerned that the double colon was just a bug and that in a future release it would go back to a single colon.
The other concern is that "::" implies an unnamed naming container, but if it works it is not a problem.
I was actually computing client ids of a new tree node so that focus could be set on it, so getClientId() does not apply. Also, client side JavaScript may also compute client ids, and so it is nice if they are consistent.