I had the same problem - I did think that I could nest sheet inside
sheet, but it didn't work, nor did foreach and f:selectitems. I ended
up hard-coding elements inside special class ;/ As Helmut says, it's
problem with the value attribute

regards,
michael

On 23/02/07, H. Swaczinna <[EMAIL PROTECTED]> wrote:
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
>>



--
[EMAIL PROTECTED]
http://stawicki.jasliska.pl
GG: 3691111
JID: [EMAIL PROTECTED]

Reply via email to