Re: C3 and XSP equivalent

2012-04-04 Thread gelo1234
n ? > > > Stable enough to give a try? Yes. > Ready for production? No, unless you have enough skills to dive inside the > source code. There are C3-based projects in production out there, but > latest release is alpha [1], and development version is still beta1. > > > 2. Is th

Re: C3 and XSP equivalent

2012-04-04 Thread Francesco Chicchiriccò
eta1. 2. Is there any equivalent of XSP in C3 ? Not really. As you say below, XSP were already deprecated in C2.1. The only template mechanism available in C3 is StringTemplate [2] which is way less flexible (and error-prone) than XSP. The flexibility of XSP is very important to us i

C3 and XSP equivalent

2012-04-02 Thread gelo1234
leaks from libraries that are no longer in use. That's why we soon plan to upgrade to the newest release of Cocoon. And i have few questions related to that topic: 1. Is C3 stable enough to give it a try in a production ? 2. Is there any equivalent of XSP in C3 ? The flexibility of X

RE: XSP -> Java class generation and Compilation

2010-12-20 Thread suyog.doshi
91-20-39105229; Mobile:+91- 9970320066 suyog.do...@wipro.com www.wipro.com -Original Message- From: Laurent Medioni [mailto:lmedi...@odyssey-group.com] Sent: Friday, December 17, 2010 8:36 PM To: users@cocoon.apache.org Subject: RE: XSP -> Java class generation and Compilation

RE: XSP -> Java class generation and Compilation

2010-12-17 Thread Laurent Medioni
Hi, In cocoon.xconf set the XSP auto-reload to true. Cocoon will detect that you changed your XSP file and recompile it (obviously not a production setting...). ... Laurent From: suyog.do...@wipro.com [mailto:suyog.do...@wipro.com] Sent

XSP -> Java class generation and Compilation

2010-12-17 Thread suyog.doshi
Hi All, I am facing a problem in my project where complete deployment is through ant script and development build takes more that 2 Hrs. Even If I have one line changes in XSP I need to rebuild complete Module. Previously I was using Linux and WAS6.1 there I used to delete _xsp.java and

RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
urav Kalia [mailto:gaurav.ka...@techblue.co.uk] Sent: Tuesday, September 07, 2010 7:26 PM To: users@cocoon.apache.org Subject: Re: Problem using XSP pages Can you check that all the tags are closed. If you look at the error it is saying map:components must be terminated by the matching end-tag"&quo

Re: Problem using XSP pages

2010-09-07 Thread Gaurav Kalia
Can you check that all the tags are closed. If you look at the error it is saying map:components must be terminated by the matching end-tag"" Fatal error parsing file:///C:/DOCUME~1/sweta/LOCALS~1/Temp/Jetty_0_0_0_0__webapp4s5m8/b locks/custom-block/sitemap.xmap (line 118 col. 3): T

RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
t; must be terminated by the matching end-tag "". RequestURI=/custom-block/xspdemo/ -Original Message- From: Gaurav Kalia [mailto:gaurav.ka...@techblue.co.uk] Sent: Tuesday, September 07, 2010 7:02 PM To: users@cocoon.apache.org Subject: Re: Problem using XSP pages Hi Shweta P

RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
Yup I have the same lines at the beginning of the sitemap I think I missed something,,can any other setting we have to done for xsp pages? -Original Message- From: Johan Cwiklinski [mailto:johan.cwiklin...@ajlsm.com] Sent: Tuesday, September 07, 2010 7:02 PM To: users

Re: Problem using XSP pages

2010-09-07 Thread Gaurav Kalia
tember 07, 2010 6:35 PM To: users@cocoon.apache.org; shweta.sing...@ictect.com Subject: RE: Problem using XSP pages Hi Shweta, You should put this line under tag. Suyog Uttam Doshi Senior Software Engineer Wipro Technologies Plot No.31,MIDC, Rajiv Gandhi Infotech Park, Hinjewadi,Phase II, Pune- 411057

Re: Problem using XSP pages

2010-09-07 Thread Johan Cwiklinski
The begining of the sitemap.xmap should looks like: http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://apache.org/cocoon/sitemap/1.0 http://cocoon.apache.org/schema/sitemap/cocoon-sitemap-1.0.xsd"; xmlns:map="http://apache.org/cocoon/sitemap/1.0";> [...]

RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
ber 07, 2010 6:35 PM To: users@cocoon.apache.org; shweta.sing...@ictect.com Subject: RE: Problem using XSP pages Hi Shweta, You should put this line under tag. Suyog Uttam Doshi Senior Software Engineer Wipro Technologies Plot No.31,MIDC, Rajiv Gandhi Infotech Park, Hinjewadi,Phase II, Pune- 4

Re: Problem using XSP pages

2010-09-07 Thread Jasha Joachimsthal
0)20-5224466 San Francisco - Hippo USA Inc. 185 H Street, suite B, Petaluma CA 94952 +1 (707) 7734646 > > > > > -Original Message- > From: Johan Cwiklinski [mailto:johan.cwiklin...@ajlsm.com] > Sent: Tuesday, September 07, 2010 5:56 PM > To: users@cocoon.apache.org > Subj

RE: Problem using XSP pages

2010-09-07 Thread suyog.doshi
www.wipro.com -Original Message- From: Shweta Singhai [mailto:shweta.sing...@ictect.com] Sent: Tuesday, September 07, 2010 6:23 PM To: users@cocoon.apache.org; shweta.sing...@ictect.com Subject: RE: Problem using XSP pages Actually where I need to put this line, means at which place in

RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
Actually where I need to put this line, means at which place in sitemap.xmap. -Original Message- From: Shweta Singhai [mailto:shweta.sing...@ictect.com] Sent: Tuesday, September 07, 2010 6:14 PM To: users@cocoon.apache.org Subject: RE: Problem using XSP pages Hi, When I Put this

RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
nerator" is not bound. RequestURI=/custom-block/xspdemo -Original Message- From: Johan Cwiklinski [mailto:johan.cwiklin...@ajlsm.com] Sent: Tuesday, September 07, 2010 5:56 PM To: users@cocoon.apache.org Subject: Re: Problem using XSP pages Hi, Le 07/09/2010 14:12, Shweta Singha

Re: Problem using XSP pages

2010-09-07 Thread Johan Cwiklinski
Hi, Le 07/09/2010 14:12, Shweta Singhai a écrit : > When I try > > > > in my sitemap.xmap > > > > Then my browser showing: > > As Output of xsp page. But I think its not a proper output. I don’t know > where I did mistake. Can any one tell me please.

RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
When I try in my sitemap.xmap Then my browser showing: As Output of xsp page. But I think its not a proper output. I don't know where I did mistake. Can any one tell me please. Thanks, Shweta From: Jeroen Reijn [mailto:j.re...@onehippo.com] Sent: Tuesday, Septemb

Re: Problem using XSP pages

2010-09-07 Thread Jeroen Reijn
Try: instead of Gr, Jeroen On Tue, Sep 7, 2010 at 1:10 PM, Shweta Singhai wrote: > Hi, > > > > This is the code I am using in my .xsp file. > > > > > > xmlns:xsp="http://www.apache.org/1999/XSP";> > > String callme="Hello Worl

RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
Hi, This is the code I am using in my .xsp file. http://www.apache.org/1999/XSP";> String callme="Hello World"; callme This is a comment When I am running this file the output is same as .xsp file contents. Can you please tell me where am I lacking?

Re: Problem using XSP pages

2010-09-07 Thread Jeroen Reijn
I might be mistaking, but I guess your map serialize should be put to xml or something similar. What does your xsp produce. XML,HTML, or something else? On Tue, Sep 7, 2010 at 9:39 AM, Shweta Singhai wrote: > I made a folder with xspdemo name,and create hello.xsp file in it. > > In sit

RE: Problem using XSP pages

2010-09-07 Thread Shweta Singhai
I made a folder with xspdemo name,and create hello.xsp file in it. In sitemap.xmap,I made this new pipeline for xsp page and write the following code

Re: Problem using XSP pages

2010-09-07 Thread Jos Snellings
[mailto:jos.snelli...@pandora.be] *Sent:* Tuesday, September 07, 2010 12:02 PM *To:* users@cocoon.apache.org *Subject:* Re: Problem using XSP pages Hi, Shweta, Please tell us first which version cocoon you deployed. Is that 2.2? Cheers, Jos On 09/07/2010 07:46 AM, Shweta Singhai wrote: Hi All, This

RE: Problem using XSP pages

