Re: How can I combine a result (tiles + xslt)?

2008-03-13 Thread Antonio Petrelli
2008/3/12, Griffith, Michael * [EMAIL PROTECTED]: if( getFlush() ){ LOG.debug(Flushing output stream); out.close(); // ...and flush... } Yup you're right! Please open a JIRA issue: https://issues.apache.org/struts/browse/WW In fact

Re: How can I combine a result (tiles + xslt)?

2008-03-13 Thread Antonio Petrelli
2008/3/13, Antonio Petrelli [EMAIL PROTECTED]: 2008/3/12, Griffith, Michael * [EMAIL PROTECTED]: if( getFlush() ){ LOG.debug(Flushing output stream); out.close(); // ...and flush... } Yup you're right! Please open a JIRA

RE: How can I combine a result (tiles + xslt)?

2008-03-12 Thread Griffith, Michael *
] Sent: Tuesday, March 11, 2008 8:31 AM To: Struts Users Mailing List Subject: Re: How can I combine a result (tiles + xslt)? 2008/3/11, Griffith, Michael * [EMAIL PROTECTED]: Would you then agree this is a bug or enhancement that could be made to the XSLTResult? Maybe a flush parameter could

Re: How can I combine a result (tiles + xslt)?

2008-03-11 Thread Antonio Petrelli
2008/3/10, Griffith, Michael * [EMAIL PROTECTED]: I believe (maybe incorrectly so) that the problem is caused by the XSLTResult calling close/flush when processing the result. Mmm... It reminds me a thing. When processing an XML file via a XML parser, the parser closes the stream at the end!

RE: How can I combine a result (tiles + xslt)?

2008-03-11 Thread Griffith, Michael *
To: Struts Users Mailing List Subject: Re: How can I combine a result (tiles + xslt)? 2008/3/10, Griffith, Michael * [EMAIL PROTECTED]: I believe (maybe incorrectly so) that the problem is caused by the XSLTResult calling close/flush when processing the result. Mmm... It reminds me a thing. When

Re: How can I combine a result (tiles + xslt)?

2008-03-11 Thread Antonio Petrelli
2008/3/11, Griffith, Michael * [EMAIL PROTECTED]: Would you then agree this is a bug or enhancement that could be made to the XSLTResult? Maybe a flush parameter could be added to the configuration of the result? I don't think it is a bug of XSLTResult, since it closes (not simply flushes)

RE: How can I combine a result (tiles + xslt)?

2008-03-10 Thread Griffith, Michael *
Message- From: Griffith, Michael * [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2008 4:44 PM To: Struts Users Mailing List Subject: RE: How can I combine a result (tiles + xslt)? Dave, I did. I will try both, easy path first. I'll let you know what I find so that you can close the JIRA

Re: How can I combine a result (tiles + xslt)?

2008-03-10 Thread Antonio Petrelli
2008/3/10, Griffith, Michael * [EMAIL PROTECTED]: I checked out the current branch from the Tiles SVN repository: http://svn.apache.org/repos/asf/tiles/framework/trunk/ and built it. Version is 2.1.0-SNAPSHOT. This appears to be incompatible with the Struts2Tiles plugin? It is

RE: How can I combine a result (tiles + xslt)?

2008-03-10 Thread Griffith, Michael *
PM To: Struts Users Mailing List Subject: RE: How can I combine a result (tiles + xslt)? Dave, I did. I will try both, easy path first. I'll let you know what I find so that you can close the JIRA incident I opened. I did look at the JIRA ticket Antonio posted, and it seems likely

Re: How can I combine a result (tiles + xslt)?

2008-03-07 Thread Antonio Petrelli
2008/3/6, Griffith, Michael * [EMAIL PROTECTED]: Same result. Does anyone have any other ideas on what I can do to prevent this? Any tile that is supposed to be rendered after the body (ie the footer) is not rendered because the stream is closed. Version of Struts 2 and Tiles? Antonio

Re: How can I combine a result (tiles + xslt)?

2008-03-07 Thread Martin Gainty
PM To: Struts Users Mailing List Subject: RE: How can I combine a result (tiles + xslt)? Could this be a defect? https://issues.apache.org/struts/browse/WW-1385 -Original Message- From: Griffith, Michael * [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 1:25 PM To: Martin Gainty

RE: How can I combine a result (tiles + xslt)?

2008-03-07 Thread Griffith, Michael *
Struts 2.0.11.1 Tiles 2.0.5 -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2008 2:20 AM To: Struts Users Mailing List Subject: Re: How can I combine a result (tiles + xslt)? 2008/3/6, Griffith, Michael * [EMAIL PROTECTED]: Same result. Does

RE: How can I combine a result (tiles + xslt)?

2008-03-07 Thread Griffith, Michael *
: Thursday, March 06, 2008 1:52 PM To: Struts Users Mailing List Subject: RE: How can I combine a result (tiles + xslt)? Could this be a defect? https://issues.apache.org/struts/browse/WW-1385 -Original Message- From: Griffith, Michael * [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008

Re: How can I combine a result (tiles + xslt)?

2008-03-07 Thread Antonio Petrelli
2008/3/7, Griffith, Michael * [EMAIL PROTECTED]: Struts 2.0.11.1 Tiles 2.0.5 I think that this is a bug with Tiles 2.0.5: https://issues.apache.org/struts/browse/TILES-232 It is fixed, so if you build Tiles 2.0.6-SNAPSHOT by yourself it should go away. For further questions on Tiles please

Re: How can I combine a result (tiles + xslt)?

2008-03-07 Thread Martin Gainty
-validation.xml,struts-tags-non-ui.xml...) Thanks Martin- - Original Message - From: Griffith, Michael * [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, March 06, 2008 4:07 PM Subject: RE: How can I combine a result (tiles + xslt)? Hi all, I've

Re: How can I combine a result (tiles + xslt)?

2008-03-07 Thread Dave Newton
Did you see Antonio's post about how it's probably a bug in Tiles?! Seems like it would be quite a bit easier to try his idea than all this. --- Martin Gainty [EMAIL PROTECTED] wrote: Good Afternoon Michael I just ran thru the scenario you described on a 'healthy' jsp page and see this

RE: How can I combine a result (tiles + xslt)?

2008-03-07 Thread Griffith, Michael *
to. Cheers! MG -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2008 12:45 PM To: Struts Users Mailing List Subject: Re: How can I combine a result (tiles + xslt)? Did you see Antonio's post about how it's probably a bug in Tiles?! Seems like it would

RE: How can I combine a result (tiles + xslt)?

2008-03-06 Thread Griffith, Michael *
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

Re: How can I combine a result (tiles + xslt)?

2008-03-06 Thread Martin Gainty
-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

Re: How can I combine a result (tiles + xslt)?

2008-03-06 Thread Othon Reyes Sanchez
, 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

RE: How can I combine a result (tiles + xslt)?

2008-03-06 Thread Griffith, Michael *
[mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 9:51 AM To: Griffith, Michael * Cc: Struts Users Mailing List Subject: Re: How can I combine a result (tiles + xslt)? Michael- remembering our academic coursework teaches Not(Not condition) evaluates positive be sure to set

RE: How can I combine a result (tiles + xslt)?

2008-03-06 Thread Griffith, Michael *
Could this be a defect? https://issues.apache.org/struts/browse/WW-1385 -Original Message- From: Griffith, Michael * [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 1:25 PM To: Martin Gainty Cc: Struts Users Mailing List Subject: RE: How can I combine a result (tiles + xslt

RE: How can I combine a result (tiles + xslt)?

2008-03-06 Thread Griffith, Michael *
To: Struts Users Mailing List Subject: RE: How can I combine a result (tiles + xslt)? Could this be a defect? https://issues.apache.org/struts/browse/WW-1385 -Original Message- From: Griffith, Michael * [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 1:25 PM To: Martin Gainty Cc

How can I combine a result (tiles + xslt)?

2008-03-05 Thread Griffith, Michael *
Hi, Can anyone advise me on the best way to approach this problem? I have a Struts2 application using Tiles 2 for UI. I have a page where the body of my tiles composition needs to be generated dynamically from XSLT. I want to transform XML into HTML tags including a form and inputs, which

Re: How can I combine a result (tiles + xslt)?

2008-03-05 Thread Wes Wannemacher
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