List Info

Thread: Duplicate component ID error?




Duplicate component ID error?
user name
2006-08-03 20:55:03
Hi,

I was just wondering whether anyone else's seen duplicate
ID errors 
(when NOT manually specifying ids) and if so, what is the
approach for 
dealing with these?

thanks
-nikita

Aug 3, 2006 1:51:49 PM
com.sun.faces.application.StateManagerImpl 
checkIdUniqueness
SEVERE: JSF1007: Duplicate component ID j_id6:j_id61 found
in view.
Aug 3, 2006 1:51:49 PM com.sun.facelets.FaceletViewHandler 
handleRenderException
SEVERE: Error Rendering View[/pages/register.xhtml]
java.lang.IllegalStateException: Component ID j_id6:j_id61
has already 
been found in the view.  See
below for details.

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net

Duplicate component ID error?
user name
2006-08-04 01:28:37
Hello!

	I saw something similar with Facelets 1.1.11, MyFaces-1.3
& s:subForm. 
But haven't dig deep.

Nikita Tovstoles wrote:
> Hi,
> 
> I was just wondering whether anyone else's seen
duplicate ID errors 
> (when NOT manually specifying ids) and if so, what is
the approach for 
> dealing with these?
> 
> thanks
> -nikita
> 
> Aug 3, 2006 1:51:49 PM
com.sun.faces.application.StateManagerImpl 
> checkIdUniqueness
> SEVERE: JSF1007: Duplicate component ID j_id6:j_id61
found in view.
> Aug 3, 2006 1:51:49 PM
com.sun.facelets.FaceletViewHandler 
> handleRenderException
> SEVERE: Error Rendering View[/pages/register.xhtml]
> java.lang.IllegalStateException: Component ID
j_id6:j_id61 has already 
> been found in the view.  See
> below for details.
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
> For additional commands, e-mail: users-helpfacelets.dev.java.net
> 
> 
With respect,
	Boris

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net

Duplicate component ID error?
user name
2006-08-04 15:44:48
Did your problem involve <f:selectItems>?

Mine did, I posted a workaround here:

http://forum.java.sun.com/thread.jspa?forum
ID=427&threadID=757751

-nikita

Boris Kovalenko wrote:
> Hello!
>
>     I saw something similar with Facelets 1.1.11,
MyFaces-1.3 & 
> s:subForm. But haven't dig deep.
>
> Nikita Tovstoles wrote:
>> Hi,
>>
>> I was just wondering whether anyone else's seen
duplicate ID errors 
>> (when NOT manually specifying ids) and if so, what
is the approach 
>> for dealing with these?
>>
>> thanks
>> -nikita
>>
>> Aug 3, 2006 1:51:49 PM
com.sun.faces.application.StateManagerImpl 
>> checkIdUniqueness
>> SEVERE: JSF1007: Duplicate component ID
j_id6:j_id61 found in view.
>> Aug 3, 2006 1:51:49 PM
com.sun.facelets.FaceletViewHandler 
>> handleRenderException
>> SEVERE: Error Rendering View[/pages/register.xhtml]
>> java.lang.IllegalStateException: Component ID
j_id6:j_id61 has 
>> already been found in the view.  See
>> below for details.
>>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
>> For additional commands, e-mail: users-helpfacelets.dev.java.net
>>
>>
> With respect,
>     Boris
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
> For additional commands, e-mail: users-helpfacelets.dev.java.net
>

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net

Duplicate component ID error?
user name
2006-08-05 04:48:31
Hello!

	My problem is related to t:column and h:outputText inside.
Yes, 
assigning id to t:column manually solves my problem and that
is the case 
I haven't dig deep yet. But of course, this is annoying bug
and should 
be avoided.

