> Just open org.apache.cocoon.samples.xmlform.WizardAction.java
> then look more carefully in webapp/samples/xmlform
I did but haven't found anything new...any tips?
I see in the sitemap the WizardAction and the UsageFeedbackAction declared
and a hardcoded pipeline for each one. I would not like t
- Original Message -
From: "Josema Alonso" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 09, 2002 5:35 PM
Subject: Re: how to manage several XMLForms in a sitemap? (it was:
dynamically choosing an action at runtime)
> > I am not sure
> I am not sure if I would do this like you did.
> There are is a certain lifecycle contract between every Cocoon component
and
> the container.
> By invoking directly you may be violating this contract.
> I would probably let the sitemap do the forwarding to actions.
> In your case action sets mig
l XMLForms in a sitemap? (it was:
dynamically choosing an action at runtime)
> Well, this is a followup to my previous message regarding this subject.
> I coded the Dispatcher, but I must say I didn't know what I was doing
> exactly. Surprisingly, it works but only from time to time...the be
On 07.Nov.2002 -- 06:53 PM, Josema Alonso wrote:
[snip]
> //get the Action
> if(actionName.equalsIgnoreCase("EquipmentTypeAction")) {
>EquipmentTypeAction equipmentTypeAction = new EquipmentTypeAction();
>//add this action to the manager
>equipmentTypeAction.compose(this.manager);
Well, this is a followup to my previous message regarding this subject.
I coded the Dispatcher, but I must say I didn't know what I was doing
exactly. Surprisingly, it works but only from time to time...the behaviour
is really weird...
I'm copying the code below and hope someone could review it. I'
ROTECTED]>
Sent: Tuesday, November 05, 2002 6:56 PM
Subject: Re: how to manage several XMLForms in a sitemap? (it was:
dynamically choosing an action at runtime)
> Well I can explain what I've done which matches your requirements but the
implementation I suspect is quite different.
>
&
Well I can explain what I've done which matches your requirements but the
implementation I suspect is quite different.
First some issues I had.
1.) I like the XFORMS concept but... didn't like the fact that I couldn't represent
non-forms widgets, e.g. page banners, table of contents, footers, bu
Well, after reading replies to my emails I have a better idea of wht to do
and unfortunately not a chance to do it.
I explain it.
A quick summary. I would like to manage many XMLForms in my sitemap. I would
like to declare a pipeline like this:
http://www.ascc.net/xml/sch
>You don't have to include the parts of your pipeline that are the
> same in the elements. You can just include the
> element, since it appears that you're not returning any parameters from
> your action, and then you won't have to duplicate the part that doesn't
> vary.
I'm returning the {pa
> It's also possible to only have the as child of
> and and the rest comes after :
>...
I see, thanks.
> But for my eyes still everything seems to be the same except the action
> interna. Maybe it's better to use only one action and choosing there
> internally what to do?
Yes! That's what I'm t
Josema,
You don't have to include the parts of your pipeline that are the
same in the elements. You can just include the
element, since it appears that you're not returning any parameters from
your action, and then you won't have to duplicate the part that doesn't
vary.
An even better w
.
Artur...
-Original Message-
From: Josema Alonso [mailto:alonso@;aafunky.com]
Sent: November 4, 2002 12:57 PM
To: [EMAIL PROTECTED]
Subject: Re: dynamically choosing an action at runtime
Just use appropriate selector:
http://xml.apache.org/cocoon/userdocs/selectors/selectors.html
-
> From: Josema Alonso [mailto:alonso@;aafunky.com]
> Sent: November 4, 2002 12:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: dynamically choosing an action at runtime
>
>
> > Just use appropriate selector:
> > http://xml.apache.org/cocoon/userdocs/selectors/selectors.html
> &
> Just use appropriate selector:
> http://xml.apache.org/cocoon/userdocs/selectors/selectors.html
>
I already tried but haven't found a nice way of using them for this purpose.
I can make something like the pipeline below, but i have dozens of similar
cases and it doesn't seem like a good approach.
Just use appropriate selector:
http://xml.apache.org/cocoon/userdocs/selectors/selectors.html
Artur...
> -Original Message-
> From: Josema Alonso [mailto:alonso@;aafunky.com]
> Sent: November 4, 2002 11:39 AM
> To: Cocoon-Users
> Subject: dynamically choosing an ac
Hello, all.
Is it possible to choose what an action perform at runtime based on sitemap
parameters? I have the pipeline below for processing XMLForms. It is working
just nice for one form if I do not use the {1} param but hard code the
Action name. I would like to make it work as described so I co
17 matches
Mail list logo