You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by cib <c....@laposte.net> on 2001/08/20 22:39:32 UTC
xsp-formval:results exception '}' expected
Hi;
here is what I get:
org.apache.cocoon.components.language.LanguageException: Error compiling
error_xsp:
Line 154, column 91: '}' expected.
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsp:page
language="java"
xmlns:xsp="http://apache.org/xsp"
xmlns:esql="http://apache.org/cocoon/SQL/v2"
xmlns:xsp-formval="http://apche.org/xsp/form-validator/2.0">
<page>
les messages d'erreur.
<xsp-formval:results>
</xsp-formval:results>
</page>
</xsp:page>
I guess my syntax is not correct.
If someone could help me.
I've read the Patch text from Christian Haul , the only text I could find
for this (appart from the apidoc on Formvalidation, same author), but
nothing on the exact syntax to use with xsp-formval:results.
Thanks
Cib
France, Bordeaux, xml and gay pride.
---------------------------------------------------------------------
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: xsp-formval:results exception '}' expected
Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
On 20.Aug.2001 -- 10:39 PM, cib wrote:
> <page>
>
> les messages d'erreur.
> <xsp-formval:results>
> </xsp-formval:results>
>
> </page>
Hi cib,
actually, "results" was meant to be used for complex processing since
it returns a map. It's not really suitable to print it's result
directly. Therefore it is not automatically enclosed in <xsp:expr>. I
will change that but until then you'll need to put <xsp:expr> around
it.
Chris.
--
C h r i s t i a n H a u l
haul@informatik.tu-darmstadt.de
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
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: xsp-formval:results exception '}' expected
Posted by cib <c....@laposte.net>.
Sorry,
I'm an idiot,
I've been searching docs in my c2.0b1,
forgetting I had just upgraded to b2.
*There* is the documentation.
Sorry again.
Cib
France, Bordeaux, xml and gay pride.
----- Original Message -----
From: "cib" <c....@laposte.net>
To: "Cocoon User Mail List" <co...@xml.apache.org>
Sent: Monday, August 20, 2001 10:39 PM
Subject: xsp-formval:results exception '}' expected
> Hi;
> here is what I get:
>
> org.apache.cocoon.components.language.LanguageException: Error compiling
> error_xsp:
> Line 154, column 91: '}' expected.
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <xsp:page
> language="java"
> xmlns:xsp="http://apache.org/xsp"
> xmlns:esql="http://apache.org/cocoon/SQL/v2"
> xmlns:xsp-formval="http://apche.org/xsp/form-validator/2.0">
> <page>
>
> les messages d'erreur.
> <xsp-formval:results>
> </xsp-formval:results>
>
> </page>
> </xsp:page>
>
> I guess my syntax is not correct.
> If someone could help me.
> I've read the Patch text from Christian Haul , the only text I could find
> for this (appart from the apidoc on Formvalidation, same author), but
> nothing on the exact syntax to use with xsp-formval:results.
>
> Thanks
> Cib
>
> France, Bordeaux, xml and gay pride.
>
>
> ---------------------------------------------------------------------
> 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>
>
---------------------------------------------------------------------
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>