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.
On 2/17/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> How about <c:out> ?
>
> Niall
>
> ----- Original Message -----
> From: "Dennis Hoer" <[EMAIL PROTECTED]>
> Sent: Friday, February 17, 2006 5:43 PM
>
>
> I'm trying to write out the text of a string instead of creating a
> form text object where the property dynamically gets the name of the
> field. I tried the following but there is no bean write el
> equivilent:
>
> <!-- this works-->
> <html-el:text name="myBean"
> property="myNestedBean.${displayData.methodName}"
> size="${displayData.NLength}"/>
>
> <!-- this doesnt work-->
> <bean:write name="myBean"
> property="myNestedBean.${displayData.methodName}"/>
>
> Is there tag lib out there that can do this or a different way to do this?
>
>
>
> ---------------------------------------------------------------------
> 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]