javascript - Expression Language - how to access whole array? -
i'm using following code:
<p:inputtext label="bezeichnung" required="#{param['form_inhalt:artikeldatatable[0]:entfernen']==null}" value="#{artikeldata.bezeichung}"></p:inputtext>
i need access ids in 'artikeldatatable'. how i'm able this? should return false if button in table activated. works fine 1 button [0] need check buttons in id-array.
#param['form_inhalt:artikeldatatable:0:entfernen']==nullandparam['form_inhalt:artikeldatatable:1:entfernen']==null}
is there way check whole array?
basically i'm searching wildcard * ids from
param['form_inhalt:artikeldatatable:0:entfernen']
to param['form_inhalt:artikeldatatable:99999:entfernen']
or have write java script function iterates array , returns true?
if so, how can access #{param... stuff via javascript?
thank much!
form_inhalt:artikeldatatable[0]
? – smutje dec 2 '14 @ 11:25