2010-09-06 Thread Shweta Singhai
Hi Jos, Yes its cocoon 2.2 From: Jos Snellings [mailto:jos.snelli...@pandora.be] Sent: Tuesday, September 07, 2010 12:02 PM To: users@cocoon.apache.org Subject: Re: Problem using XSP pages Hi, Shweta, Please tell us first which version cocoon you deployed. Is that 2.2? Cheers

Re: Problem using XSP pages

2010-09-06 Thread Jos Snellings
, but when I create a xsp file and try to run same as simple xml file , then its not working, can any one tell me, is there any special setting or configuration require for xsp pages...?? Please help me in run and configuration of xsp pages. Shweta Singhai Technical Analyst Ictect, Inc

Problem using XSP pages

2010-09-06 Thread Shweta Singhai
Hi All, This is Shweta, I am new in cocoon, I configured cocoon block with maven server ..and also with ant. For a simple block its working properly, but when I create a xsp file and try to run same as simple xml file , then its not working, can any one tell me, is there any special

Re: XSP Editor

2010-04-13 Thread Rajeev Kumar
Hi Jasha, Thank you for your reply. But is there any editor/plugin available for XPS editing? -Rajeev Kumar - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.

Re: XSP Editor

2010-04-12 Thread Jasha Joachimsthal
On 12 April 2010 19:07, wrote: > Hi, > I am going to use cocoon 2.1 in my project. But still couldn't find any > XSP editor for same. Also debugging same seems problematic. > I am using eclipse editor currently. > > Can u suggest for best option i should use fo

XSP Editor

2010-04-12 Thread rajeev.kumar13
Hi, I am going to use cocoon 2.1 in my project. But still couldn't find any XSP editor for same. Also debugging same seems problematic. I am using eclipse editor currently. Can u suggest for best option i should use for same. Thank You, Rajeev Kumar Please do not print this email unle

Re: XSP cache and cinclude problem (Cocoon 2.0.5-dev)

2010-03-04 Thread Grzegorz Szpetkowski
t see any sense why use-request-parameters makes cache problem, is there solution to use "normal" saxon with request params and XSP caching ? Regards, Greg - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org

XSP cache and cinclude problem (Cocoon 2.0.5-dev)

2010-03-03 Thread Grzegorz Szpetkowski
Hi, I am using old Cocoon 2.0.5-dev and have problem with XSP caching in following sitemap (some code of sitemap.xmap is intentionally omitted): In path/getdata.xsp there is Java code like this: http://apache.org/xsp"; xmlns:util=

Re: escaping special characters in an XSP String

2009-12-07 Thread Paul Adriaenssens
formatting finally to be represented by the browser. Thank you, Paul >- Oorspronkelijk bericht - >Van : Jos Snellings [mailto:jos.snelli...@pandora.be] >Verzonden : maandag , december 7, 2009 02:27 PM >Aan : users@cocoon.apache.org >Onderwerp : Re: escaping special charact

Re: escaping special characters in an XSP String

2009-12-07 Thread Jos Snellings
Hi Paul, Can you please explain the purpose of not escaping? Do you want for instance to prevent ampersand from being converted to "&" ? Best, Jos On Mon, 2009-12-07 at 13:21 +, Paul Adriaenssens wrote: > Hi, > > I want to avoid escaping special characters in

escaping special characters in an XSP String

2009-12-07 Thread Paul Adriaenssens
Hi, I want to avoid escaping special characters in an xsp String retrieved through . In the archives http://www.mail-archive.com/cocoon-us...@xml.apache.org/msg20263.html <https://webmail.ua.ac.be/exchweb/bin/redir.asp?URL=http://www.mail-archive.com/cocoon-us...@xml.apache.org/msg20263.h

escaping special characters in an xsp String

2009-12-07 Thread Paul Adriaenssens
Hi, I want to avoid escaping special characters in an xsp String retrieved through In the archives p://www.mail-archive.com/cocoon-us...@xml.apache.org/msg20263.html <https://webmail.ua.ac.be/exchweb/bin/redir.asp?URL=http://www.mail-archive.com/cocoon-us...@xml.apache.org/msg20263.h

xsp add cookie to response

2009-10-09 Thread ballygowen
Hi, I'm trying to send a cookie in a response using xsp but it's not working for me. I've tried using within xsp:logic org.apache.cocoon.environment.http.HttpCookie c = new org.apache.cocoon.environment.http.HttpCookie("thisuser", user); response.addCookie(c); an

