Topic
No replies
mhillesheim
mhillesheim
1 Post
ACCEPTED ANSWER

Pinned topic JSF: WAS 6.1 to 7.0 not generating hx:commandExRowAction links

‏2012-04-05T17:35:53Z |
Hello,
I have a datatable that is inside of an iterator. Inside my datatable, I have hx:commandExRowAction to generate clickable links, which are serviced in my backing beans. Only the first iteration is generating links while all additional datatables will not have any row actions attached.

If I look at the javascript, which is auto generated after the page loads here is what I get. Notice the iterator count is being correctly generated in 6.1 but not in 7.0:

6.1:
hX_6.addBehavior(hX_6.getParentIdByType("myform:myIterator:0:myDatatable:0:myRowAction","TR"),"onclick",new hX_6.JSFBehaviorRowAction("input-id:myform:myIterator:0:myDatatable:0:myRowAction__hidden_action","input-value:true"));
7.0:
hX_6.addBehavior(hX_6.getParentIdByType("myform:myIterator:myDatatable:0:myRowAction","TR"),"onclick",new hX_6.JSFBehaviorRowAction("input-id:myform:myIterator:myDatatable:0:myRowAction__hidden_action","input-value:true"));

Anybody know how to fix this?