You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Hanmay Udgiri <ha...@gmail.com> on 2006/05/26 10:03:17 UTC

Sending run time value to custom tag

Hi
I am sending a runtime value to a custom tag.I am sending the value through
bean:write tag
but it is not sending the value.i am attaching the sample code.

<mytags:indicatorEndDisplay indicatorType="<bean:write name='myform'
property='sampleIndicator'/>"/>

here in the tag class it does not take the value passed through bean:write
tag if I pass like below it takes.

<mytags:indicatorEndDisplay indicatorType="true"/>

I have to use bean:write tag.

-- 
Thanks and Regards
Hanmayya Udgiri

Re: Sending run time value to custom tag

Posted by David Durham <dd...@vailsys.com>.
Hanmay, this is a struts-user question


Hanmay Udgiri wrote:
> Hi
> I am sending a runtime value to a custom tag.I am sending the value through
> bean:write tag
> but it is not sending the value.i am attaching the sample code.
> 
> <mytags:indicatorEndDisplay indicatorType="<bean:write name='myform'
> property='sampleIndicator'/>"/>
> 
> here in the tag class it does not take the value passed through bean:write
> tag if I pass like below it takes.
> 
> <mytags:indicatorEndDisplay indicatorType="true"/>
> 
> I have to use bean:write tag.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org