RE: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler

2009-09-04 Thread Laurent Medioni
. août 2009 22:45 To: users@cocoon.apache.org Subject: Re: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler El 31/08/09 04:54, Laurent Medioni escribió: > Anyway I think that EclipseJavaCompiler should be modified to properly handle &g

Re: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler

2009-08-31 Thread Antonio Gallardo
El 31/08/09 04:54, Laurent Medioni escribió: Anyway I think that EclipseJavaCompiler should be modified to properly handle 1.6 without reverting to 1.3 by default (even if the 2 additional jdt properties look more cosmetic than critical for the generated code). +1 Would you provide a patch.

RE: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler

2009-08-31 Thread Laurent Medioni
additional jdt properties look more cosmetic than critical for the generated code). Laurent -Original Message- From: Antonio Gallardo [mailto:agalla...@agssa.net] Sent: vendredi, 28. août 2009 17:51 To: users@cocoon.apache.org Subject: Re: Cocoon 2.1.11- XSP compiled in Java 1.3 when

Re: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler

2009-08-28 Thread Antonio Gallardo
. And everything seems to work fine. Laurent From: Antonio Gallardo [mailto:agalla...@agssa.net] Sent: jeudi, 27. août 2009 23:37 To: users@cocoon.apache.org Subject: Re: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the

RE: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler

2009-08-28 Thread Laurent Medioni
1.6. And everything seems to work fine. Laurent From: Antonio Gallardo [mailto:agalla...@agssa.net] Sent: jeudi, 27. août 2009 23:37 To: users@cocoon.apache.org Subject: Re: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and

Re: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler

2009-08-27 Thread Antonio Gallardo
Hi Laurent, Please look into the cocoon.xconf for the configuration of eclipse compiler and set the value to "1.5" instead of "auto". Here is the code: 67 : Best Regards, Antonio Gallardo El 21/08/09 09:27, Laurent Medioni escribió: Hello, Still with our Cocoon 2.1.11

Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler

2009-08-21 Thread Laurent Medioni
Hello, Still with our Cocoon 2.1.11 on a 1.6 JVM series... Just noticed that org.apache.cocoon.components.language.programming.java.EclipseJavaCompiler does not know anything about 1.6 (nothing wrong with this as it uses JDT 3.1) but in this case defaults to... 1.3, which is quite a big step bac

Re: How to pass parameters to an xsp sheet (called in a element).

2009-07-22 Thread DAVIGNON Andre - CETE NP/DIODé/PANDOC
uest parameters to an xsp sheet which is called in a element. Following example: http://www.x.com/topnavbar"; src="documents/home/menu_en.xml"/> http://www.x.com/mainnavbar&qu

How to pass parameters to an xsp sheet (called in a element).

2009-07-22 Thread SGE0
I thought this was simple but I can't seem to pass request parameters to an xsp sheet which is called in a element. Following example: http://www.x.com/topnavbar"; src="documents/home/menu_en.xml"/>

Re: Cocoon 2.1.11: Using org.apache.commons.mail in xsp

2009-06-10 Thread hideki tihiri
? Am I correct ? Any experience with this ? H. On Wed, Jun 10, 2009 at 2:21 PM, Jasha Joachimsthal < j.joachimst...@onehippo.com> wrote: > Hi Hideki, > > why would you use XSP for that? You can use the SendMailTransformer > [1] in your pipeline. You can use both plain text and

Re: Cocoon 2.1.11: Using org.apache.commons.mail in xsp

2009-06-10 Thread Ivan Latysh
hideki tihiri wrote: I would like to use the org.apache.commons.mail package so I can easily send HTML Emails. Have a look at: http://code.google.com/p/saxon-extensions You can send email(s) right from your xslt via EmailEmitter. This sample will get you started http://code.google.com/p/saxon

Re: Cocoon 2.1.11: Using org.apache.commons.mail in xsp

2009-06-10 Thread Jasha Joachimsthal
Hi Hideki, why would you use XSP for that? You can use the SendMailTransformer [1] in your pipeline. You can use both plain text and HTML mail. [1] http://cocoon.apache.org/2.2/blocks/mail/1.0/1099_1_1.html (documentation is for 2.2 but is also valid for 2.1) Jasha Joachimsthal j.joachimst

