Custom tags cannot be nested that way. 

For this reason, most of the Struts tags are designed to read values
directly from beans, using the name and property attributes.

There's a options tag that is designed to read the values and display
properties from collections stored as beans.

http://jakarta.apache.org/struts/doc-1.0.2/api/org/apache/struts/taglib/html/package-summary.html#package_description

-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services


[EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> I want to fill the content of an struts attribute from a bean. I
> tried as shown below, but this doesn't work. I tried to use different
> kinds of " and ', too. But without success. I could not find anything
> at the docs :-((
> 
> This is what i want:
> 
> --snipp--
> <html:option value="<bean:write name='orgs' property='data.id'/>">
>         <struts_bean:write name="orgs" property="data.name"/>
> </html:option>
> --snapp--
> 
> may be completly false, but i am new to struts, so don't blame me.
> 
> thanks in advance
> 
> marco
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to