struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mlivro79 <ma...@livrieri.it>
Subject Re: Wrap struts2 tag in a custom tag
Date Mon, 19 Oct 2009 14:57:28 GMT

In other words... Is there a method of BodyContent class that can overwrite
the body of the tag in jsp so I can evaluate all things like they are in
jsp?


mlivro79 wrote:
> 
> Hi all,
> 
> I'm trying to wrap struts2 tags in my custom tags.
> 
> First, I extend BodyTagSupport. 
> 
> If I return EVAL_BODY_INCLUDE in doStartTag method and I put a struts tag
> in the body of my custom tag all is ok. The struts tag is evaluated
> correctly.
> 
> If I return EVAL_BODY_TAG in doStartTag method and I want to create the
> struts tag to be evaluated in the doBodyInit method, how can I do it?
> Which method of the BodyContent Class can I use to do it?
> 
> Thanks a lot,
> Marco
> 

-- 
View this message in context: http://www.nabble.com/Wrap-struts2-tag-in-a-custom-tag-tp25957177p25959803.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message