cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volker Schneider" <volker.schnei...@danet.de>
Subject RE: multiple submit button on a form
Date Tue, 09 Apr 2002 07:20:09 GMT
Hi Torsten,

thank you for your reply. This makes things more clear. Because I'm not yet
very experienced with cocoon, excuse me that I have a few more stupid
questions:

(1) Is it possible to use parameters like {page} in "type" attributes as
well (generator) - I would think so?
(2) Looking at the cocoon sources (2.0.2), there are some selectors. In
order to switch to another pipeline, is there a selector I can use (out of
the box) or do I have to a write a new one, which evaluates a "method"
parameter as seen in your sample sitemap? (I can't find any action or
selector in the sample which uses the "method" parameter, but I noticed that
the PreceptorDemoAction class returned a map with the "page" parameter.)
(3) Inside of actions I can return a map containing parameters. Instead of
creating a new map, is it possible to extend an existing map (and if it
exists, where can I get it from within the action)? Does that make sense?

Thank you, best regards
- Volker -

-----Original Message-----
From: Torsten Curdt [mailto:tcurdt@dff.st]
Sent: Montag, 8. April 2002 17:16
To: cocoon-users@xml.apache.org
Subject: RE: multiple submit button on a form


On Mon, 8 Apr 2002, Volker Schneider wrote:

> Hi Torsten,
>
> in this way it is possible to perform an action within an action-set. But
> why isn't it possible to have a pipeline within such an action within an
> action-set? There is an exception coming up or an error message telling
> something about "incomplete pipeline".
>
> I don't know how to solve this.

well, thats the way the sitemap works ;)
you cannot use pipeline components inside an action-set.

you need to take a different approach...

use the action-set inside your pipeline and use a selector if you really
need to branch in the pipeline.

sound like you might to have a look into this ;)

http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/scratchpad/webapp/mount/pr
ecept/
http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/scratchpad/src/org/apache/
cocoon/precept/acting/PreceptorDemoAction.java

hope this helps
--
Torsten


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message