Hey everybody,
Got a nasty little problem that I'm not sure what the best way to go
about solving it is. I've got a page with a couple of dataTables and a
couple of forms on it. One form and dataTable is for one type of object
and the other form and dataTable are for another type of object. The
forms are for adding new instances.
The problem I'm running into is that after adding an instance of either
type I get these exceptions:
javax.faces.FacesException: cannot add component with id '_id55' and
path : {Component-Path : [Class:
javax.faces.component.html.HtmlOutputText,Id: _id55]} to its parent
component. This might be a problem due to duplicate ids.
On most of the elements I'm just letting myfaces generate the ids, so
I'm not sure how this is happening. If I just goto the url directly
after doing the add it works fine and the new entries are shown.
What's the best way to track down what is actually causing this? Should
I just start giving ids to all my jsf elements or what?
Thanks,
Rich
- Tracking down duplicate ids Richard Wallace
-