Cocoon 2.1.11: Using org.apache.commons.mail in xsp

2009-06-10 Thread hideki tihiri
Hi, I would like to use the org.apache.commons.mail package so I can easily send HTML Emails. Therefore I made an xsp with following code (snippets): http://www.w3.org/1999/XSL/Transform"; xmlns:xsp="http://apache.org/xsp"; xmlns:log="http://ap

Re: Java/XSP/ClassPath and Internal Server Error

2009-04-23 Thread Alexandre Mazouz
rism.xsp.search.searchExprProcessor" > import org.dynaprism.xsp.search.searchExprProcessor; > > // end error > > > public class search_xsp extends XSPGenerator { > // Files this XSP depends on > > ... > Lin

Java/XSP/ClassPath and Internal Server Error

2009-04-22 Thread Alexandre Mazouz
or; // end error public class search_xsp extends XSPGenerator { // Files this XSP depends on ... Line 80, column -1: cannot access org.dynaprism.xsp.search.searchExprProcessor Line 0, column 0: 1 error Description: org.apache.cocoon.ProcessingE

[SOLVED] Actions and XSP: reusing classes from actions in XSP does not work

2009-04-08 Thread cocoon
nto a database. > > I am using Tomcat 6.0, Cocoon 2.1.10 and Java 1.6 on Win XP Professional > (dutch). > > The way I want to work: > 1) upload the file > 2) process the file with a custom written action > 3) do all the sql-stuff with an xsp page > > Processing/Reading t

Actions and XSP: reusing classes from actions in XSP does not work

2009-04-08 Thread cocoon
, Cocoon 2.1.10 and Java 1.6 on Win XP Professional (dutch). The way I want to work: 1) upload the file 2) process the file with a custom written action 3) do all the sql-stuff with an xsp page Processing/Reading the transformed data in step 3 fails. Uploading the file works. Processing the file

Re: How can i activate XSP in cocoon-2.2 ?

2008-09-15 Thread hussayn
t end of september) @DAVIGNON: Meanwhile i think, flowscript plus jx-templates are a good alternative to XSP. At least the whole freedom of XSP seems to be available, while the typically complex page navigation issues adressed in XSP can cleanly be factored out to flowscripts as far as i understa

Re: How can i activate XSP in cocoon-2.2 ?

2008-09-13 Thread Mark Lundquist
On Sep 13, 2008, at 1:35 AM, hussayn wrote: 1.) Create a flowScript (e.g. main.js). In that flowscript prepare all data by accessing the relevant beans, possibly trigger calculations by calling bean-methods, and fetching the relevant data by accessing the bean getters

Re: How can i activate XSP in cocoon-2.2 ?

2008-09-13 Thread Mark Lundquist
On Sep 13, 2008, at 1:35 AM, hussayn wrote: [...] cocoon.sendPageAndWait("helloWorld.jx", { date: now } ); [...] BTW... make sure you understand the difference between sendPageAndWait() and sendPage(). It has to do with continuations, and I don't have time to explain it now but you will

Re: How can i activate XSP in cocoon-2.2 ?

2008-09-13 Thread Mark Lundquist
On Sep 13, 2008, at 1:35 AM, hussayn wrote: [examples snipped...] Is that more or less a correct description of the nuts and bolts ? Yes, exactly, you are totally getting it now! :-) cheers, —ml— - To unsubscribe, e-mail:

Re: How can i activate XSP in cocoon-2.2 ?

2008-09-13 Thread hussayn
wscript Hello world We are running at ${date} welcome to cocoon-flowscripts In principle i also could have written the flowscript: function myHelloFunction() { cocoon.sendPageAndWait("helloWorld.jx"); } and the jx-template: http://apache.or

Re: How can i activate XSP in cocoon-2.2 ?

2008-09-12 Thread Mark Lundquist
On Sep 12, 2008, at 8:53 AM, hussayn wrote: well, i am now quite a few steps further. Sometimes when you dig and dig, you miss the obvious. Now i understood, that the flow-script is indeed javascript, but it only regulates the when which page will be called, yes server side, and no, that

Re: How can i activate XSP in cocoon-2.2 ?

2008-09-12 Thread hussayn
ing ? well... i will see ;-) Anyways, the stormy wheather clears up by now and it looks like i can get further towards my goals quite fast now ;-) Thanks again for all input and clearification! regards, hussayn -- View this message in context: http://www.nabble.com/How-can-i-activate-XSP-in-cocoo

