Re: utf-8 characters and xslt result type

2014-05-25 Thread Arturo Flores
/ > > >>> > > >>> 2014-05-23 17:36 GMT+02:00 Arturo Flores : > > >>> > The value of Content-Type is text/xml. > > >>> > > > >>> > Arturo > > >>> > > > >>> > > > >>&g

Re: utf-8 characters and xslt result type

2014-05-24 Thread Paul Benedict
;>> 2014-05-23 17:36 GMT+02:00 Arturo Flores : > >>> > The value of Content-Type is text/xml. > >>> > > >>> > Arturo > >>> > > >>> > > >>> > On Thu, May 22, 2014 at 11:47 PM, Lukasz Lenart < > >>> lukaszlen...@a

Re: utf-8 characters and xslt result type

2014-05-24 Thread Lukasz Lenart
t;>> > >>> > >>> > On Thu, May 22, 2014 at 11:47 PM, Lukasz Lenart < >>> lukaszlen...@apache.org>wrote: >>> > >>> >> 2014-05-23 7:54 GMT+02:00 Arturo Flores : >>> >> > When I request /testutf8 I get the following in the browser: >>> >> > XM

Re: utf-8 characters and xslt result type

2014-05-23 Thread Arturo Flores
> >> >> 2014-05-23 7:54 GMT+02:00 Arturo Flores : >> >> > When I request /testutf8 I get the following in the browser: >> >> > XML Parsing Error: not well-formed >> >> > Location: http://localhost:8080/testutf8 >> >> > Li

Re: utf-8 characters and xslt result type

2014-05-23 Thread Arturo Flores
: not well-formed > >> > Location: http://localhost:8080/testutf8 > >> > Line Number 1, Column 48: >> > encoding="UTF-8"?>h�llo world > >> > ---^ > >> > > >> > It seems the utf-8 character is not being handled properl

Re: utf-8 characters and xslt result type

2014-05-23 Thread Lukasz Lenart
lowing in the browser: >> > XML Parsing Error: not well-formed >> > Location: http://localhost:8080/testutf8 >> > Line Number 1, Column 48:> > encoding="UTF-8"?>h�llo world >> > ---^ >> >

Re: utf-8 characters and xslt result type

2014-05-23 Thread Arturo Flores
calhost:8080/testutf8 > > Line Number 1, Column 48: > encoding="UTF-8"?>h�llo world > > ---^ > > > > It seems the utf-8 character is not being handled properly. How can I > make > > the xslt result type

RE: utf-8 characters and xslt result type

2014-05-23 Thread Martin Gainty
necesita %C3%A8 por ejemplo Hell%C3%Ao World http://www.w3schools.com/tags/ref_urlencode.asp Saludos Cordiales desde EEUU Martín __ > Date: Thu, 22 May 2014 22:54:45 -0700 > Subject: utf-8 characters and xslt result type > Fr

Re: utf-8 characters and xslt result type

2014-05-22 Thread Lukasz Lenart
F-8"?>h�llo world > ---^ > > It seems the utf-8 character is not being handled properly. How can I make > the xslt result type handle the utf-8 character correctly? Can you check headers of the response? What's the value of Content-Type? Regards -- Łukasz

utf-8 characters and xslt result type

2014-05-22 Thread Arturo Flores
ber 1, Column 48:h�llo world ---^ It seems the utf-8 character is not being handled properly. How can I make the xslt result type handle the utf-8 character correctly?

Testing with xslt result type + spring

2013-06-04 Thread Mael Le Guével
Hello, I am trying to write unit tests for an action that uses xslt result type with struts 2.3.4.1 I am using a XSLT file located in WEB-INF to render the result (the location is something like: /WEB-INF/xslt/myfile.xsl). That works. But I cannot figure out how I can test the action. I would

Re: getText on XSLT transformation on an Action

2011-06-20 Thread Josep María Formentí Serra
; > would prefer otheer solution...if possible. > > > Sent via BlackBerry from T-Mobile > > > > > > -Original Message- > > > From: Chris Pratt > > > Date: Thu, 16 Jun 2011 22:24:33 > > > To: Struts Users Mailing List > > > Repl

Re: getText on XSLT transformation on an Action

2011-06-17 Thread JOSE L MARTINEZ-AVIAL
2011 22:24:33 > > To: Struts Users Mailing List > > Reply-To: "Struts Users Mailing List" > > Subject: Re: getText on XSLT transformation on an Action > > > > There's no reason the XSL should be dynamic. The XML is typically the > > dynamic part w

