Wow the ability of S2 to do this is awesome and looks simple!!. On Thu, Mar 6, 2008 at 9:50 AM, Martin Gainty <[EMAIL PROTECTED]> wrote:
> Michael- > > remembering our academic coursework teaches Not(Not condition) evaluates > positive > be sure to set ignoreContextParams="false" as in <s:action tag > ignoreContextParams="false" ...> > > I would encourage you to read Dave's article on using ResultTypes at > http://struts.apache.org/2.x/docs/result-types.html > > MG > ----- Original Message ----- > From: "Griffith, Michael *" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <user@struts.apache.org> > Sent: Thursday, March 06, 2008 10:16 AM > Subject: RE: How can I combine a result (tiles + xslt)? > > > 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] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >