struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uday Karrothi" <karrothi.u...@gmail.com>
Subject Re: bean:write with property="address.postal"
Date Sat, 07 Oct 2006 02:02:02 GMT
Can u use

<logic:iterate id="institut" indexId="ind" name="institutsliste">
<bean:write name="institut" property="address" />
<bean:write name="institut" property="postal" />


I am not sure if the property bean allows "."

hope that helps,

Uday Karrothi

On 10/6/06, Andy.de <a.schmidt@best-blu.de> wrote:
>
>
> Hi folks,
> i get a
> javax.servlet.ServletException: Invalid argument looking up property:
> "address.postal" of bean: "institut"
> at following scenario:
>
> jsp:
>
> <logic:iterate id="institut" indexId="ind" name="institutsliste">
>   <bean:write name="institut" property="address.postal" />
> ...
> institusliste is a list of objects, type institut
>
> Class institut has a getter for address
> public adress getAddress() { return this.myAddress;}
>
> class address has a getter for postal
> public String getPostal() {return this.myPostal;}
>
> I also tried the nestest-taglib, the same problem.
>
> Any ideas? Documentation says my approach must work.
>
> Regards, Andy
>
>
>
> --
> View this message in context:
> http://www.nabble.com/bean%3Awrite-with-property%3D%22address.postal%22-tf2394721.html#a6676933
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message