How can i set the id of ui:repeat
Structure of my code is
Tabview
ui : repeat
dattable
column
checkbox
I am getting the id of checkbox as
tabViewId:0:j_idt45:0:dataTableId:0:checkBoxId
It contains 7 things which are
id of tabview
active tab
ui:repeat id
index of ui:repeat
id of dattable
row of dattable
id of checkbox
i want to assign id of ui:repeat so that it does not chooses it on its own.
How can i set the id of ui:repeat, say
repeatId
instead of j_idt45
You should try:
<ui:repeat id="repeatId" ...
(it is undocumented but it works in both Mojarra and MyFaces).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With