Re: General JSF Question regarding duplicate component ID

2007-09-27 Thread Martin Marinschek
Hi CD, Volker,

in MyFaces this isn't necessary anymore - and hasn't been for over a
year. If you are using Facelets, though - there is a bug in Facelets
with Facets handling (so with unique ids of components in Facets),
which has only been resolved after the last production release (so
1.11. doesn't have it in).

regards,

Martin

On 9/26/07, CD [EMAIL PROTECTED] wrote:
 Thanks for replying Volker.

 I do use the JSF tags to create said components (which is why I am confused
 as to why this occurs).  Any other thoughts?



 On 9/26/07, Volker Weber [EMAIL PROTECTED] wrote:
  Hi,
 
  you MUST assign a unique id to all components created by your
  application code, e.g.: all componets which are not created by the
  framework via jsf tags.
 
  And (according to my experience) you should not use createUniqueId()
  of UIViewRoot.
 
 
  Regards,
 Volker
 
 
  2007/9/25, CD  [EMAIL PROTECTED]:
   Hi All,
  
   I seem to get a occasional incident in my application where I receive a
 500
   error stating that a duplicate component id was found in the view.
 Would
   anyone like to share a common pattern that is utilized to ensure that
 this
   does not occur?  Any other tips would be helpful as well.
  
   Thanks!
  
   CD
 




-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: General JSF Question regarding duplicate component ID

2007-09-26 Thread Volker Weber
Hi,

you MUST assign a unique id to all components created by your
application code, e.g.: all componets which are not created by the
framework via jsf tags.

And (according to my experience) you should not use createUniqueId()
of UIViewRoot.


Regards,
Volker


2007/9/25, CD [EMAIL PROTECTED]:
 Hi All,

 I seem to get a occasional incident in my application where I receive a 500
 error stating that a duplicate component id was found in the view.  Would
 anyone like to share a common pattern that is utilized to ensure that this
 does not occur?  Any other tips would be helpful as well.

 Thanks!

 CD


Re: General JSF Question regarding duplicate component ID

2007-09-26 Thread CD
Thanks for replying Volker.

I do use the JSF tags to create said components (which is why I am confused
as to why this occurs).  Any other thoughts?


On 9/26/07, Volker Weber [EMAIL PROTECTED] wrote:

 Hi,

 you MUST assign a unique id to all components created by your
 application code, e.g.: all componets which are not created by the
 framework via jsf tags.

 And (according to my experience) you should not use createUniqueId()
 of UIViewRoot.


 Regards,
Volker


 2007/9/25, CD [EMAIL PROTECTED]:
  Hi All,
 
  I seem to get a occasional incident in my application where I receive a
 500
  error stating that a duplicate component id was found in the
 view.  Would
  anyone like to share a common pattern that is utilized to ensure that
 this
  does not occur?  Any other tips would be helpful as well.
 
  Thanks!
 
  CD



General JSF Question regarding duplicate component ID

2007-09-25 Thread CD
Hi All,

I seem to get a occasional incident in my application where I receive a 500
error stating that a duplicate component id was found in the view.  Would
anyone like to share a common pattern that is utilized to ensure that this
does not occur?  Any other tips would be helpful as well.

Thanks!

CD