Re: How can i activate XSP in cocoon-2.2 ?

2008-09-12 Thread Mark Lundquist
On Sep 12, 2008, at 2:10 AM, hussayn wrote: i get the feeling, XSP is evil Yes... XSP is evil. and i should move to something else (flow-script?) Yes, flowscript + template block How shall i proceed ? I will try the flow-script way now, but i am absolutely unsure, it doesnt feel right

Re: How can i activate XSP in cocoon-2.2 ?

2008-09-12 Thread hussayn
hi Andre, thank you for your hints! this is interesting information. I did not find any note about XSP been not supported by cocoon-2.2. From the documentation i tend to understand, it is supported, but somehow "no any more state of the art"... But i could not find a single hint ab

Re: How can i activate XSP in cocoon-2.2 ?

2008-09-12 Thread DAVIGNON Andre - CETE NP/DIODé/PANDOC
Hi Hussayn, Now i understand the previous mentioned thread to some extend. And i ask myself: has XSP been fully replaced by "flow-script" in cocoon-2.2 ? Further investigations seem necessary ... and i found this thread: http://markmail.org/message/q5rgdefktbqt4ypj The autho

How can i activate XSP in cocoon-2.2 ?

2008-09-12 Thread hussayn
Hi; I am experimenting with cocoon-2.2 and this is what i want to do right now: I have a lot of backend-java code, which contains a whole lot of business logic. I want to embed call to the java backend in my cocoon-generated pages. Now i first thought, XSP is my choice, so i searched for

class reloading from within XSP (cocoon 2.1.11)

2008-06-21 Thread Ryan Agler
In the course of development, I am often needing to have changes to custom classes seen within an XSP. Having to restart Tomcat or reload the cocoon webapp is painfully slow. Say for example I have a simple class "EchoHello.class" located in WEB-INF/classes/test that has one m

class reloading from within XSP (cocoon 2.1.11)

2008-06-20 Thread Ryan Agler
In the course of development, I am often needing to have changes to custom classes seen within an XSP. Having to restart Tomcat or reload the cocoon webapp is painfully slow. Say for example I have a simple class "EchoHello.class" located in WEB-INF/classes/test that has one m

XSP block (was: Type 'serverpages' does not exist for 'map:generate')

2008-06-09 Thread Joerg Heinicke
Moving this discussion from users list (for reference [1]) to dev list. On 06.06.2008 19:02, Alfred Nathaniel wrote: Warning: I'm stating my own opinion here, nothing official or something like that. There are at least three problems with XSP: 1. No active committer is interested i

Re: Passing values from an XSP back to the sitemap

2007-12-16 Thread Kamal Bhatt
Joerg Heinicke wrote: On 17.12.2007 1:31 Uhr, Kamal Bhatt wrote: Can you move your variable into the parameters of a new pipeline? src="cocoon:/parsexspaction/{my-xsp-action-variable}"/> How can I aggregate this though? His solutio

Re: Passing values from an XSP back to the sitemap

2007-12-16 Thread Joerg Heinicke
On 17.12.2007 1:31 Uhr, Kamal Bhatt wrote: Can you move your variable into the parameters of a new pipeline? src="cocoon:/parsexspaction/{my-xsp-action-variable}"/> How can I aggregate this though? His solution is indeed a nice work ar

Re: Passing values from an XSP back to the sitemap

2007-12-16 Thread Kamal Bhatt
Joerg Heinicke wrote: On 17.12.2007 0:31 Uhr, Kamal Bhatt wrote: I have a folder location that is specified in a database. I need to run a query on the database and generate XML (using an XSP) , as well, I need to get this folder location and use it to determine the location of some XSLTs

Re: Passing values from an XSP back to the sitemap

2007-12-16 Thread Kamal Bhatt
[EMAIL PROTECTED] wrote: On 12/17/07, Kamal Bhatt <[EMAIL PROTECTED]> wrote: I should probably phrase the scenario better. I have a folder location that is specified in a database. I need to run a query on the database and generate XML (using an XSP) , as well, I need to get this

Re: Passing values from an XSP back to the sitemap

