hi,
you give the buttons some names and select for the names.
in my option they can have the same with different values, but I'm not sure
in this point.

I'm sure you can't select for value - cocoon doesn't know what is "value".

cu Majo

# Fiedler, Raul wrote:
#
# Hi
#
# I have a HTML form with fields. In order to process the fields in 2
# different ways I need 2 submit buttons.
# How can one assign different actions to the 2 buttons.
#
# Ultimately I want to have 2 pipelines.
#
# Can it be done with:
# HTML form
# <input type="submit" value="option1"/>
# <input type="submit" value="option2"/>
#
#
# sitemap
# <map:select>
# <map:parameter name="parameter-selector-test" value="value"/>
# <map:when test="option1">
#       <map:redirect-to uri="/cocoon/optioin1"/>
# </map:when>
# <map:otherwise>
#       <map:redirect-to uri="/cocoon/optioin2"/>
# </map:otherwise>
# </map:select>
#
# thanks

---

System Development
VIRBUS AG
ICQ   24139151
[EMAIL PROTECTED]
www.virbus.de


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to