Re: form validation

2002-09-19 Thread Barbara Post
I solved it after restarting cocoon, it worked... Indeed I used the SimpleFormTransformer. I also used 2 "error" tags. - Original Message - From: "Christian Haul" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 19, 2002 1:58 PM Subjec

Re: form validation

2002-09-19 Thread Christian Haul
On 12.Sep.2002 -- 03:12 PM, Barbara Post wrote: > I just wonder whether I can do the following in my xsl : > > The field validation can trigger 2 types of errors : > 1. the field is null -> show message 1 > 2. the field is not null but has wrong regex syntx -> show message 2. > > I just have tro

Re: Form Validation and Descriptor File

2002-05-22 Thread Christian Haul
On 21.May.2002 -- 10:56 AM, Naquin, Beth wrote: > I am new to cocoon and any help is appreciated! > > Where can I find more information about form validation and the descriptor > file? The cocoon documentation mentions 'javadocs', but what are these and > where can I find them? http://xml.apach

Re: Form validation

2002-05-16 Thread Christian Haul
There is new foms support underway for cocoon using an XForms related syntax. FormvalidatorAction will stay but large additions might not be worthwile On 14.May.2002 -- 08:59 PM, Paul Pattison wrote: > I'm trying to find a way to get the if-else if statements out of the page > and put them i

Re: form-validation

2002-04-15 Thread Christian Haul
On 16.Apr.2002 -- 10:24 AM, Niket Anand wrote: > I want to return map in act() method as > Map siteparams=new HashMap(); > siteparams("validate", true); > return siteparams; > > How can I use variable "validate" in sitemap such that If it is true then redirect >to resource1 else redirect to reso

RE: form-validation and utf-8

2002-04-05 Thread Montier Patrick
hi, Thanks for your advises but it still doesn't work. 1. UNIX: LOCALE=... I try to change the LC_CTYPE to utf_8 but it doesn't change anything. >>>2. For Sun JVM, this is -Dfile.encoding option (I might be wrong though...) 2) I try to change system settings but it"s the same thing, i also tr

RE: form-validation and utf-8

2002-04-05 Thread Vadim Gritsenko
> From: Montier Patrick [mailto:[EMAIL PROTECTED]] > > Thank you for the response but how to change the encoding of the servlet > container ? > that is what i want to do ! Two options: 1. UNIX: LOCALE=... Win: Control Panel - Regional Options - Locale 2. For Sun JVM, this is -Dfile.encoding

RE: form-validation and utf-8

2002-04-04 Thread Montier Patrick
Thank you for the response but how to change the encoding of the servlet container ? that is what i want to do ! Best regards Patrick >>IIRC, form validator works on encoding of the servlet container. You >>>have two options: >>1. Patch form validator >>2. Change encoding of the servlet contain

RE: form-validation and utf-8

2002-04-03 Thread Vadim Gritsenko
> From: Montier Patrick [mailto:[EMAIL PROTECTED]] > > Hi, Patrick, > I can't resolve my problem : i try to make the form-validation works with > utf-8 data, it only works with Iso- IIRC, form validator works on encoding of the servlet container. You have two options: 1. Patch form validat

RE: Form Validation

2001-10-05 Thread Lakshmi Anantharaman
Thanks Greg I assume by default on submit , the evaluvation is carried as per ERROR.xsp , and this is why it is not part of tags This is the standard way I suppose !?! Lakshmi -Original Message- From: Gregory Steuck [mailto:[EMAIL PROTECTED]] Sent: Friday, October 05, 2