You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ricardo Trindade <Ri...@myrealbox.com> on 2002/04/20 19:51:02 UTC
how to pass relative path of params file for form validation ?
Hi,
I noticed that in the samples, when passing files as arguments to actions,
such as in passing the params file to the form validator, context:// URLs
are used. Is it possible to use a relative URL there ?
thanks
Ricardo Trindade
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: how to pass relative path of params file for form validation ?
Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Ricardo Trindade [mailto:Ricardo.Trindade@myrealbox.com]
>
> Hi,
>
> I noticed that in the samples, when passing files as arguments
to
> actions,
> such as in passing the params file to the form validator, context://
URLs
> are used. Is it possible to use a relative URL there ?
>From the stock sitemap:
<map:match pattern="forms/employee">
<map:act set="employee">
<map:parameter name="descriptor"
value="docs/samples/forms/employee.xml"/>
Means: answer is yes.
Vadim
>
> thanks
> Ricardo Trindade
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>