That worked! Thanks so much.

On 2/17/06, Laurie Harper <[EMAIL PROTECTED]> wrote:
> That would have a rather different meaning. Closer would be
>
>   <c:out value="${myBean.myNestedBean[displayData.methodName]}"/>
>
> 'methodName' is suspicious, though. Are you trying to invoke a method,
> or retrieve a property? You can't invoke arbitrary methods with EL.
> 'methodName' means 'call the method named getMethodName'.
>
> L.
>
> Keith Sader wrote:
> > I think you need ${} around the whole expression.
> >
> > ${myBean.myNestedBean.displayData.property}
> >
> >
> > On 2/17/06, Dennis Hoer <[EMAIL PROTECTED]> wrote:
> >> Tried
> >> <c:out value="myBean.myNestedBean.${displayData.methodName}"/>
> >>
> >> and it resolves to a string
> >> "myBean.myNestedBean.methodX"
> >>
> >> I also tried
> >> <c:set var="temp" value="myBean.myNestedBean.${displayData.methodName}"/>
> >> <c:out value="${temp}"/>
> >>
> >> and get the same thing.  I need the result of the string to be
> >> resolved after the method name is returned.
> >
> > --
> > Keith Sader
> > [EMAIL PROTECTED]
> > http://www.saderfamily.org/roller/page/ksader
> > http://www.jroller.com/page/certifieddanger
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to