You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Ron Schultz <rc...@gmail.com> on 2006/06/02 15:09:25 UTC
Re: Client-id : ... is duplicated in the faces tree.
octoberdan <dan <at> october5th.net> writes:
>
>
> Figured it out! This happens if I've changed the structure of the jsf page
> and reviewed it without restarting the users session... weird... anyone?
> --
> View this message in context: http://www.nabble.com/Client-id+%
3A+...+is+duplicated+in+the+faces+tree.-t1712357.html#a4649744
> Sent from the MyFaces - Users forum at Nabble.com.
>
>
I am using BEA Workshop for editing my JSF and I am seeing the exact same
circumstance in testing newly edited datables. I am restarting Tomcat but I am
still getting these errors. How are you restarting the user's session?
Re: Client-id : ... is duplicated in the faces tree.
Posted by Jeff Bischoff <jb...@klkurz.com>.
I ran into this situation on a couple of my pages that had <c:choose>
statements on them.
The solution for me was to put the same number of JSF components in each
of the <c:when> clauses. So if one clause really needed a JSF tag, and
the other did not, I just added a <h:outputText> to output the empty
string in the second clause. This way, the clauses all have the same
number of JSF components, and the components that come *after* them on
the page get the same spots on the component tree.
I also had to make sure that all of my components in <c:when> clauses
had explicitly assigned ids, not auto.
This lets me change the structure of the page and redisplay it all I
want, without navigating elsewhere. I have been using this workaround
for months, without any further problems.
Don't know if this applies to the page restructuring you are doing, but
I hope it helps.
Regards,
Jeff Bischoff
Kenneth L Kurz & Assoc, Inc.
octoberdan wrote:
> Actually, all you need is to navigate away from the page and then back to the
> page.
> --
> View this message in context: http://www.nabble.com/Client-id-%3A-...-is-duplicated-in-the-faces-tree.-t1712357.html#a4684867
> Sent from the MyFaces - Users forum at Nabble.com.
>
>
>
>
Re: Client-id : ... is duplicated in the faces tree.
Posted by octoberdan <da...@october5th.net>.
Actually, all you need is to navigate away from the page and then back to the
page.
--
View this message in context: http://www.nabble.com/Client-id-%3A-...-is-duplicated-in-the-faces-tree.-t1712357.html#a4684867
Sent from the MyFaces - Users forum at Nabble.com.