I'm using the following code:
<p:inputText label="Bezeichnung"
required="#{param['form_inhalt:artikeldatatable[0]:entfernen']==null}"
value="#{artikeldata.bezeichung}"></p:inputText>
I need to access all IDs in this 'artikeldatatable'. How I'm able to do this? It should return false if any button in the table is activated. This works fine with one button [0] but I need to check all buttons in the ID-Array.
#param['form_inhalt:artikeldatatable:0:entfernen']==nullANDparam['form_inhalt:artikeldatatable:1:entfernen']==null}
Is there a way to check the whole array?
Basically I'm searching for a wildcard like * for all IDs from
param['form_inhalt:artikeldatatable:0:entfernen']
to param['form_inhalt:artikeldatatable:99999:entfernen']
Or do I have to write a java script function which iterates to the array and returns true?
If so, how can I access #{param... stuff via Javascript?
Thank you very much!