Weird I18NTransformer problem (Cocoon 2.2)

2012-03-14 Thread Fawzib Rojas
I Cocoon 2.2 running on Glassfish 3.1 and I'm using the I18nTransformer and I'm using a generator to create the translation files (see pipelines and transformer config below), my problem is thet when I use the DerbyEmbedded database, the transformer does not work, I can call the pipelines ok so

RE: pipeline in flowscript

2012-03-14 Thread Robby Pelssers
Ok.. Then I give you some advice. First try to invoke that pipeline with pattern="registration.mika". E.g. http://localhost:[port]/{webappCtxt}/{block}/registration.mika If that fails... you know why ;-) At least... I ho

Re: pipeline in flowscript

2012-03-14 Thread Mika M Lehtonen
And this one works! var form = new Form("cocoon://samples/blocks/forms/registration.mika"); thanks, - mika - 14.3.2012 22:11, Mika M Lehtonen kirjoitti: :-) you're right, but org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: registration.mika What I meant that know th

Re: pipeline in flowscript

2012-03-14 Thread Mika M Lehtonen
:-) you're right, but org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: registration.mika What I meant that know the exception is 'resource not found' instead 'file not found' 14.3.2012 21:52, Robby Pelssers kirjoitti: No... we're not getting closer. We should have

RE: pipeline in flowscript

2012-03-14 Thread Robby Pelssers
No... we're not getting closer. We should have been there if you paid attention ;-) Using the cocoon:// protocol you should have blindly copied over my suggestion. It's not registration2.mika but registration.mika as in your own sample sitemap snippet. From: Mika M Lehtonen [mailto:

Re: pipeline in flowscript

2012-03-14 Thread Andre Juffer
From a old application, written many years ago: In Flow: var form = new Form("resource/internal/forms/feedback-definition.xml"); form.createBinding("resource/internal/forms/feedback-binding.xml"); var feedback = new Feedback(); // Holds data for the form, could be obtained from a database. fo

Re: pipeline in flowscript

2012-03-14 Thread Mika M Lehtonen
getting closer! No pipeline matched request: registration2.mika 14.3.2012 21:35, Robby Pelssers kirjoitti: Try var form = new Form("cocoon://registration.mika"); Cheers, Robby *From:*Mika M Lehtonen [mailto:m...@digikartta.net] *Sent:* Wednesday, March 14, 2012 8:33 PM *To:* users@cocoo

RE: pipeline in flowscript

2012-03-14 Thread Robby Pelssers
Try var form = new Form("cocoon://registration.mika"); Cheers, Robby From: Mika M Lehtonen [mailto:m...@digikartta.net] Sent: Wednesday, March 14, 2012 8:33 PM To: users@cocoon.apache.org Subject: Re: pipeline in flowscript Hi Robby, "..create form definitions on the fly.." That is my ultim

Re: pipeline in flowscript

2012-03-14 Thread Mika M Lehtonen
14.3.2012 20:39, Andre Juffer kirjoitti: On 03/14/2012 08:24 PM, Mika M Lehtonen wrote: 14.3.2012 20:00, Andre Juffer kirjoitti: On 03/14/2012 07:31 PM, Mika M Lehtonen wrote: Hi list, I started to experiment with the Cocoon 2.11 after a long while. I did some adjustment on the registration ex

Re: pipeline in flowscript

2012-03-14 Thread Mika M Lehtonen
Hi Robby, "..create form definitions on the fly.." That is my ultimate goal. "Any reason why you don't switch to C2.2 or C3?" Any reason why not continue using C2.1? This is something I newer understood. Why did the C2.1 were almost abandoned. As far as I know, it is like 99% ready piece of soft

Re: pipeline in flowscript

2012-03-14 Thread Andre Juffer
On 03/14/2012 08:24 PM, Mika M Lehtonen wrote: 14.3.2012 20:00, Andre Juffer kirjoitti: On 03/14/2012 07:31 PM, Mika M Lehtonen wrote: Hi list, I started to experiment with the Cocoon 2.11 after a long while. I did some adjustment on the registration example. I added this to the samples/blocks

RE: pipeline in flowscript

2012-03-14 Thread Robby Pelssers
Hi Mika, I can reassure you that this is possible. Most use cases have a static form definition and you can bind data from your database to the widgets declared in this form definition. Hack, you can even use repeaters to get some dynamic behavior or even create form definitions on the fly but

Re: pipeline in flowscript

2012-03-14 Thread Mika M Lehtonen
14.3.2012 20:00, Andre Juffer kirjoitti: On 03/14/2012 07:31 PM, Mika M Lehtonen wrote: Hi list, I started to experiment with the Cocoon 2.11 after a long while. I did some adjustment on the registration example. I added this to the samples/blocks/forms/ sitemap: Did you to say here that this

Re: pipeline in flowscript

2012-03-14 Thread Andre Juffer
On 03/14/2012 07:31 PM, Mika M Lehtonen wrote: Hi list, I started to experiment with the Cocoon 2.11 after a long while. I did some adjustment on the registration example. I added this to the samples/blocks/forms/ sitemap: Did you to say here that this particular sitemap is a subdirectory cal

pipeline in flowscript

2012-03-14 Thread Mika M Lehtonen
Hi list, I started to experiment with the Cocoon 2.11 after a long while. I did some adjustment on the registration example. I added this to the samples/blocks/forms/ sitemap: and this modification to the registration.js var form = new Form("registration.mika"); This is not working. Obviou