struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tarun Reddy" <btarunre...@gmail.com>
Subject Re: How do I insert a value from an id-iterate-bean into the value-tag of multibox?
Date Sat, 06 May 2006 04:29:56 GMT
Hi,
You can do this way,
<logic:iterate name="Portal" property="deaktserver" id="srv">
    <html:multibox property="inaktmachines">
          <bean:write name="srv" />
    </html:multibox>
</logic:iterate>

This should work.

On 5/5/06, Andreas Hartmann <andihartmann@freenet.de> wrote:
>
> Hello!
>
> I've got in a jsp the following code:
>
> <logic:iterate name="Portal" property="deaktserver" id="srv">
> <html:multibox property="inaktmachines" value='<%= srv %>' />
> </logic:iterate>
>
> -> This does not work.
>
>
> srv contains a string which I want to have as value of html:multibox. How
> should it be written?
>
>
> I would be glad to get a hint!
> Kind regards,
> Andreas Hartmann
>
> ---------------------------------------------------------------------
> 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