Re: getText on XSLT transformation on an Action

2011-06-17 Thread Chris Pratt
Just remember that one of the more expensive parts of using XSLT is compiling the XSL StyleSheet. So using a dynamic StyleSheet will come with a cost. Another option would be to extend the XslResult to somehow provide dynamic data during the translation. Possibly as an XSL Extension, or at least

Re: getText on XSLT transformation on an Action

2011-06-17 Thread Maurizio Cucchiara
Berry from T-Mobile > > -Original Message- > From: Chris Pratt > Date: Thu, 16 Jun 2011 22:24:33 > To: Struts Users Mailing List > Reply-To: "Struts Users Mailing List" > Subject: Re: getText on XSLT transformation on an Action > > There's no reaso

Re: getText on XSLT transformation on an Action

2011-06-17 Thread jlmagc
List" Subject: Re: getText on XSLT transformation on an Action There's no reason the XSL should be dynamic. The XML is typically the dynamic part with the XSL being static (so that it can be parsed and cached for efficiency). Why not include a section in the XML with the replace

Re: getText on XSLT transformation on an Action

2011-06-16 Thread Chris Pratt
un 16, 2011 at 5:34 PM, Miguel wrote: > Yes, if you want this, you need to create the XSLT on the fly, > You can use freemarker to achieve this. substituying the placeholders > with the appropiate text. > You can use even apache commons StringUtils if you only want to > susbtitute pla

Re: getText on XSLT transformation on an Action

2011-06-16 Thread Miguel
Yes, if you want this, you need to create the XSLT on the fly, You can use freemarker to achieve this. substituying the placeholders with the appropiate text. You can use even apache commons StringUtils if you only want to susbtitute placeholders with fixed text. Cheers, Si quieres ser más

Re: getText on XSLT transformation on an Action

2011-06-16 Thread JOSE L MARTINEZ-AVIAL
could you expand that? do you mean to create the XSLT on the fly? 2011/6/16 Maurizio Cucchiara > The first solution I thought is: a template engine. > Currently your xslt file is static, you should consider to make dynamic in > order to include dynamic content. > > Maurizio C

Re: getText on XSLT transformation on an Action

2011-06-16 Thread Maurizio Cucchiara
The first solution I thought is: a template engine. Currently your xslt file is static, you should consider to make dynamic in order to include dynamic content. Maurizio Cucchiara Il giorno 16/giu/2011 19.37, "JOSE L MARTINEZ-AVIAL" ha scritto: > Hi, > I'm using Struts 2.1.

getText on XSLT transformation on an Action

2011-06-16 Thread JOSE L MARTINEZ-AVIAL
Hi, I'm using Struts 2.1.8.1. I have an action that retrieves some XML data from a webservice, and transform it to HTML using XSLT. The transformation is done in the action, and the output is returned as a stream and sent to the client. It works fine, but now I need to write some labels

Struts2 XSLT result

2009-01-14 Thread Craig Christophersen
I am using struts2-2.014. The result xml I get from the below action and Bean: Admin userAdmin Hello Included here is the proper xml for the document The element "dmodule" is the root element of the document from getDmod(). The top level elements are all "item" except for the one from getDmod

Re: XSLT Translation

2008-11-03 Thread Dave Newton
--- On Mon, 11/3/08, Mark Thomson wrote: > My struts config is as follows: > [...] > > > /Product.xsl > > [...] What happens if you use "location" as the param name, and which S2 version are you using? Dave - To uns

XSLT Translation

2008-11-02 Thread Mark Thomson
I have a simple struts 2 app as follows: 1 x ActionSupport Class which simply fills a its own parameters ( a couple of strings ) I am then trying to render the ActionSupport class as xml using the following xsl http://www.w3.org/1999/XSL/Transform"; >

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! Ple

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

2008-03-13 Thread Antonio Petrelli
//issues.apache.org/struts/browse/WW In fact the code in the trunk does not verify if "flush" flag is on, and this code is a bit obscure to me: http://svn.apache.org/repos/asf/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/xslt/XSLTResult.java Why does it take *twice* th

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

2008-03-12 Thread Griffith, Michael *
Antonio, First of all, I'm not saying you are wrong about XSLT closing the result stream -- I don't have enough knowledge to comment on that problem, however... Here's what I did to test this. I copied the source for XSLTResult to a new class, and added a boolean parameter to th

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 "fl

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

2008-03-11 Thread Griffith, Michael *
: 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 rem

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

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

