RE: Deployment Questions

2005-02-15 Thread Nathaniel Alfred
In the sitemap: map:generate type=xsp src=foo.xsp map:parameter name=ipaddr value=127.0.0.1/ /map:generate In the XSP: String ipaddr = parameters.getParameter(ipaddr); HTH, Alfred. -Original Message- From: Barodawala, Ali [mailto:[EMAIL PROTECTED] Sent: Montag, 14. Februar

Dispatching flowscript commands

2005-02-15 Thread Mark Lowe
I'm looking through the docs for any mechanism for dispatching flowscript fucntions from a form.. I'm thinking along the same lines as JSF where buttons of different names are mapped to a method in a backing bean.. Mark - To

AW: Rép. : Cocoon 3-tier architecture

2005-02-15 Thread Elad Messing
Hello Matt. I am interested on your reasons to port from Apache+Tomcat to Jboss. Could you elaborate a bit on the manner ? Thanks Elad -Ursprüngliche Nachricht- Von: Matt Robinson [mailto:[EMAIL PROTECTED] Gesendet: Montag, 14. Februar 2005 21:39 An:

Re: session context

2005-02-15 Thread Ilja Smoli
Hi Jan Im sorry Im new to cocoon.. Im not sure I got this: Eg: include the pipeline with your sessiontransformer in your normal document and xslt sets parameters in links. This way you can get your parameters easily with xpath expressions. Can you please provide little example of this? I have

Re: i18n transformer: how to translate cocoon forms messages

2005-02-15 Thread Ellis Pritchard
depub2 wrote: My sitemap excerpt is below, but it does not appear to be working: map:transformer name=i18n src=org.apache.cocoon.transformation.I18nTransformer catalogues default=other catalogue id=other name=OtherMessages location=messages/ catalogue id=forms

Re: session context

2005-02-15 Thread Jan Hoskens
Ilja Smoli wrote: Hi Jan Im sorry Im new to cocoon.. Im not sure I got this: Eg: include the pipeline with your sessiontransformer in your normal document and xslt sets parameters in links. This way you can get your parameters easily with xpath expressions. Can you please provide little example

Re: Dispatching flowscript commands

2005-02-15 Thread Mark Lowe
Interestingly form.submitId or the old form.getWidget().getSubmitWidget() or form.getSubmitWidget().. Its a pretty basic question is there no one who knows how to do this? Mark On Tue, 15 Feb 2005 11:05:24 +0100, Mark Lowe [EMAIL PROTECTED] wrote: I'm looking through the docs for any

New user + concepts

2005-02-15 Thread Jon Hill
Hi All First off all, apologies for this email being a little long; thanks to anyone who has the time to read it. I am in the process of producing data on mobile phone handsets. I am hoping that the information that I will repesent will eventually be good enough to be used as a general

Keeping focus after add/remove row

2005-02-15 Thread Greg
Hello, I am using cocoon v2.1.4 with tomcat v4.1.27 on a LINUX system. I have created forms which use a number of repeating widgets. When the repeater-actions add/remove rows are invoked (using buttons) the form reposts with rows added/removed, as it should. However, the focus of the form always

RE: New user + concepts

2005-02-15 Thread Bowe, Bastian
I think cocoon is a good solution for your scenario. Cocoon offers you a pipeline concept (and optionally flow as a control layer, CForms...) You can use cocoon to extract the data from the database build Plain XML (in a pipeline). You can then create another pipeline to use the Plain XML pipeline

Re: New user + concepts

2005-02-15 Thread Jon Hill
Bastian Thanks for the overview and your time. I hadn't realised that Cocoon could also generate the starting XML for me too. I am guessing that Cocoon wil help take care of relevant caching scenarios for the resulting documents too? Hmm, lots of interesting reading ahead. Jon On Tuesday 15

Images in forms

2005-02-15 Thread Greg
Hello, I am new to cocoon and am using version 2.1.4 with tomcat 4. I have created a number of forms for use in my web interface (mainly composed of jsps). I have a logo (logo.png) that I would like to display at the top of my form. Standard html image tags wond render the image and I am unsure

jx variable to nodeset

2005-02-15 Thread Thorsten Scherler
Hello everyone, I am looking for a way, to transform a jx variable into a nodeset? Imagine I have following code: jx:set var=attachment../content/users/session:getxml context=authentication path=/authentication/login//kk.xml/jx:set zip:entry name=userdata.html src=${attachment}/ That will

Re: New user + concepts

2005-02-15 Thread Jon Hill
Just out of interest: exactly what data will you be aggregating? The data that I am looking to present will be based on real use experience. UAProf presents full technical information useful to a developer but isn't so easy for someone to use if they just want to get at a simpler subset of

RE: jx variable to nodeset

2005-02-15 Thread Linden H van der (MI)
Hi Torsten, a guess (I'm not sure about all the details of the syntax and I haven't tested it): jx:set var=usersession:getxml context=authentication path=/authentication/login//jx:set jx:set var=attachment value=../content/users/#{user/.}/kk.xml/jx:set The first one creates a node, the second a

Re: Dispatching flowscript commands

2005-02-15 Thread Mark Lowe
I think I just found what the problem is.. These crazy crack smokers who build this app are using buttons rather than submits.. Which is a shame because they've used form.submitId in places also. They should have there fingers broken.. Mark On Tue, 15 Feb 2005 14:25:02 +0100, Jorg Heymans

Re: Dispatching flowscript commands

2005-02-15 Thread Mark Lowe
No thats not the problem, although checging to submits was required anyway. Guess its more trial and error looking at the source code and the fragments that are commonly refered to as documents.. Mark On Tue, 15 Feb 2005 15:00:24 +0100, Mark Lowe [EMAIL PROTECTED] wrote: I think I just found

Re: Dispatching flowscript commands

2005-02-15 Thread Jorg Heymans
Mark Lowe wrote: Guess its more trial and error looking at the source code and the fragments that are commonly refered to as documents.. I see you're getting into the true cocoon spirit! ;) Jorg - To unsubscribe, e-mail: [EMAIL

Re: session context

2005-02-15 Thread Ilja Smoli
Thank you very much Jan! Jan Hoskens [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ilja Smoli wrote: Hi Jan Im sorry Im new to cocoon.. Im not sure I got this: Eg: include the pipeline with your sessiontransformer in your normal document and xslt sets parameters in links.

Errror messages flowscript

2005-02-15 Thread Mark Lowe
Hello Lets say my flow script gets past the view tier validations, and then when passing the modifed bean up to the model (populated via binding etc). try { // save command here } catch (e) { how do forward back to the view and add an error message to be dsiplayed? } Thanks Mark

RE: jx variable to nodeset

2005-02-15 Thread Thorsten Scherler
El mar, 15-02-2005 a las 14:44, Linden H van der (MI) escribió: Hi Torsten, a guess (I'm not sure about all the details of the syntax and I haven't tested it): jx:set var=usersession:getxml context=authentication path=/authentication/login//jx:set jx:set var=attachment

Re: Errror messages flowscript

2005-02-15 Thread Jorg Heymans
http://cocoon.apache.org/2.1/userdocs/flow/api.html , sendPage([String] uri, [Object] bean) should do the trick, uri could point to a sitemap with a jx generator where you generate your error message. Alternatively, you can define an error handler for a pipeline

RE: jx variable to nodeset

2005-02-15 Thread Linden H van der (MI)
Thorsten Scherler wrote: El mar, 15-02-2005 a las 14:44, Linden H van der (MI) escribió: Hi Torsten, a guess (I'm not sure about all the details of the syntax and I haven't tested it): jx:set var=usersession:getxml context=authentication path=/authentication/login//jx:set jx:set

RE: i18n transformer: how to translate cocoon forms messages

2005-02-15 Thread depub2
What I've failed to mention is that i18n messages from other work just fine! All my widget labels and i18n:text tagged items translate just fine! Only the internal items such as the upload widget Browse button and help/validation items are NOT being translated. Both the FormsMessages.xml and

RE: jx variable to nodeset

2005-02-15 Thread Thorsten Scherler
El mar, 15-02-2005 a las 18:13, Linden H van der (MI) escribió: snip/ This sounds as if you have not included the jx:set statements in the proper tags: jx:template xmlns:jx=http://apache.org/cocoon/templates/jx/1.0; jx:set var=user value=007/ /jx:template I actually have

[CHS] SVN Repositry unreachable

2005-02-15 Thread leo leonid
Hi, there seems to be a problem whith the CHS SVN repository on cocoondev.org http://svn.cocoondev.org/repos/chs/spring Is there a downloadable archive of that showcase anywhere? I mean something more recent than the one you can get at http://wiki.apache.org/cocoon/SpringPetstore ? /leo

AW: Images in forms

2005-02-15 Thread Tom
Greg, You are probably missing the proper matcher in your sitemap. Make sure you have something like the following in there: map:match pattern=*.png map:read mime-type=images/png src=img/{1}.png/ /map:match Tom -Ursprüngliche Nachricht- Von: Greg [mailto:[EMAIL PROTECTED]

Re: Dispatching flowscript commands

2005-02-15 Thread Tony Edwards
Title: Re: Dispatching flowscript commands Hi Mark, Is this similar to what you're after? //If user selects 'newUser', display new user form if (newUser.equals (userForm.submitId)) { print(New User selected!); newUser(); return; } else if (userSearch.equals (userForm.submitId)){

RE: jx variable to nodeset

2005-02-15 Thread Linden H van der (MI)
Will return: zip:entry name=userdata.html src=../content/users/1736/kk.xml/ Hmm. Glad this works out, but I'm entirely sure why... BUT as soon as I change the user var to jx:set var=usersession:getxml context=authentication path=/authentication/data/User/VfNumber//jx:set this is failing.

Re: [CHS] SVN Repositry unreachable

2005-02-15 Thread Ugo Cei
Il giorno 15/feb/05, alle 19:18, leo leonid ha scritto: Hi, there seems to be a problem whith the CHS SVN repository on cocoondev.org http://svn.cocoondev.org/repos/chs/spring Is there a downloadable archive of that showcase anywhere? I mean something more recent than the one you can get at

Re: Rép. : Cocoon 3-tier architecture

2005-02-15 Thread WHIRLYCOTT
Nah, I use Cocoon on Windows myself Cocoon+Weblogic+Windows is the combination that I haven't seen work. My original msg wasn't clear and made me look rather silly ;) phil. Matt Robinson wrote: Hi Phil. We are running Cocoon with no problems on Windows (for development - not production).

CMS, cocoon and Xindice

2005-02-15 Thread Tom Sparks
has anyone used cocoon and Xindice as CMS (Content Management System)? TS Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: CMS, cocoon and Xindice

2005-02-15 Thread Bowe, Bastian
I've never tried it, but have you checked apache lenya (http://lenya.apache.org/)? -Original Message- From: Tom Sparks [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 16, 2005 2:55 AM To: cocoon; xindice Subject: CMS, cocoon and Xindice has anyone used cocoon and Xindice as