Re: Forward to another Servlet from Cocoon

2005-09-27 Thread Geert Josten
Hi Victor, I guess that you mean that you have defined multiple servlets in your WEB-INF/web.xml file? If a url is catched by the CocoonServlet and you want to fetch data from another servlet or redirect to it, even within the same war, you will have to go through the http stack again. In othe

Re: How to *not* return a page

2005-09-27 Thread Derek Hohls
By "may or may not", I mean that the Javascript does necessarily continue on and request a page; in other words, I am sending a request to the server to set a session value and the web page itself is "not interested" in the response and does not want to be changed in any way by the response. I am

Re: Forward to another Servlet from Cocoon

2005-09-27 Thread Upayavira
Victor Batista wrote: Hello! I have a web application with a few servlets, one of which extends the CocoonServlet. In some cases, I need to forward from the CocoonServlet to a different servlet of my web application. How can I do this? Use: To forward to a URI that is handled by your

Re: Sendmail transformer - problem with protected pipeline

2005-09-27 Thread Bertrand Delacretaz
Le 28 sept. 05, à 04:53, Gerry Kaplan a écrit : ...I have tried multiple variations of that URI, and as long as it is trying to access a protected area of the site, it is denied You could probably activate more debugging options to see exactly what's happening. A workaround would be to

Re: Portal Template

2005-09-27 Thread Terushige Kohama
Hi, I move portal directory from /samples/block/ to just after webapp and change from /samples/blocks/portal/ to portal/ on cocoon.xconf. I suppose you need to change four places on it. teru Ralph Goers wrote: Well, we don't like to mess with the root sitemap so we have a proxy in front of t

Re: Portal Template

2005-09-27 Thread Ralph Goers
Well, we don't like to mess with the root sitemap so we have a proxy in front of the servlet container. It maps http://myserver.com/ to http://x.x.x.x./whatever. Ralph John Schult wrote: Can someone provide advice on the simplest path to a portal engine implementation that would respond to t

Sendmail transformer - problem with protected pipeline

2005-09-27 Thread Gerry Kaplan
Hello Cocoon pundits, My site is a relatively simple layout: appname/public/protected. Authentication is achieved with the authentication manager. Once a user is authenticated, their userid becomes part of all URIs, for example: Imweb/public/gkaplan/index.html The following pipeline generates a

Forward to another Servlet from Cocoon

2005-09-27 Thread Victor Batista
Hello!     I have a web application with a few servlets, one of which extends the CocoonServlet. In some cases, I need to forward from the CocoonServlet to a different servlet of my web application. How can I do this?     Thanks in advance. Regards,   Victor Batista

Portal Template

2005-09-27 Thread John Schult
Can someone provide advice on the simplest path to a portal engine implementation that would respond to the root context (/)? I have the cocoon webapp working correctly my ROOT webapp on Tomcat, but I only need the portal and I need it to map to http://myserver.com/. Take care, John -- john dav

RE: Using the output of a pipeline to call another pipeline?

