myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Bischoff <>
Subject Re: Question about inputText ID attributes
Date Mon, 04 Dec 2006 22:03:16 GMT

Negative: You need to make sure these manually-set IDs are unique within 
their naming-container.

Positive: If you use the default validation messages, they can be much 
more meaningful in combination with a useful id.

Bottom Line: Proper use of subviews should allow you to implement this 
without a hitch.


Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

Mick Knutson wrote:
> I have dozens of form elements like this:
> <h:inputText           disabled="true"  style="background-color: #D3D3D3 "
> />
> That do not have id's for them.
> The form is existing and works right now.
> My question is, what issues should I look for if I want to add ID's to 
> these
> elements in order to clean up my JSP's?

View raw message