So basically there is no way that I can construct a
struts tag(or jsp tag in general) on the fly and
render it fully?
thanks
--- "Fogleson, Allen" <allen.fogleson@daugherty.com>
wrote:
> Nope,
>
> Part of the problem here is that the struts tag
> <html:text ...> is
> rendered as <input type="text"....>
>
> The other part is that you would have to write some
> kind of preprocessor
> for the page that basically acts as a web container
> to process your
> tags, then pass the preprocessed page to the jsp
> compiler.
>
> Its not "un-doable" but it is not very practical.
>
> Al
>
>
> -----Original Message-----
> From: wo_shi_ni_ba_ba
> [mailto:wo_shi_ni_ba_ba@yahoo.com]
> Sent: Thursday, March 10, 2005 12:43 PM
> To: user@struts.apache.org
> Subject: nested tags
>
> I want to have tags like the following:
> <html:<bean:write name="cellType"/> property=""/>
>
> My goal is to pass in attribute whose value can be
> used again to construt struts tags dynamically. Is
> this doable? for example, passing in the right
> struts
> html tag and concatenate it with other struts tags
> to
> form a new struts tag.
>
> but when it's rendered it comes out like
> <html:text property=""/>
> any alternative to achieve my goal?
> thanks
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
>
>
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
|