RE: URL redirect at the end of form

2008-07-31 Thread Jasha Joachimsthal
-Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Nick Sent: donderdag 31 juli 2008 0:37 To: users@cocoon.apache.org Subject: URL redirect at the end of form I'm using showForm() in my flowscript to display a form within a page. After the form is completed,

How to cocoonize my Tomcat installation

2008-07-31 Thread Johannes Hoechstaedter
Hi everybody, my webapp works fine. I do mvn clean install and get a war file, which I can easily deploy into my tomcat installation. Now my problem: Maven archives all cocoon stuff into this war archive. How can I cocoonize my Tomcat installation, and modify Maven, so that only the

C2.2 Problem deploying webapp with snapshots

2008-07-31 Thread Robin Wyles
Hi, I'm trying to deploy a single block webapp. The block has dependencies on a snapshot build of Cocoon trunk. Running this block using mvn cocoon:prepare jetty:run works fine. However, when I create a webapp, add my block as a dependency and run it using mvn clean package jetty:run I

RE: Finding a new name for Corona (a Cocoon rewrite)

2008-07-31 Thread Carlos Tejo Alonso
Pupa means sore (A small ulcer) in Spanish Cheers, Carlos Tejo Alonso RD+I Deparment - CTIC Foundation [Asturias, Spain] www.fundacionctic.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

re: C2.2 Problem deploying webapp with snapshots

2008-07-31 Thread Alessandro Vincelli
Only one suggestion. You are usign 2.2.1-SNAPSHOT, but with the old archetype, and probabibly with not correct version of cocoon-maven-plugin (1.0.0-RC1-SNAPSHOT). I read on the mailinglist that Pötz is working on upgrading cocoon-maven-plugin in order the resolve exactly this issue. Bye.

Re: C2.2 Problem deploying webapp with snapshots

2008-07-31 Thread Robin Wyles
Hi Alessandro, Thanks for your comments... This is kind of what I suspected, as changing to the release versions in my POM fixes the issue... but I'm confused: I have the latest trunk, with all blocks installed in my maven repo, my own block was generated with the latest version of the

Re: URL redirect at the end of form

2008-07-31 Thread Nick
Did you use redirectTo(uri, true)? That did the trick, thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to cocoonize my Tomcat installation

2008-07-31 Thread Johannes Hoechstaedter
Hi, Now I followed the approach by compiling the cocoon-webapp and to deploy it into my tomcat. It works. I can even access the home page of cocoon. Now I have two webapps. My own and the cocoon webapp. What should I do? Johannes Hoechstaedter schrieb: Hi everybody, my webapp works fine. I

Rewriting EncodeURLTransformer to encode the locale parameter

2008-07-31 Thread Kjetil Kjernsmo
Hi all, I've been struggling a few days with adding a locale parameter to the local URLs in pages I serve. It should be really simple, just add the parameter to all hrefs that points to a resource within the site. I've tried to do it with XSLT through various approaches, but all unsuccessful,

When are servlet connections required?

2008-07-31 Thread Hugh Sparks
I'm confused about when servlet connections need to be specified and when the servlet:/ protocol must be used. For example, I have a demo webapp that depends on one block, 'myBlock'. When I run the webapp, the content from myBlock is displayed by this browser url:

Re: Finding a new name for Corona (a Cocoon rewrite)

2008-07-31 Thread Hugh Sparks
Pipes According to Google Translate, it seems inoffensive in German, Spanish, and Polish Apache Pipes - It alliterates a bit. -Hugh Sparks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

how to use formMap.put() ?

2008-07-31 Thread Мария Григорьева
How to use formMap.put() to pass the parameters to the fromMap??? For example, var composit = dao.composition.get(experiment.get(id_compositions)); formMap.put(key, composit); But it doesn't work: How can I do it ???

Re: Finding a new name for Corona (a Cocoon rewrite)

2008-07-31 Thread Andy Stevens
2008/7/31 Hugh Sparks [EMAIL PROTECTED] Pipes According to Google Translate, it seems inoffensive in German, Spanish, and Polish Apache Pipes - It alliterates a bit. -Hugh Sparks However, there's already a Pipes in the web development space - Yahoo Pipes. http://pipes.yahoo.com/pipes/

using formMap.put()

2008-07-31 Thread Мария Григорьева
How to pass the repeater to the formMap.put ? I'm trying smth like this: formMap.put(test, comp_in_composition); But, only the null values returned. formMap = {test=[{type=null, amount=null, select=false}, {type=null, amount=null, select=false}, {type=null, amount=null,

Re: how to use formMap.put() ?

2008-07-31 Thread Barbara Slupik
I pass parameters to my forms and form widgets like this: var form=new Form(myFormDefinition); form.setAttribute(myAttribute,myAttribute); form.lookupWidget(myWidget).setAttribute(myAttribute,myAttribute); Barbara On 31 Jul, 2008, at 5:11 pm,

Re: how to use formMap.put() ?

2008-07-31 Thread Magsend
Thank tou, Barbara!!! But, what about the repeater parameters? How to pass them? Barbara Slupik-3 wrote: I pass parameters to my forms and form widgets like this: var form=new Form(myFormDefinition); form.setAttribute(myAttribute,myAttribute);

Re: using formMap.put()

2008-07-31 Thread Barbara Slupik
I don't know what are you trying to do. I was using parameters in repeater action like this: fd:repeater-action id=addSomething command=add-row repeater=myRepeater fd:on-action fd:javascript var form=event.source.form; var

Re: using formMap.put()

2008-07-31 Thread Magsend
I'm trying to pass the parameters from the database to the form. So, I want to use formMap for this purpose. It's my database request: var comp_in_composition = dao.component_in_composition.get(experiment.get(id_compositions)); Then I can pass it, using formMap.putAll(comp_in_composition);

Re: Rewriting EncodeURLTransformer to encode the locale parameter

2008-07-31 Thread Robin Wyles
Hi Kjetil, Maybe you could use the LinkRewriterTransformer [1] to achieve this along with your own custom InputModule to add the locale parameter. That said, the LinkRewriterTransformer looks up the InputModule based on the url scheme, so you would have to use a custom scheme (e.g.

Re: Finding a new name for Corona (a Cocoon rewrite)

2008-07-31 Thread Lehtonen, Mika
Morus. KVG, that is check Google for Morus in finnish. How you like it? cheers, mika Andy Stevens kirjoitti: 2008/7/31 Hugh Sparks [EMAIL PROTECTED] Pipes According to Google Translate, it seems inoffensive in German, Spanish, and Polish Apache Pipes - It alliterates a bit. -Hugh

What's the status of the wiki?

2008-07-31 Thread Stephen Rosman
Has the wiki at http://wiki.apache.org/cocoon/ been abandoned by 2.2? There still seems to be some content added sporadically but only for 2.1. -- Stephen Rosman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Cannot create a session after the response has been committed

2008-07-31 Thread Hugh Sparks
I have a webapp I've been using since the coccon 2.1x era. It still works with 2.2.1. It is a simple one page cform that uses ajax. But today, I felt the need to enable exception handling in the sitemap. As soon as I did, I saw that the webapp was throwing an exception and it stopped working: