> I have a html:options collection where the beans have a deep 
> hierarchy. I'd like to set the labelproperty of my html:options 
> to one of the bean's property like
mybean.getCustomer().getParent().getName();
> 
> how can I do this with html:options. Does it suport 
> expression language?

The EL versions of the Struts tag libraries do indeed support the JSTL
Expression Language (EL). It would look something like this:

<html-el:optionsCollection property="whatever"  
    labelProperty="${mybean.customer.parent.name}" value" value="code"/>


--
Tim Slattery
[EMAIL PROTECTED]


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

Reply via email to