struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart" <lukasz.len...@googlemail.com>
Subject Re: Problem from defining JavaBean as an attribute inside ActionForm
Date Thu, 03 Jul 2008 06:05:08 GMT
Hi

> We are using Struts 1.2.9 and writing the JSP page as below:
>
> <html:form action="/sampleAction.do">
>      <html:text property="name"/>
>      <html:text property="empID"/>
>      <html:text property="empAddress.city"/>
>      <html:text property="empAddress.state"/>
> </html:form>

As I remember, Struts 1 don't support such evaluation, you can use
Nested Tags [1] , example are here [2]

[1] http://struts.apache.org/1.2.9/userGuide/struts-nested.html
[2] http://www.mail-archive.com/struts-user@jakarta.apache.org/msg47798.html


Regards
-- 
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message