Hi Wes, 

Thanks for the reply. The s:action tag seems to work.  I have a tiles
action that is the actual URL that the user would navigate to, and in
the JSP fragment that is the body tile, I am using the s:action to
invoke the XSLT action and return the HTML fragment for the body. 

Thanks so much for pointing this out, I was not aware of this tag.

Cheers!
MG

-----Original Message-----
From: Wes Wannemacher [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2008 4:49 PM
To: Struts Users Mailing List
Subject: Re: How can I combine a result (tiles + xslt)?


On Wed, 2008-03-05 at 17:18 -0500, Griffith, Michael * wrote:
[snip]

>  
> 
> Is this a good application for writing my own interceptor for? 


You would want to write your own "Result Type" for this. Writing your
own results is not as well documented as writing your own interceptors,
but since you are combining the functionality of two built-in result
types, it may be "pretty simple." 

Another possible choice would be to use the s:action tag with
executeResult set to true... 
http://struts.apache.org/2.x/docs/action.html
Then, have one action that uses a tiles result, but in that result, have
the s:action call the action which will render the xslt result. 

-Wes

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to