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:
map:match pattern=registration.mika
map:generate src=forms/registration2.xml/
map:serialize/
/map:match
and this
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
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
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
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
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
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
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 ultimate
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:*
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.
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.
map:match pattern=registration.mika
:-)
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
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 the
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.mikahttp://localhost:[port]/%7bwebappCtxt%7d/%7bblock%7d/registration.mika
If that fails... you know why ;-)
At least... I hope
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
15 matches
Mail list logo