Why not use <c:out value="${uniqueKey}" /> instead of
<c:out value="${myForm.value(${uniqueKey})}" /> ???


This works for me:

<c:set var="testVar" value="Hello " />
<c:set var="testVar1" value="World" />
<c:set var="hello">
<c:out value="${testVar}" />-<c:out value="${testVar1}" />
</c:set>
<c:out value="${hello}" />



Thanks
 
-- pady
[EMAIL PROTECTED]
 

-----Original Message-----
From: Pat Quinn [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 24, 2004 7:11 AM
To: [EMAIL PROTECTED]
Subject: EL Tag Libraries

Hi Guys,

I have an action form with a get method (i.e. getValue(String)) which takes 
a string value, its working fine when i render the data in a text field.

E.g.

<c:set var="uniqueKey">
        <c:out value="${CustomerTO.id}"/>-<c:out
value="${CustomerTO.orderNo}"/>
</c:set>


<html-el:text name="myForm" property="value(${uniqueKey})"/>



Now i want to render the data as a label on screen i've tried using the 
<C:out/> tag lib but i cant get it to work

e.g.

<c:out value="${myForm.value(${uniqueKey})}"/>

and <c:out value="${myForm.value(uniqueKey)}"/>


Any ideas how i might do this?

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


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


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the Heroix e-mail Security System
______________________________________________________________________

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

Reply via email to