Re: Cocoon action

2002-02-02 Thread Sidharth
just write String myParameter=request.getParameter("name") siteparams.put("hello",myparameter) then on sitemap - Original Message - From: "yuryx" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 03, 2002 1:10 PM Subject: Re: Cocoon action > Strin

Re: Cocoon action

2002-02-02 Thread yuryx
String myParameter=***???parameter from my page??? (how set from page and get this?)***; sitemapParams.put("world", myParameter); Sidharth wrote: >Ofcourse why not?? >- Original Message - >From: "yuryx" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Sunday, February 03, 20

Re: Cocoon action

2002-02-02 Thread Sidharth
Ofcourse why not?? - Original Message - From: "yuryx" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 03, 2002 12:40 PM Subject: Re: Cocoon action > Like this? > > public class HelloWorldAction extends AbstractAction { > public Map act (Redirector redirector, >

Re: Cocoon action

2002-02-02 Thread yuryx
Like this? public class HelloWorldAction extends AbstractAction { public Map act (Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters params) { Map sitemapParams = new HashMap(

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-02 Thread Derek Hohls
Vadim Thanks for the sample code - both of these look quite a bit more complicated than the samples in the XSP Logicsheet, but I will work through them to try and understand both the grammar and logic. Please excuse my ignorance, but I am still unclear as to how these are actually *used*. Is th

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-02 Thread Derek Hohls
Vadim Thanks for the sample code - both of these look quite a bit more complicated than the samples in the XSP Logicsheet, but I will work through them to try and understand both the grammar and logic. Please excuse my ignorance, but I am still unclear as to how these are actually *used*. Is th

Re: Cocoon action

2002-02-02 Thread Sidharth
Then put the parameter into siteparams *Map* of action class and terieve it on the sitemap As been examplified in actions under docs - Original Message - From: "yuryx" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 03, 2002 12:13 PM Subject: Re: Cocoon action > Sorry,

Re: Cocoon action

2002-02-02 Thread yuryx
Sorry, but I have sent parameter *into* action code. And setting pipeline parameter with this parameter ... Sidharth wrote: >Yes thgis is >If the current page submits to a single page then write request.getParameter >code in the second page controller >- Original Message - >From: "yury

Re: Cocoon action

2002-02-02 Thread Sidharth
Yes thgis is If the current page submits to a single page then write request.getParameter code in the second page controller - Original Message - From: "yuryx" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 03, 2002 11:41 AM Subject: Cocoon action > Hello All! > > I h

Cocoon action

2002-02-02 Thread yuryx
Hello All! I have sent some parameters from page (within onClick event, sample) into cocoon action. And switch pipelines with this parameters. It's possible? Thanx. Yury. - Please check that your question has not already be

Re: cocoon.war - no automatic extraction

2002-02-02 Thread Brad Smith
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I had this problem also. If you try other war files you will see that they do not work with. The problem has to do with the permissions that the rpm sets for tomcat in /var/tomcat4/webapps. Below are the settings currently in my /var/tomcat4 direct

Re: cocoon.war - no automatic extraction

2002-02-02 Thread Carlos Araya
Ingmar: The Manifest file provides the app server with a layout of the application. It should be inside the war file. If you're still having problems, I will defer to the experts on the list for a more detailed explanation Carlos On 02/02/02 11:41, "Ingmar Koecher" <[EMAIL PROTECTED]> wrote: >

RE: C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-02 Thread Vadim Gritsenko
Try attached example. Put under docs/samples/xsp directory in the Cocoon sample webapp. Let me know if it was helpful for you. PS: Note that logicsheet was declared right after element, no spaces or tags: http://apache.org/xsp"; xmlns:xsp-request="http://apache.org/xsp/request/2.0";

C2 Newbie: XSP Logicsheet in sitemap ?

2002-02-02 Thread Derek Hohls
As an ex-Cocoon1 user, I am trying to move all my applications across to C2. I can see that there are a lot of conceptual chnages that I need to understand to make full use of C2's functionality. Right now I am trying to see how to use XSP/logic sheets. I have tried to implement the examples

RE: cocoon.war - no automatic extraction

2002-02-02 Thread Ingmar Koecher
Well, I downloaded the file cocoon-2.0.1-bin.tar.gz from http://xml.apache.org/cocoon/dist/ ungiztarred it and copied the .war file to the webapps folder. I would assume that this is the correct way of getting it, right? I can see that the manifest file is INSIDE the .war file. Does one need

Re: cocoon.war - no automatic extraction

2002-02-02 Thread Carlos Araya
Whoever packed up the war you're using did not include the Manifest file... Have you tried downloading source and installing it that way? Or downloading a binary installation? On 02/02/02 10:39, "Ingmar Koecher" <[EMAIL PROTECTED]> wrote: > /var/tomcat4/webapps/cocoon/META-INF/MANIFEST.MF (No s

cocoon.war - no automatic extraction

2002-02-02 Thread Ingmar Koecher
I am quite new to cocoon, tomcat and related technologies. OS: Linux 7.1 + XWindows Java: IBMJava2-13 (JDK) Tomcat: 4.0.1 (installed via rpm) on latest Apache (1.3.23?) Cocoon: 2.0.1 1. Installed IBM JDK, created JAVA_HOME and added JAVA_HOME/bin to PATH 2. Installed tomcat, seems to run fine (i

Installing Cocoon2 on MacOSX

2002-02-02 Thread M . Reck
Hello all! Does anybody know where i can find instructions how to install Cocoon 2 on MacOSX? Any help appreciatet, Martina - Please check that your question has not already been answered in the FAQ before posting.

bug in i18n transformer

2002-02-02 Thread Dakkar
I checked the SAX API (looking at http://www.saxproject.org/?selected=quickstart ) and it explicitly says that 'a SAX driver is free to chunk the character data any way it wants, so you cannot count on all of the character data content of an element arriving in a single characters event' So I18Tr