2007-12-16 Thread solprovider
On 12/17/07, Kamal Bhatt <[EMAIL PROTECTED]> wrote: > I should probably phrase the scenario better. I have a folder location > that is specified in a database. I need to run a query on the database > and generate XML (using an XSP) , as well, I need to get this folder > loca

Re: Passing values from an XSP back to the sitemap

2007-12-16 Thread Joerg Heinicke
On 17.12.2007 0:31 Uhr, Kamal Bhatt wrote: I have a folder location that is specified in a database. I need to run a query on the database and generate XML (using an XSP) , as well, I need to get this folder location and use it to determine the location of some XSLTs that is later used to

Re: Passing values from an XSP back to the sitemap

2007-12-16 Thread Kamal Bhatt
I fear I did not understand what you really want - and still don't. Can you rephrase it? I should probably phrase the scenario better. I have a folder location that is specified in a database. I need to run a query on the database and generate XML (using an XSP) , as well, I need t

Re: Passing values from an XSP back to the sitemap

2007-12-16 Thread Joerg Heinicke
? Couldn't you wrap the map:aggregate with the map:act XSP action? When I tried to get te value testXML in test-xsp-action2, it didn't work. It does work when it is done in test-xsp-action. I would prefer not wrapping the XSP action. What I have is a situation where I will need to get some d

Re: Passing values from an XSP back to the sitemap

2007-12-16 Thread Kamal Bhatt
exactly is the problem? Couldn't you wrap the map:aggregate with the map:act XSP action? When I tried to get te value testXML in test-xsp-action2, it didn't work. It does work when it is done in test-xsp-action. I would prefer not wrapping the XSP action. What I have is a situation where I

Re: Passing values from an XSP back to the sitemap

2007-12-16 Thread Joerg Heinicke
? Couldn't you wrap the map:aggregate with the map:act XSP action? Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Passing values from an XSP back to the sitemap

2007-12-16 Thread Kamal Bhatt
my-xsp-action.xsp. I would like this to work with aggregates. I know something can be achieved with session objects, but surely there has to be better way. I am using Cocoon 2.1.9. We can do similar things with flow attributes. Thanks. -- Kamal Bhatt

Re: howto call xsp from xsp

2007-07-16 Thread Tobia Conforto
robf wrote: > At some point in an xsp I want to include the resultset from calling > another xsp, just like it is possible in xslt's This should work: http://apache.org/xsp"; xmlns:util="http://apache.org/xsp/util/2.0";> . . . cocoon://someurl?/tagx

Re: howto call xsp from xsp

2007-07-14 Thread robf
Grzegorz Kossakowski wrote: robf pisze: Hi , Hi At some point in an xsp I want to include the resultset from calling another xsp , just like it is possible in xslt's: http://apache.org/xsp";> ... ... What about using XInclude trans

Re: howto call xsp from xsp

2007-07-13 Thread Grzegorz Kossakowski
robf pisze: Hi , Hi At some point in an xsp I want to include the resultset from calling another xsp , just like it is possible in xslt's: http://apache.org/xsp";> ... ... What about using XInclude transformer: http://cocoon.apache.org/2.1/user

howto call xsp from xsp

2007-07-13 Thread robf
Hi , At some point in an xsp I want to include the resultset from calling another xsp , just like it is possible in xslt's: http://apache.org/xsp";> ... ... Rob - To unsubscribe, e

Upgrading xsp-files from 2.1.4 to 2.1.10

2007-07-03 Thread Daniel Brüßler
Hello, when I read http://cocoon.apache.org/2.1/installing/updating-older.html and the changelog http://cocoon.apache.org/2.1/changes.html it looks like there are many changes since february 2004 what affect the XSP-files. Is the best way now to look at the changelog for XSP-changes or is there

Re: Tuning XSP output

2007-03-25 Thread Armin Ehrenfels
Hi Richard, a few years ago, I developed an application using Cocoon-2.0.4 and XSP stylesheets. One good way to find out what went wrong was looking at the Java source file which is generated from an XSP stylesheet. There, you will certainly be able to see why "p cannot be resolved&qu

Re: Tuning XSP output

