struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh P" <>
Subject RE: Custom tags with Struts
Date Tue, 18 Feb 2003 15:46:02 GMT
but i was able to use the struts tag within a html tag as follows:
<input type="hidden" name='<bean:write name="fb" property="prop1"/>' value='<bean:write
name="fb" property="prop2"/>'>

-----Original Message-----
From: David Graham []
Sent: Tuesday, February 18, 2003 9:07 PM
Subject: Re: Custom tags with Struts

You can't use a tag as input to another tag's attributes.


>From: "Rajesh P" <>
>Reply-To: "Struts Users Mailing List" <>
>To: "Struts Users Mailing List" <>
>Subject: Custom tags with Struts Date: Tue, 18 Feb 2003 20:49:48 +0530
>Hello Everyone,
>I had created a Custom tag for formatting number to decimal places based on 
>some business rules. The tag looks like this:
><formatChecker:check value=" "/>
>In the value attribute I need to send data from my form bean. I tried as 
><formatChecker:check value='<bean:write name="fbname" value="price"/>'/>
>I tried with single quotes and double quotes, but the custom tag does not 
>evaluate the struts bean tag but takes the value as "<bean:write 
>name="fbname" value="price"/>"
>Please, can anyone tell me how i can proceed with this.
>Thanks in advance,
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Tired of spam? Get advanced junk mail protection with MSN 8.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message