You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "jul.g@freesbee.fr" <ju...@freesbee.fr> on 2003/03/19 11:30:16 UTC
bean:write question
hello
i have a class wich contains another class
like class "user" which contains a class "adress" in a response.
i'd like to write the properties in a jsp
it morks well for the property of user with <bean:write>,
but the property adress write the reference (call
.toString()). that's what i waited, but not wanted :-)
is there a simple way to write the property of adress ?
(i have to <logic:iterate> around it)
thanks
Julien Gaucher
-------------
SPECIAL ADSL
L'ADSL à partir de 15,95 EUR/mois et le modem ADSL offert ? C'est en exclusivité chez Tiscali !
Pour profiter de cette offre, cliquez ici: http://register.tiscali.fr/adsl/
Offre soumise à conditions.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: bean:write question
Posted by Dan Allen <da...@mojavelinux.com>.
> <bean:write name="user" property="address.city" />
Again, with struts-el
<c:out value="${user.address.city}"/>
Dan
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, <da...@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Personally, I'm not finding Windows
to be less expensive to administer,
but those security holes--that'll kill 'em,"
-- Al Gillen, IDC
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: bean:write question
Posted by Gemes Tibor <ti...@i-trade.hu>.
jul.g@freesbee.fr írta:
>hello
>
>i have a class wich contains another class
>like class "user" which contains a class "adress" in a response.
>i'd like to write the properties in a jsp
>
>
<bean:write name="user" property="address.city" />
hth,
Tib
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org