The EL doesn't support the BeanUtils concept of a mapped property. You'd have to
expose a "simple" property of type Map to work with JSTL:

public Map getSearchMap() { ... }

<c:out value="${form.ui.searchMap[key]}"/>

Quoting Daniel Lipofsky <[EMAIL PROTECTED]>:

> What is the definitive reference for EL syntax?
> I am having a hard time finding a good online reference.
> 
> I might as well ask my question too.
> How do you get something from a mapped property?
> That is, what is the EL syntax for
> 
>       ListForm.getUi().getSearch(String key)
> 
> In struts (which uses org.apache.commons.beanutils) I would just do
> 
>       property="ui.search(someKey)"
> 
> But I get an exception with that in EL.
> Thanks,
> Dan

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to