I am trying to use a "logic:equal" tag in my jsp.
If I put a hardcoded value in the index (denoted by the "?") it works fine, but I have this code in a loop (logic:iterate)and the index needs to change with each iteration.
My logic:iterate tag specifies a field named "idx" as the index for iteration.
I've used <%= idx.intValue() %>, <%= idx %>, and ${idx} as my indexes for the logic:equal tag, but all of them give me the following:
java.lang.IllegalArgumentException: Invalid indexed property 'totalsIndexed...
Any ideas?
Code:
<logic:equal value="" name="SimpleListSettingsForm" property="totalsIndexed[?]" scope="request">
If I put a hardcoded value in the index (denoted by the "?") it works fine, but I have this code in a loop (logic:iterate)and the index needs to change with each iteration.
My logic:iterate tag specifies a field named "idx" as the index for iteration.
I've used <%= idx.intValue() %>, <%= idx %>, and ${idx} as my indexes for the logic:equal tag, but all of them give me the following:
java.lang.IllegalArgumentException: Invalid indexed property 'totalsIndexed...
Any ideas?