2005-09-27 Thread Chris Marasti-Georg
I think you have 2 options - a reader, or an action. Your action could call the xquery, get the result, and put it in the returned map, making it visible to a subsequent read call (my syntax may not be perfect, it's been a while since I coded an action):

Re: Using the output of a pipeline to call another pipeline?

2005-09-27 Thread Jason Johnston
> > > So, what I want to do is very basic: > > First, I want to generate the internal file name using xQuery, given > the virtual path and the virtual file name. At the same time I check > whether the image is live ,and whether the particular user should be > allowed to view it. > Then, I want to

Re: JXPath within cocoon 2.1.7

2005-09-27 Thread Askild Aaberg Olsen
Sven Wontroba wrote: I changed my file and it works. Thanks a lot again, also to Jason Johnston Sven Good to know! As i recall, my own problem was related to attributes in a namespace, when this was read with processToDOM. Askild - -

Re[3]: JXPath within cocoon 2.1.7

2005-09-27 Thread Sven Wontroba
Thanks a lot for your quick response this would have been my next step I found at http://nagoya.apache.org/eyebrowse/ReadMsg?listId=105&msgNo=1083 an older thread about it Subject: [Jelly] Namespace and xml taglibrary > Did you remove the old one? I think I might be wrong on this, > though... j

Re: JXPath within cocoon 2.1.7

2005-09-27 Thread Askild Aaberg Olsen
Sven Wontroba wrote: Hi I change to Xalan 2.1.7 and there is no change. (I just copied the xalan.jar file in the cocoon\WEB-INF\lib directory) do I have to change something else? Did you remove the old one? I think I might be wrong on this, though... If I try to modify my context via the

Re: Cocoon Flow Vs Jboss Seam

2005-09-27 Thread Laurent Perez
> Also wondering if you would consider highlighting Cocoon flow especially > since this has been around for a year now and also due to this hype around > Jboss Seam..? Keep in mind Seam is a full EJB3/JSF entreprise application framework, whereas Cocoon is a _web_ development framework with a "glu

NEWBIE with CForms and example

2005-09-27 Thread d1camero (sent by Nabble.com)
I am just playing with Cocoon to evaluate it for our use as a general web development framework.  I am going through the CForms example http://cocoon.apache.org/2.1/userdocs/forms/sample.html When I run the example application, the form displays odd: - no controls - the text fields are repeated

Re[2]: JXPath within cocoon 2.1.7

2005-09-27 Thread Sven Wontroba
Hi I change to Xalan 2.1.7 and there is no change. (I just copied the xalan.jar file in the cocoon\WEB-INF\lib directory) do I have to change something else? I get my content if I just send them out via cocoon.sendPage("index.jx", {"result" : myDOMDocument} ); and my context has the value [EMAIL

Re: Using the output of a pipeline to call another pipeline?

2005-09-27 Thread Jonas Lundberg
Thanks for the replies, I'll explain in more detail then. The images are referenced in an HTML page, which means that the browser will request them separately after the page is sent. Do you propose that I somehow embed the image data in the page? All paths in the system are virtual. I use XML fil

Re: [Portal]: Profile and CachingURICoplets

2005-09-27 Thread Nick Goupinets
Hi Carsten, Thank you very much for your answer. It's great to hear that it had been fixed in SVN. I will try updating CachingURICopletAdapter. In the mean time, I am looking forward to upgrading to 2.1.8, once it's released :). Thank you once again. Sincerely, Nick Goupinets. Carsten Ziege

Re: [Portal]: Profile and CachingURICoplets

2005-09-27 Thread Carsten Ziegeler
Hi, actually this is a bug :( The cached content should not be persistent. I fixed this in the recent SVN, so the bug will be fixed with the 2.1.8 release. So, you can either update to the recent SVN of 2.1.8-dev, use your stylesheet solution or perhaps patch the CachingURICopletAdapter. You have

[Portal]: Profile and CachingURICoplets

2005-09-27 Thread Nick Goupinets
Hi everybody, Just wondering if there is a way to disable saving cache content for CachingURICoplets into the profile (coplet instance data part of it in particular). It is a big trouble when creating CachingURICoplets which use CForms. If a coplet with continuation id present in its cache i

Re: How to *not* return a page

2005-09-27 Thread Mark Lundquist
On Sep 26, 2005, at 11:21 PM, Derek Hohls wrote: Is it possible to configure a match pattern to *not* return a page; i.e. I would like to make a call that will only set a variable (e.g. session value) - most probably via Javascript call in a certain page; the script should then continue to run

Fwd: Cocoon Flow Vs Jboss Seam

2005-09-27 Thread kanth ammal
-- Forwarded message --From: kanth ammal <[EMAIL PROTECTED]>Date: Sep 27, 2005 6:13 PM Subject: Cocoon Flow Vs Jboss SeamTo: docs@cocoon.apache.org. Hi:   Can you please provide a link from Cocoon page to a page describing the differences/similarities between Cocoon flow and Jboss S

A beta version of flow design form

2005-09-27 Thread 許議中
now we intro a beta version of flow design form build by cform.   http://www.soho.club.tw/cocoon/flow_chart_01/flowchart.form   you can enter flowID 1 then load,then you will see the result.   the final version will include ISO Work instruction Document setup.   pls try and give us advice, tk

Re: JXPath within cocoon 2.1.7

2005-09-27 Thread Jason Johnston
Sven Wontroba wrote: Hello Experts I have a question about namespaces and JXPath within cocoon 2.1.7 on a xp sp2 machine Somehow it doesn't work out for me and I don't get a specific response. Or lets say the one I expect This is how I try to use it in my flow script --- var context = org.apac

Re: JXPath within cocoon 2.1.7

2005-09-27 Thread Askild Aaberg Olsen
Sven Wontroba wrote: Hello Experts I have a question about namespaces and JXPath within cocoon 2.1.7 on a xp sp2 machine Somehow it doesn't work out for me and I don't get a specific response. Or lets say the one I expect This is how I try to use it in my flow script --- var context = org.apa

JXPath within cocoon 2.1.7

2005-09-27 Thread Sven Wontroba
Hello Experts I have a question about namespaces and JXPath within cocoon 2.1.7 on a xp sp2 machine Somehow it doesn't work out for me and I don't get a specific response. Or lets say the one I expect This is how I try to use it in my flow script --- var context = org.apache.commons.jxpath.JXPat

Re: How to *not* return a page

2005-09-27 Thread Upayavira
Derek Hohls wrote: Leszek Thanks for the detailed suggestion; I was hoping to avoid having to do any Java coding & was hoping there might be a more "standard" way of doing this if not, where is the best place to start learning how to code such a beast (the website has this page: http://

Re: How to *not* return a page

2005-09-27 Thread Derek Hohls
Leszek Thanks for the detailed suggestion; I was hoping to avoid having to do any Java coding & was hoping there might be a more "standard" way of doing this if not, where is the best place to start learning how to code such a beast (the website has this page: http://cocoon.apache.org/2.1

Re: Using the output of a pipeline to call another pipeline?

2005-09-27 Thread Derek Hohls
Its not clear what you mean by the "second pipeline" - do you mean the **.jpg ?  If so, can you not simply call that from the page where it needs to appear?  (And the page itself is generated using the output from the first pipeline; cinclude or simply a map:aggregate will feed the XML into your

Re: Using the output of a pipeline to call another pipeline?

2005-09-27 Thread Upayavira
Jonas Lundberg wrote: I've got a very basic question that I got stuck with maybe someone can help me out? I have a web publishing system that stores all images in eXist, using a number as the file name, e.g. 44500.jpg Each image has a metadata file, describing at what URL the image should b

Using the output of a pipeline to call another pipeline?

2005-09-27 Thread Jonas Lundberg
I've got a very basic question that I got stuck with maybe someone can help me out? I have a web publishing system that stores all images in eXist, using a number as the file name, e.g. 44500.jpg Each image has a metadata file, describing at what URL the image should be shown (and also some o

Re: How to *not* return a page

2005-09-27 Thread Leszek Gawron
Derek Hohls wrote: Is it possible to configure a match pattern to *not* return a page; i.e. I would like to make a call that will only set a variable (e.g. session value) - most probably via Javascript call in a certain page; the script should then continue to run & any or may not make another C