You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Othman Haddad <oh...@neomalogic.com> on 2002/07/09 09:33:43 UTC
Tr : Réf. : Re: xsp and pipelines..
-------Message original-------
De : Othman Haddad
Date : lundi 08 juillet 2002 16:46:38
A : benoit.clouet@6sens.com
Sujet : Réf. : Re: xsp and pipelines..
in fact,
what i want to do is uploading a stylesheet,click on a submit button and
then validating it,and then apply it on an another xml file ,and display the
result.
the name of the input field is :addxslt.
the name of the button is submit.
and i use the forma-validation action like in the cocoon samples.
here is the portion of the sitemap:(that i know it's wrong):
<!-- ======== XNeoma Demo2============================ -->
<map:match pattern="XNeoma2">
<map:act type="form-validator">
<map:parameter name="descriptor" value=
context:///docs/samples/XNeoma/descriptor.xml"/>
<map:parameter name="validate-set" value="xslt_add"/>
<!--here are the lines that don't work-->
<map:parameter name="addxslt" value="*"/>
<map:generate src="INCREDI_LINK_PLACEHOLDER_1991" type="file"/>
<map:transform src="INCREDI_LINK_PLACEHOLDER_2112"/>
</map:act>
<map:call resource="dynamic-page">
<map:parameter name="target" value="docs/samples/XNeoma/ERROR"/>
</map:call>
</map:match>
-----------------
1) so how can i get the value of the field addxslt and use wildcard with it
directly inside the action tags?
thanks