That worked like a charm.

Thanks.

-----Original Message-----
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 1:12 PM
To: Struts Users Mailing List
Subject: Re: <bean:define concatenation


Have you tried?

<bean:define id="medKey">
<bean:write name="searchResult" property="lastName"/>
<bean:write name="searchResult" property="lastName"/>
</bean:define>







--
James Mitchell





----- Original Message ----- 
From: "Balakrishnan, Vijay" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, February 11, 2003 4:07 PM
Subject: <bean:define concatenation


> HI,
> 
> I have used the following:
> <bean:define id="medKey" name="searchResult" property="lastName" />
> 
> I want to be able to concatenate 2 of these properties from the bean into
> the "medKey".
> 
> i.e. combine last name and firstname into "medKey' with a bean:define and
> then use the variable. 
> <bean:define id="medKey" name="searchResult" property="lastName" />
> <bean:define id="medKey" name="searchResult" property="firstName" />
> 
> 
> TIA,
> Vijay
> 
> ---------------------------------------------------------------------
> 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]

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

Reply via email to