2007-03-24 Thread Richard Lewis
fields which > > > include line spaces. Is there a way to capture those lines and wrap > > > them up in elements? > > > > Again untested: > > > > String biography = ; > > for (String para : biography.split("\\n\\s*\\n")) { > &g

Re: Tuning XSP output

2007-03-22 Thread Richard Lewis
s. Is there a way to capture those lines and wrap > > them up in elements? > > Again untested: > > String biography = ; > for (String para : biography.split("\\n\\s*\\n")) { > para > } > Thanks for these pointers. I'm quite new

Re: Tuning XSP output

2007-03-20 Thread Tobia
Richard Lewis wrote: > 1) Stop it from producing empty elements. > I guess you need to put it inside a Java if statement. You can wrap it all in a logicsheet, for convenience: Something like this (untested): if (.length() > 0) {

Tuning XSP output

2007-03-19 Thread Richard Lewis
Hello Cocoon users, Using Cocoon 2.1.10. I'm just working on some XSP logic sheets using ESQL to create XML views of my MySQL database. There are two things I'd like to be able to do: 1) Stop it from producing empty elements. e.g. I have: which, if the duration field is empty, w

Language Exception at Runtime by the attempt to compile a random XSP

2007-03-10 Thread Sebastian Wenzky
1044) "Syntax error, insert ")" to complete Expression" ); // end error this.contentHandler.startElement( "http://apache.org/xsp/request/2.0";, ... ERROR 2 (org/apache/cocoon/www/docs/content/user_xsp.java): ... "get-parameter", "xsp-request:get-param

How to upload a file with XSP?

2007-02-21 Thread Gajo Csaba
Hello, Is there a way to upload and process a file by using XSP? I see there's a widget for Cocoon forms, but as I'm using only XSP I can't use that... can I? I have enabled the upload option in Cocoon's config file. I'd like this file to remain in the upload

Re: How to use a simple XSP page?

2007-02-18 Thread Gajo Csaba
OK solved the problem... deleted everything and built Cocoon from scratch, now it's working. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to use a simple XSP page?

2007-02-18 Thread Gajo Csaba
Oh yeah, and might I add that when I try to access one of the samples that also uses XSP, for exmaple http://localhost:8080/cocoon/samples/simpleform/one/index I also get the error. So it is obviously a problem with Cocoon as a whole. But I have not changed anything on Cocoon, I just

How to use a simple XSP page?

2007-02-18 Thread Gajo Csaba
Hello everyone! I've just started learning cocoon. I passed the basics of transforming an xml into html with my own stylesheet, and now I want to do some basic action with an XSP page. I used the tutorial from the Cocoon web site: http://cocoon.apache.org/2.1/userdocs/xsp/logicsheet

RE: Xsp logicsheet method invocation

2007-02-06 Thread Schmitz, Jeffrey A
n xsl stylsheet. I guess I could do it using files instead of trying to pass it directly from generator to transformer, but that seems kind of kludgy. Jeff -Original Message- From: Tobia [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 06, 2007 8:35 AM To: users@cocoon.apache.org Subject: Re

Re: Xsp logicsheet method invocation

2007-02-06 Thread Tobia
e output elements, but that is done with and . See the samples in src/blocks/xsp/samples/java/ "P".toLowerCase() left Hello generates: Hello Tobia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Xsp logicsheet method invocation

2007-02-06 Thread Schmitz, Jeffrey A
r an answer and read through all the xsp/logicsheet stuff and don't see this described anywhere. Thanks, Jeff -Original Message- From: Schmitz, Jeffrey A Sent: Monday, February 05, 2007 3:12 PM To: users@cocoon.apache.org Subject: RE: Xsp logicsheet method invocation In a related q

RE: Xsp logicsheet method invocation

2007-02-05 Thread Schmitz, Jeffrey A
In a related question, my java code is generating XML code to return to the cocoon pipeline via the xsp generator. However, somewhere along the way all the angle brackets are getting converted into < and >, before getting sent to my xsl transformer. Is there a way to make cocoon NOT d

Xsp logicsheet method invocation

2007-02-05 Thread Schmitz, Jeffrey A
Hello, I'm trying use and xsp generator that uses a logic sheet, and I'm almost there, but there's something I don't understand. For some reason, in my logicsheet xsl file, I have to put xml tags around my java function invocation, otherwise, when I try to invoke th

how to change xsp input encoding in xsl

2006-12-08 Thread 許議中
Hi! I want to do a form, when input some words, it can use url to call other web site to get a qrcode. the xsp input like this: the default font encoding is UTF-8. the xsl like this: http://qrcode.jp/qr?q= it ok

  1   2   3   4   5   6   7   8   9   10   >