Have you included the taglb in the JSP ?
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
Axel Sachmann <[EMAIL PROTECTED]>
12/04/2005 05:49 PM
Please respond to "Struts Users Mailing List"
To: Struts Users Mailing List <[email protected]>
cc: (bcc: Glenn Deschenes/NAT/CMHC-SCHL/CA)
Subject: Re: c:forEach tag and indexed properties problem
Classification:
[EMAIL PROTECTED] wrote:
>Any data in the dynamicArrayForm.map.artikel ?
>
>
yes it's work fine without the html:text tag.
here is an example output.
<TR>
<TD> bad - Ausstattung PS-Exklusiv
2000.0 Euro
</TD>
<TD>Typ 1</TD>
<TD>30.05.2005
</TD>
</TR>
But it doesn't work with the html:text tag!
>
>
>
>
>Axel Sachmann <[EMAIL PROTECTED]>
>12/04/2005 04:11 PM
>Please respond to "Struts Users Mailing List"
>
>
>
>
>
> To: [email protected]
> cc: (bcc: Glenn Deschenes/NAT/CMHC-SCHL/CA)
>
> Subject: c:forEach tag and indexed properties problem
> Classification:
>
>
>
>Hi Guys,
>
>i have a problem with the forEach Tag and an indexed propertie!
>Please have a look at this peace of code.
>
><c:forEach var="artikel" items="${dynamicArrayForm.map.artikel}" >
> <TR>
> <TD> <c:out value="${artikel.kategorie}"/> - <c:out
>value="${artikel.setbezeichnungkurz}"/>
> <c:out value="${artikel.preisnetto}"/> <c:out
>value="${artikel.preiseinheit}"/>
> </TD>
> <TD>
> <c:out value="${artikel.warengruppe}"/>
> </TD>
> <TD>
> <c:out value="${artikel.angebotsdatumbis}"/>
><html:text name="artikel" indexed="true" property="menge"/>
> </TD>
> </TR>
> </c:forEach>
>
>Everthing goes okay - but the html:text element throws an error -
>
>Cannot find bean artikel in any scope
>
>Why it doesn't work?
>
>Thanks for Help
>
>Axel Sachmann
>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>
--
profiIT e.K. , die Dienstleistungsplattform f�r IT - Profis
Axel Sachmann
Amtsgericht K�ln, HR A 21756
Melanchthonstra�e 29a
51061 K�ln
Telefon: +49 221 97716 - 11
Telefax: +49 221 97716 - 12
Internet: http://www.profiIT.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]