Hi Volker,

no, it's the value attribute f:selectItems (line 287). I've other
pages with c:foreach and tc:selectOneChoice but with the same
item list on each row. That's no problem.

Regards
Helmut


>Hi Helmut,
>
>i think the id attributes makes the problem. Did you need to define them?
>
>Of cause you can also use the sheet for this.
>
>Regards,
>  Volker
>
>2007/2/23, H. Swaczinna <[EMAIL PROTECTED]>:
>> Hi,
>>
>> I want to display a list of data rows. Each row has a tc:selectOneChoice
>> with a different item list. I tried this with c:foraech:
>>
>> <c:forEach items="${workflowController.rollen}"
>>   varStatus="status" begin="0">
>>   <tc:out id="rolle_${status.index}"
>>     value="#{workflowController.rollen[${status.index}]}"/>
>>   <tc:cell spanX="2">
>>     <tc:selectOneChoice id="benutzer_${status.index}"
>>       value="#{workflowController.benutzer[${status.index}]}">
>>       <f:selectItems 
>value="#{workflowController.benutzerMasterData[${status.index}].itemList}"/>
>>     </tc:selectOneChoice>
>>   </tc:cell>
>> </c:forEach>
>>
>> But I get this error:
>>
>> org.apache.jasper.JasperException: /edit/workflowView.jsp(287,22) According 
>to TLD or attribute directive in tag file, attribute value does not accept any 
>expressions
>>
>> Is there any way to have different item lists per row, maybe with tc:sheet?
>>
>> Regards
>> Helmut
>>

Reply via email to