JSF usage of id and name attributes
843844Jun 25 2009 — edited Jun 25 2009I'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?