struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mlivro79 <>
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

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:
Sent from the Struts - User mailing list archive at

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

View raw message