This content has been marked as final.
Show 1 reply
-
1. Re: Dynamically created component IDs
bgregory Aug 11, 2008 11:32 AM (in response to ptfp)If you assign an id="" to the h:commandLink, you'll notice that richfaces will make that id unique (if you look for the generated html in the "view source"). The tail end of the actual id for the link will be something like <table id>:<row key>:<link id> where the "row key" will be derrived from whatever richfaces thinks is the key for the particular row (and there may be a number of prefix items, but you only need a 'unique' tail end to find the component).
If you add id="linkid" h:commandLink in your example, the tail end of link id will probably be "myTable:rowkey:linkid".