Nikita Tovstoles wrote:
> Did your problem involve <f:selectItems>?
> 
> Mine did, I posted a workaround here:
> 
> http://forum.java.sun.com/thread.jspa?forum
ID=427&threadID=757751
> 
> -nikita
> 
> Boris Kovalenko wrote:
> 
>> Hello!
>>
>>     I saw something similar with Facelets 1.1.11,
MyFaces-1.3 & 
>> s:subForm. But haven't dig deep.
>>
>> Nikita Tovstoles wrote:
>>
>>> Hi,
>>>
>>> I was just wondering whether anyone else's
seen duplicate ID errors 
>>> (when NOT manually specifying ids) and if so,
what is the approach 
>>> for dealing with these?
>>>
>>> thanks
>>> -nikita
>>>
>>> Aug 3, 2006 1:51:49 PM
com.sun.faces.application.StateManagerImpl 
>>> checkIdUniqueness
>>> SEVERE: JSF1007: Duplicate component ID
j_id6:j_id61 found in view.
>>> Aug 3, 2006 1:51:49 PM
com.sun.facelets.FaceletViewHandler 
>>> handleRenderException
>>> SEVERE: Error Rendering
View[/pages/register.xhtml]
>>> java.lang.IllegalStateException: Component ID
j_id6:j_id61 has 
>>> already been found in the view.  See
>>> below for details.
>>>
>>>
------------------------------------------------------------
---------
>>> To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
>>> For additional commands, e-mail: users-helpfacelets.dev.java.net
>>>
>>>
>> With respect,
>>     Boris
>>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
>> For additional commands, e-mail: users-helpfacelets.dev.java.net
>>
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
> For additional commands, e-mail: users-helpfacelets.dev.java.net
> 
> 
With respect,
	Boris

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net

Duplicate component ID error?
user name
2006-08-08 07:17:27
Boris Kovalenko wrote:
> Hello!
>
>     My problem is related to t:column and h:outputText
inside. Yes, 
> assigning id to t:column manually solves my problem and
that is the 
> case I haven't dig deep yet. But of course, this is
annoying bug and 
> should be avoided.
>
JSF 1.2_01 has fixed several duplicateID bugs.
https://javaserverfaces.dev.java.net/non
av/rlnotes/1.2_01/changelog.html

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net

Duplicate component ID error?
user name
2006-08-08 08:03:15
Hello!

    Thank You, but we are talking about MyFaces
implementation. Of 
course, I'll try to point MyFaces developers to this page!
> Boris Kovalenko wrote:
>> Hello!
>>
>>     My problem is related to t:column and
h:outputText inside. Yes, 
>> assigning id to t:column manually solves my problem
and that is the 
>> case I haven't dig deep yet. But of course, this
is annoying bug and 
>> should be avoided.
>>
> JSF 1.2_01 has fixed several duplicateID bugs.
> https://javaserverfaces.dev.java.net/non
av/rlnotes/1.2_01/changelog.html
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
> For additional commands, e-mail: users-helpfacelets.dev.java.net
>
>
With respect,
    Boris

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net

Duplicate component ID error?
user name
2006-08-08 17:07:52
Actually my initial post did refer to RI 1.2_01. I *was*
using that 
release when the problem exhibited itself. I'm afraid it is
a bug in 
1.2_01 FCS

-nikita

Boris Kovalenko wrote:
> Hello!
>
>    Thank You, but we are talking about MyFaces
implementation. Of 
> course, I'll try to point MyFaces developers to this
page!
>> Boris Kovalenko wrote:
>>> Hello!
>>>
>>>     My problem is related to t:column and
h:outputText inside. Yes, 
>>> assigning id to t:column manually solves my
problem and that is the 
>>> case I haven't dig deep yet. But of course,
this is annoying bug and 
>>> should be avoided.
>>>
>> JSF 1.2_01 has fixed several duplicateID bugs.
>> https://javaserverfaces.dev.java.net/non
av/rlnotes/1.2_01/changelog.html
>>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
>> For additional commands, e-mail: users-helpfacelets.dev.java.net
>>
>>
> With respect,
>    Boris
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
> For additional commands, e-mail: users-helpfacelets.dev.java.net
>

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net

Duplicate component ID error?
user name
2006-08-09 03:52:46
Nikita Tovstoles wrote:
Hello!

    Oops, sorry  My
