I looked back at the 2.1.4 Woody source code and the validation-errors
styling element was indeed available at that time. Of course, I forgot
that since you're using Woody and not CForms, the namespace is
different, so it would probably be wi:validation-errors rather than
fi:validation-errors.
Try this in the form-model submit widget:
var forma = event.source.form;
if (!forma.isValid()) {
forma.lookupWidget("/message").setValue("form with
errors...");
Hi all,
I've tried to use the class StringXMLizable to insert xml data
into the sax stream. When I serialize the stream
without further transformation everything works fine.
When I tried to transform the output stream with xslt stylesheet
( This is StringXMLizable " +
" this
It does not work *snif
Jason Johnston <[EMAIL PROTECTED]>
20/12/2006 15:28
Please respond to
users@cocoon.apache.org
To
users@cocoon.apache.org
cc
Subject
Re: validation
Roel Croonenberghs wrote:
>
> Hi,
>
> Where do I put that javascript code? I still use cocoon 2.1.4. width
> w
it works
tnx
Jeroen Reijn <[EMAIL PROTECTED]>
19/12/2006 20:04
Please respond to
users@cocoon.apache.org
To
users@cocoon.apache.org
cc
Subject
Re: set a session attribute in the sitemap
Hmm I was a little bit to fast with the trigger :-)
I mean that it should become
Kind rega
On Dec 19, 2006, at 2:03 PM, Jeroen Reijn wrote:
Well if I look back at my emails, I'm afraid that the emails are meant
the way I wanted them. Both session-propagator emails were a reply to
the part where Roel had problems with a 'namespace not defined' error
in his sitemap after trying the S
Roel Croonenberghs wrote:
Hi,
Where do I put that javascript code? I still use cocoon 2.1.4. width
woody forms.
Is there no other way?
I don't know if it was available in the version of woody you're using,
but in current CForms there is the element
which aggregates all the validation e
Hi,
Where do I put that javascript code? I still use cocoon 2.1.4. width
woody forms.
Is there no other way?
"Robby Pelssers, AGP" <[EMAIL PROTECTED]>
20/12/2006 12:11
Please respond to
users@cocoon.apache.org
To
cc
Subject
RE: validation
Hi Roel,
you could in javascript ask yo
Hi Roel,
you could in javascript ask your form to validate itself
suppose we have something like
var form = new Form("userform.xml");
var formWidget = form.form;
suppose now your formWidget has a field with id="validationError"
then you could write in your while(true) loop something
Hello,
I use the required attribute. And I get a ! next to the filed. When I
click that ! then I get to see te message. But I want to (next to this
behaviour ) that i can display a message at the bottom of my form to tell
the user that the form did not validate. (because users tend to ove
Dear Roel,
In your form-definition, you can declare whether or not a field is required:
(See http://cocoon.apache.org/2.1/userdocs/widgets/widget_field.html)
When a field has required="true", a message is displayed when the
field is not filled out (on form-submit) (when using standard
validatio
11 matches
Mail list logo