Ah yes... you do not have the <html:form> tag? According to the Developer Guide ( http://struts.apache.org/userGuide/struts-html.html#text) Render an input button of type text. This tag is only valid when nested inside a form tag body.
Try wrapping it in the <html:form> tag. Axel Sachmann <[EMAIL PROTECTED]> 13/04/2005 07:55 AM Please respond to "Struts Users Mailing List" To: Struts Users Mailing List <user@struts.apache.org> cc: (bcc: Glenn Deschenes/NAT/CMHC-SCHL/CA) Subject: Re: c:forEach tag and indexed properties problem Classification: [EMAIL PROTECTED] wrote: >Have you included the taglb in the JSP ? ><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> > > Yes but the bean is not in any scope! How can i access the Form-property? > > > > >Axel Sachmann <[EMAIL PROTECTED]> >12/04/2005 05:49 PM >Please respond to "Struts Users Mailing List" > > > > > > To: Struts Users Mailing List <user@struts.apache.org> > 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: user@struts.apache.org >> 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]