mistake... I use MyFaces and talked about it.
> Actually my initial post did refer to RI 1.2_01. I
*was* using that 
> release when the problem exhibited itself. I'm afraid
it is a bug in 
> 1.2_01 FCS
>
> -nikita
>
> Boris Kovalenko wrote:
>> Hello!
>>
>>    Thank You, but we are talking about MyFaces
implementation. Of 
>> course, I'll try to point MyFaces developers to
this page!
>>> Boris Kovalenko wrote:
>>>> Hello!
>>>>
>>>>     My problem is related to t:column and
h:outputText inside. Yes, 
>>>> assigning id to t:column manually solves my
problem and that is the 
>>>> case I haven't dig deep yet. But of
course, this is annoying bug 
>>>> and should be avoided.
>>>>
>>> JSF 1.2_01 has fixed several duplicateID bugs.
>>> https://javaserverfaces.dev.java.net/non
av/rlnotes/1.2_01/changelog.html 
>>>
>>>
>>>
------------------------------------------------------------
---------
>>> To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
>>> For additional commands, e-mail: users-helpfacelets.dev.java.net
>>>
>>>
>> With respect,
>>    Boris
>>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
>> For additional commands, e-mail: users-helpfacelets.dev.java.net
>>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
> For additional commands, e-mail: users-helpfacelets.dev.java.net
>
>
With respect,
    Boris

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net

Duplicate component ID error?
user name
2006-10-23 21:59:50
Sorry to revive this thread... 

I'm using the latest Facelets 1.1.11, and latest JSF 1.2_02,
and after
switching state saving method from client to server, I've
got tons of
duplicate ID.

I've got duplicate ID of h:outputText inside h:panelGroups,
and
f:selectItems inside components, and many other
combinations.

I've tried to hack a few ID's manually, but they're so many
I've
switched back to client state saving.

JSF bug? Facelets bug? Both? HELP!

-----Original Message-----
From: Boris Kovalenko [mailto:boristagnet.ru] 
Sent: quarta-feira, 9 de Agosto de 2006 4:53
To: usersfacelets.dev.java.net
Subject: Re: Duplicate component ID error?

Nikita Tovstoles wrote:
Hello!

    Oops, sorry  My
mistake... I use MyFaces and talked about it.
> Actually my initial post did refer to RI 1.2_01. I
*was* using that 
> release when the problem exhibited itself. I'm afraid
it is a bug in 
> 1.2_01 FCS
>
> -nikita
>
> Boris Kovalenko wrote:
>> Hello!
>>
>>    Thank You, but we are talking about MyFaces
implementation. Of 
>> course, I'll try to point MyFaces developers to
this page!
>>> Boris Kovalenko wrote:
>>>> Hello!
>>>>
>>>>     My problem is related to t:column and
h:outputText inside. Yes,

>>>> assigning id to t:column manually solves my
problem and that is the

>>>> case I haven't dig deep yet. But of course,
this is annoying bug 
>>>> and should be avoided.
>>>>
>>> JSF 1.2_01 has fixed several duplicateID bugs.
>>>
https://javaserverfaces.dev.java.net/non
av/rlnotes/1.2_01/changelog.html

>>>
>>>
>>>
------------------------------------------------------------
---------
>>> To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
>>> For additional commands, e-mail: users-helpfacelets.dev.java.net
>>>
>>>
>> With respect,
>>    Boris
>>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
>> For additional commands, e-mail: users-helpfacelets.dev.java.net
>>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
> For additional commands, e-mail: users-helpfacelets.dev.java.net
>
>
With respect,
    Boris

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net 
 
*Disclaimer
Deloitte refers to one or more of Deloitte Touche Tohmatsu,
a Swiss Verein, its member firms, and their respective
subsidiaries and affiliates.  As a Swiss Verein
(association), neither Deloitte Touche Tohmatsu nor any of
its member firms has any liability for each other's acts or
omissions.  Each of the member firms is a separate and
independent legal entity operating under the names
"Deloitte," "Deloitte & Touche,"
"Deloitte Touche Tohmatsu," or other related
names.  Services are provided by the member firms or their
subsidiaries or affiliates and not by the Deloitte Touche
Tohmatsu Verein.
Privileged/Confidential Information may be contained in this
message. If you are not the addressee indicated in this
message (or responsible for delivery of the message to such
person), you may not copy or deliver this message to anyone.
In such case, you should destroy this message and kindly
notify the sender by reply email. Please advise immediately
if you or your employer do not consent to Internet email for
messages of this kind. Opinions, conclusions and other
information in this message that do not relate to the
official business of my firm shall be understood as neither
given nor endorsed by it.

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net