2008-03-10 Thread Griffith, Michael *
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 incident I opened. I did look at the JIRA ticket Antonio posted, and it seems likely t

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 incom

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

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

2008-03-07 Thread Griffith, Michael *
nt 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?! Seem

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 > thi

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

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

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 plea

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

2008-03-07 Thread Griffith, Michael *
I combine a result (tiles + xslt)? Good Morning Michael This is a bug.. do you want to update JIRA? Thanks Martin- - Original Message - From: "Griffith, Michael *" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, March 06, 2008 4:07 PM Sub

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]>: > >

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

2008-03-07 Thread Martin Gainty
Good Morning Michael This is a bug.. do you want to update JIRA? Thanks Martin- - Original Message - From: "Griffith, Michael *" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, March 06, 2008 4:07 PM Subject: RE: How can I combine a resul

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-06 Thread Griffith, Michael *
red because the stream is closed. Any help would be much appreciated... MG -Original Message- From: Griffith, Michael * [mailto:[EMAIL PROTECTED] Sent: 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

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 *
[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 Othon Reyes Sanchez
; <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > 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 > act

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

2008-03-06 Thread Martin Gainty
riginal Message - From: "Griffith, Michael *" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" 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 ac

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

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

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

2008-03-05 Thread Wes Wannemacher
es result, but in that result, have the s:action call the action which will render the xslt result. -Wes

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: about struts, xml and xslt

2007-12-03 Thread Laurie Harper
logancillo wrote: Good days people, I need your help and experience. Could you recommend me some way to do some xslt work? Something as the tag xmlTemplate that has MyFaces in which you can provide the xml in brute and the xsl in brute and the result is html, xhtml, etc... I could use any thing

about struts, xml and xslt

2007-12-03 Thread logancillo
Good days people, I need your help and experience. Could you recommend me some way to do some xslt work? Something as the tag xmlTemplate that has MyFaces in which you can provide the xml in brute and the xsl in brute and the result is html, xhtml, etc... I could use any thing, but but if they

[S2] XSL Result: passing XSLT parameters and XSLT 2.0 questions

2007-09-05 Thread Mark McLaren
I'm new to Struts 2 so please forgive me if I am asking something stupid. Is it possible to pass XSLT stylesheet parameters from the action prior to rendering the XSLT result? Is it possible to make of use of something like Saxon rather than Xalan to enable XSLT 2.0 stylesheets? If not,

RE: XSLT Result matching pattern

2007-08-16 Thread John Krueger
st > Subject: RE: XSLT Result matching pattern > > There is an open issue for struts2 with the matchingPattern and > excludingPattern > params for the xslt result type. > > https://issues.apache.org/struts/browse/WW-1550 > > Other options/workarounds for this would be t

RE: XSLT Result matching pattern

2007-08-16 Thread John Krueger
There is an open issue for struts2 with the matchingPattern and excludingPattern params for the xslt result type. https://issues.apache.org/struts/browse/WW-1550 Other options/workarounds for this would be to change the accessibility of your getUser and getSession methods to something other

XSLT Result matching pattern

2007-08-14 Thread Richard Sayre
I am new to regular expressions and I am trying to have my XSLT result only show certain elements that are in the XML. here is some if the XML: ... ... ... I only want the result/questionTree node to be return to my page. I tried doing this: /result/questionTree But all the

Struts2 xslt can't work under oc4j

2007-06-25 Thread chenshibing
Struts2 xslt can’t work under oc4j, and get the following exception: javax.xml.transform.TransformerException: XML-22101: (Fatal Error) DOMSource node as this type not supported. at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:883) at

S2 XSLT Result Content-Type

2007-04-09 Thread Erik Costlow
I have a Struts2 action that uses an XSLT result to generate a final XHTML document that gets sent to the client. This action is sending the content-type of "text/xml" so IE6 is displaying the information as an XML tree, instead of showing a rendered html document. /xsl/defaults.xsl

Re: [S2] XSLT result params

2006-12-28 Thread David H. DeWolf
t the parameters for the XSLT result type in the javadocs are not those in the showcase example, or there may be some that are missing. Has anyone worked on these lately? /Ian - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

[S2] XSLT result params

2006-12-28 Thread Ian Roughley
I just noticed that the parameters for the XSLT result type in the javadocs are not those in the showcase example, or there may be some that are missing. Has anyone worked on these lately? /Ian - To unsubscribe, e-mail

XSLT parameters and include problem

2006-10-26 Thread Kimus Linuxus
Hi, I'm using the xslt resut type and I cant use includes (or imports)?? I have a main,xsl file that includes another xsl in the same directory. And gives me the following error: ERROR: '/home/share/software/develop/eclipse/variables.xsl (No such file or directory)' FATAL ERR

XSLT Result

2006-10-25 Thread Kimus Linuxus
Hi, Is it possible to configure the XSLTResult to put a XML file to the transformation instead of the serialization of the Action result? thanx

XSLT result

2006-10-25 Thread Kimus Linuxus
Hi, Is it possible to configure the XSLTResult to put a XML file to the transformation instead of the serialization of the Action result? thanx

Re: xslt

2006-03-26 Thread Hey Nony Moose
Morten Andersen wrote: > I've developed a struts based application that uses XSLT intensively > on the server side. I would like to move some of these transformations > to the client side. > ... etc ... > How do you use XSL in your struts apps. I heard one tech lead knock

Re: xslt

2006-03-26 Thread Jonathan Revusky
Morten Andersen wrote: I've developed a struts based application that uses XSLT intensively on the server side. I would like to move some of these transformations to the client side. Well, here's a shameless plug, but if your primary problem with XSLT is the performance, you mi

Re: xslt

2006-03-15 Thread Frank W. Zammetti
I don't know if AJAX is in your plans, but AjaxTags in Java Web Parts offers an XSLT response handler to do client-side transformations... http://javawebparts.sourceforge.net This handler uses Sarissa under the covers, so even if you wind up not using the tags, they may serve as an examp

xslt

2006-03-15 Thread Morten Andersen
I've developed a struts based application that uses XSLT intensively on the server side. I would like to move some of these transformations to the client side. I use struts 1.1 I tryed incorporating stxx, but this limits the use of RequestProcessor that I use in the application. I kn

RE: XSLT Transform to JSP XML syntax to Struts-Faces and JSF?

2006-01-16 Thread Jason Long
PROTECTED] On Behalf Of Craig McClanahan Sent: Monday, January 16, 2006 2:40 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: XSLT Transform to JSP XML syntax to Struts-Faces and JSF? On 1/16/06, Jason Long <[EMAIL PROTECTED]> wrote: > > Thanks for the reply Craig. I

