Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JSF usage of id and name attributes

843844Jun 25 2009 — edited Jun 25 2009
I'm currently evaluating JSF1.2 for an upcoming project.
One thing that worries me is the fact that my HTML/CSS developers no longer set the "id" and "name" attributes in HTML-input tags.
Even though they mainly work with CSS classes for formatting, the element ID is still a valuable hook for them in certain cases.

For our established Selenium tests, it is as important to identify elements by ID. To me it seems like the id might even change across multiple deployments of the same application.

What's your experience with this? How is this supposed to work?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 23 2009
Added on Jun 25 2009
6 comments
351 views