Duplicate component ID error?
user name
2006-10-23 22:11:32
pretty sure in case f:selectItems it is a jsf bug. I've encountered it before and always manually assign ids for that particular tag ;-

-nikita

Freire, Jose Luis (PT - Lisbon) wrote:
ptlis0410.atrema.deloitte.com" type="cite">
Sorry to revive this thread... 

I'm using the latest Facelets 1.1.11, and latest JSF 1.2_02, and after
switching state saving method from client to server, I've got tons of
duplicate ID.

I've got duplicate ID of h:outputText inside h:panelGroups, and
f:selectItems inside components, and many other combinations.

I've tried to hack a few ID's manually, but they're so many I've
switched back to client state saving.

JSF bug? Facelets bug? Both? HELP!

-----Original Message-----
From: Boris Kovalenko [tagnet.ru">mailto:boristagnet.ru] 
Sent: quarta-feira, 9 de Agosto de 2006 4:53
To: facelets.dev.java.net">usersfacelets.dev.java.net
Subject: Re: Duplicate component ID error?

Nikita Tovstoles wrote:
Hello!

    Oops, sorry  My mistake... I use MyFaces and talked about it.
  
Actually my initial post did refer to RI 1.2_01. I *was* using that 
release when the problem exhibited itself. I'm afraid it is a bug in 
1.2_01 FCS

-nikita

Boris Kovalenko wrote:
    
Hello!

   Thank You, but we are talking about MyFaces implementation. Of 
course, I'll try to point MyFaces developers to this page!
      
Boris Kovalenko wrote:
        
Hello!

    My problem is related to t:column and h:outputText inside. Yes,
          

  
assigning id to t:column manually solves my problem and that is the
          

  
case I haven't dig deep yet. But of course, this is annoying bug 
and should be avoided.

          
JSF 1.2_01 has fixed several duplicateID bugs.

        
https://javaserverfaces.dev.java.net/nonav/rlnotes/1.2_01/changelog.html

  

        
---------------------------------------------------------------------
  
To unsubscribe, e-mail: facelets.dev.java.net">users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: facelets.dev.java.net">users-helpfacelets.dev.java.net


        
With respect,
   Boris

---------------------------------------------------------------------
To unsubscribe, e-mail: facelets.dev.java.net">users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: facelets.dev.java.net">users-helpfacelets.dev.java.net

      
---------------------------------------------------------------------
To unsubscribe, e-mail: facelets.dev.java.net">users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: facelets.dev.java.net">users-helpfacelets.dev.java.net


    
With respect,
    Boris

---------------------------------------------------------------------
To unsubscribe, e-mail: facelets.dev.java.net">users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: facelets.dev.java.net">users-helpfacelets.dev.java.net 
 
*Disclaimer
Deloitte refers to one or more of Deloitte Touche Tohmatsu, a Swiss Verein, its member firms, and their respective subsidiaries and affiliates.  As a Swiss Verein (association), neither Deloitte Touche Tohmatsu nor any of its member firms has any liability for each other's acts or omissions.  Each of the member firms is a separate and independent legal entity operating under the names "Deloitte," "Deloitte & Touche," "Deloitte Touche Tohmatsu," or other related names.  Services are provided by the member firms or their subsidiaries or affiliates and not by the Deloitte Touche Tohmatsu Verein.
Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of my firm shall be understood as neither given nor endorsed by it.

---------------------------------------------------------------------
To unsubscribe, e-mail: facelets.dev.java.net">users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: facelets.dev.java.net">users-helpfacelets.dev.java.net

  

[1-10]

about | contact  Other archives ( Real Estate discussion Medical topics )