On 10/7/06, Uday Karrothi <[EMAIL PROTECTED]> wrote:

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 "."


It allows without a problem.  Thr problem is something else. Maybe if Andy
can post a little more code, the problem could be identified.

hope that helps,

Uday Karrothi

On 10/6/06, Andy.de <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




--
Puneet

Reply via email to