> -----Original Message-----
> From: Kevin A. Palfreyman [mailto:[EMAIL PROTECTED] 
> 
> Thanks for the pointer to the user guide, but unfortunately it doesn't
> help.
> 
> I tried:
> 
> <c:out value="${instanceForm.dynamic.map.<%=fieldName%>}" />
> 
> And
> 
> <c:out value='<%="${instanceForm.dynamic.map."+fieldName+"}"%>' />
> 
> And
> 
> <c:out value="${instanceForm.dynamic.map.${fieldName}}" />
> 
> But those didn't work either.
> 
> I think the problem is with the nested evaluation - combining the
> scriptlet and the EL.
> 
> Any other ideas?

First of all, if noone's mentioned this yet, the "taglibs-user" list is
a better place to discuss this.

I believe that the following will do what you want:

  <c:out value="${instanceForm.dynamic.map[fieldName]}" />

The similar expression of:

  <c:out value="${instanceForm.dynamic.map.fieldName}" />

Doesn't do the same thing.

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

Reply via email to