Re: XSLT Transform to JSP XML syntax to Struts-Faces and JSF?

2006-01-16 Thread Craig McClanahan
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig > McClanahan > Sent: Monday, January 16, 2006 2:11 PM > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: Re: XSLT Transform to JSP XML syntax to Struts-Faces and JSF? > > On 1/16/06, Jason Long <[EMAIL PROTECTED

RE: XSLT Transform to JSP XML syntax to Struts-Faces and JSF?

2006-01-16 Thread Jason Long
Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig McClanahan Sent: Monday, January 16, 2006 2:11 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: XSLT

Re: XSLT Transform to JSP XML syntax to Struts-Faces and JSF?

2006-01-16 Thread Craig McClanahan
> is modification of com.sourcebeat.strutslive.common.PojoRequestProcessor. > > Ultimately I would like to replace Struts completely in favor of JSF. > > 1. Can I just write and XSLT transform and run it on all of my pages to > switch to Struts-Faces and JSF? > 2. Is there a

XSLT Transform to JSP XML syntax to Struts-Faces and JSF?

2006-01-16 Thread Jason Long
. Ultimately I would like to replace Struts completely in favor of JSF. 1. Can I just write and XSLT transform and run it on all of my pages to switch to Struts-Faces and JSF? 2. Is there a tool for this already? 3. Will this work with the custom request processor I have? I would like to do the

Re: Struts with XSLT

2005-08-19 Thread Craig McClanahan
On 8/18/05, Eduardo Ribeiro da Silva <[EMAIL PROTECTED]> wrote: > Anybody knows how I can generate JSP with struts tags with XSLT and pass JSP > to > JSPProcessor, for compile them? Because I have tags that client browse simple > don't known. The strategy you are as

Re: Struts with XSLT

2005-08-18 Thread Peter Maas
certainly useful in 'hybrid' designs. Complex form stuff, and pages which need to be update oftern are mostly taken care of by jsp2.0 pages seems that our designers prefer jsp2.0 over the (for them) more complex XSLT. regards, Peter On Thu, 2005-08-18 at 16:31 +0100, Graham Smith w

RE: Struts with XSLT

2005-08-18 Thread Dharmendra . Sharan
Hi All, Seems a bit of the "silver bullet" scenario is going in the discussion of XSLT versus Struts approach, someone has correctly said "there's no silver bullet". You are required to use your judgement based on your experience on which tool/technique to u

RE: Struts with XSLT

2005-08-18 Thread Eduardo Ribeiro da Silva
Anybody knows how I can generate JSP with struts tags with XSLT and pass JSP to JSPProcessor, for compile them? Because I have tags that client browse simple don't known. -Original Message- From: John Martyniak [mailto:[EMAIL PROTECTED] Sent: Thu 8/18/2005

AW: Struts with XSLT

2005-08-18 Thread Leon Rosenberg
> -Ursprüngliche Nachricht- > Von: Michael Jouravlev [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 18. August 2005 22:11 > An: Struts Users Mailing List > Betreff: Re: Struts with XSLT > Ever heard of translets? But even if you call XSLT processor > for every

Re: Struts with XSLT

2005-08-18 Thread Michael Jouravlev
On 8/18/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > > On 8/18/05, Graham Smith <[EMAIL PROTECTED]> wrote: > > > * Should I just stop fighting city hall and abandon XSLT in > > favour of JSP? > > Yes :-) Really. We did it a year ago, and gained A LOT of

Re: Struts with XSLT

2005-08-18 Thread Graham Smith
On Thursday 18 August 2005 20:52, Leon Rosenberg wrote: > > I'm glad to see there is some support for XSLT. Makes me feel > > like I haven't been barking up the wrong tree for the last > > few years. Sending the XML to the client is a nice idea in > > principal

Re: Struts with XSLT

2005-08-18 Thread Leon Rosenberg
> I'm glad to see there is some support for XSLT. Makes me feel > like I haven't been barking up the wrong tree for the last > few years. Sending the XML to the client is a nice idea in > principal but has so many problems that IMHO it's not worth > it. Trans

AW: Struts with XSLT

2005-08-18 Thread Leon Rosenberg
> -Ursprüngliche Nachricht- > Von: Michael Jouravlev [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 18. August 2005 21:33 > An: Struts Users Mailing List > Betreff: Re: Struts with XSLT > > On 8/18/05, Graham Smith <[EMAIL PROTECTED]> wrote: > > *

Re: Struts with XSLT

2005-08-18 Thread Graham Smith
On Thursday 18 August 2005 20:32, Michael Jouravlev wrote: > On 8/18/05, Graham Smith <[EMAIL PROTECTED]> wrote: > > * Should I just stop fighting city hall and abandon XSLT in favour of > > JSP? > > No. XML/XSLT is more flexible than JSP and has been supported bunch of

Re: Struts with XSLT

2005-08-18 Thread Michael Jouravlev
On 8/18/05, Graham Smith <[EMAIL PROTECTED]> wrote: > * Should I just stop fighting city hall and abandon XSLT in favour of JSP? No. XML/XSLT is more flexible than JSP and has been supported bunch of other markup tecnhologies like XML, XHTML and XPath for a long time. Keep it if it wor

Re: Struts with XSLT

2005-08-18 Thread John Martyniak
I have also successfully used Struts and XSLT, Haven't had an issue. I currently use JSP to generate the dynamic top component, and then include the XSLT generated HTML in the main content area. I think that it is easier to manipulate XML with XSLT then it is to do it with JSP

RE: Struts with XSLT

2005-08-18 Thread Mark Benussi
I used XSLT for all my applications to generate content as html files which Struts includes in a page template using tiles. It also allows me to search the pages as pure html content. If you are putting logic in your page you could... don't shudder, use XSLT to generate JSP's. ---

Re: Struts with XSLT

2005-08-18 Thread Craig McClanahan
On 8/18/05, Graham Smith <[EMAIL PROTECTED]> wrote: > * Should I just stop fighting city hall and abandon XSLT in favour of JSP? Two thoughts strike me as I read your discussion, and the reasoning for which you like XSLT: * You seem to be concluding that XSLT and JSP are mutually

Re: Struts with XSLT

2005-08-18 Thread Graham Smith
ook. You, of course, are welcome to get involved, > submit patches, even join the project. I have been looking for a project to work on in my spare time (just a mo while I pick myself up off the floor from laughing at the idea of having spare time). If I decide to stick with XSLT I'll pro

Re: Struts with XSLT

2005-08-18 Thread Don Brown
tches, even join the project. Regarding Struts and XSLT, I've had a good experience ditching JSP. XSLT is powerful and fun even once you get the hang of it. Now to your questions... On 8/18/05, Graham Smith <[EMAIL PROTECTED]> wrote: > * Should I just stop fighting city hall and abando

Struts with XSLT

2005-08-18 Thread Graham Smith
makes it hard to get the balanced view of the technology arena that is aquired through working with other developers. Therefore I have a couple of high level architecture questions that I am interested to hear your views on. The current application that I am working on uses XSLT to generate web

Re: ActionForward not working in Struts/Filters/XSLT application

2005-04-13 Thread Alan . Mullane
Hi again, I posted this yesterday but got no reply, so here it is again - can anyone help? Thanks Alan Alan Mullane 04/12/2005 10:30 AM To: user@struts.apache.org cc: Subject:ActionForward not working in Struts/Filters/XSLT application Hi, I am

ActionForward not working in Struts/Filters/XSLT application

2005-04-12 Thread Alan . Mullane
Hi, I am working on the development a Struts application that reads all user requests into a number of Struts Actions and uses XSLT to output the response of all pages as HTML. Also, all requests pass through one or more Servlet Filters before entering the Actions, to handle security, logging

RE: Struts from XSLT

2004-07-29 Thread Matthew Van Horn
sn't > happen. > > When I do a view source on the page I see , I > need to see "FooResult". > > Application.properties file: > -- > Foo=FooResult My (incorrect) assumption was that you were using an XSLT transform to generate a JSP page w

RE: Struts from XSLT

2004-07-29 Thread Johan Wasserman - BCX - Infrastructure Services
ed to see "FooResult". Application.properties file: -- Foo=FooResult -Original Message- From: Matthew Van Horn [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 12:00 AM To: Struts Users Mailing List Subject: RE: Struts from XSLT Are you sure you are in t

RE: Struts from XSLT

2004-07-29 Thread Johan Wasserman - BCX - Infrastructure Services
PROTECTED] Sent: Thursday, July 29, 2004 12:00 AM To: Struts Users Mailing List Subject: RE: Struts from XSLT Are you sure you are in the right context when you call 'name()' ? Here is some working XML / XSLT - you can try it at: http://www.cherrypy.org/demo/xmlXslOnline XML Doc:

RE: Struts from XSLT

2004-07-28 Thread Matthew Van Horn
Are you sure you are in the right context when you call 'name()' ? Here is some working XML / XSLT - you can try it at: http://www.cherrypy.org/demo/xmlXslOnline XML Doc: baz XSLT Doc: http://www.w3.org/1999/XSL/Transform"; xmlns:bean="http://s

RE: Struts from XSLT

2004-07-28 Thread Marco Mistroni
Hello,] How about ? Regards marco -Original Message- From: Johan Wasserman - BCX - Infrastructure Services [mailto:[EMAIL PROTECTED] Sent: 28 July 2004 11:02 To: Struts Users Mailing List Subject: RE: Struts from XSLT Tried that approach unsuccessfully (output is

RE: Struts from XSLT

2004-07-28 Thread Johan Wasserman - BCX - Infrastructure Services
But that renders to the HTML output and struts don't kick in. -Original Message- From: Matthew Van Horn [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 11:48 AM To: 'Struts Users Mailing List' Subject: RE: Struts from XSLT Assuming an elemen

RE: Struts from XSLT

2004-07-28 Thread Matthew Van Horn
Assuming an element: If you are doing a XSLT transform, it would be: This will result in: -Matt > -Original Message- > From: Johan Wasserman - BCX - Infrastructure Services > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28,

Struts from XSLT

2004-07-28 Thread Johan Wasserman - BCX - Infrastructure Services
How do I assign output from xsl to bean:message or fmt:message. For example "/> I have tried using It doesn't work.

RE: redirecting XML/XSLT to JSP or Vice Versa

2004-07-27 Thread Johan Wasserman - BCX - Infrastructure Services
ance (this does not work!): " /> -Original Message- From: MARU, SOHIL (SBCSI) [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 4:54 PM To: Struts Users Mailing List Subject: RE: redirecting XML/XSLT to JSP or Vice Versa I am doing something similar, I have a JSP with the

RE: redirecting XML/XSLT to JSP or Vice Versa

2004-07-27 Thread Johan Wasserman - BCX - Infrastructure Services
t Subject: RE: redirecting XML/XSLT to JSP or Vice Versa Glad that could help. I have been using it for over a month now all over my system and it seems to be working like a charm. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 2:33

  1   2   >