Re: Problem with form validation (and spelling, yes)

2003-03-08 Thread Christian Haul
Guenther Schmidt wrote: Hi all, I've followed the wiki.cocoondev.org guidlines for form validation. I just can't get it to work. (Below is the excerpt from the sub-sitemap) Could you please post your complete pipeline as the fragment below is syntactically incorrect as is. If it is

Problem with form validation (and spelling, yes)

2003-03-07 Thread Guenther Schmidt
Hi all, I've followed the wiki.cocoondev.org guidlines for form validation. I just can't get it to work. (Below is the excerpt from the sub-sitemap) There are NO errors when I change the name of the descriptor to a non existing file name. Any ideas what's wrong ?

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

form validation

2002-09-12 Thread Barbara Post
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 troubles to find the documentation again... For now I have 2 erro

Re: How many form validation methods in cocoon?

2002-06-13 Thread Jonathan Layes
On Wed, Jun 12, 2002 at 07:37:08PM +, Ivan Luzyanin wrote: > On óÒÄ, 2002-06-12 at 16:03, steeven wrote: > > hi all, > > > > i'm new in cocoon world. I have found several form validation method in cocoon >documents: > > > > 1. in user guide ->

Re: How many form validation methods in cocoon?

2002-06-12 Thread Ivan Luzyanin
On óÒÄ, 2002-06-12 at 16:03, steeven wrote: > hi all, > > i'm new in cocoon world. I have found several form validation method in cocoon >documents: > > 1. in user guide -> xsp -> forms , using validate taglib. > 2. in tutorials, using action & action-sets

How many form validation methods in cocoon?

2002-06-12 Thread steeven
hi all, i'm new in cocoon world. I have found several form validation method in cocoon documents: 1. in user guide -> xsp -> forms , using validate taglib. 2. in tutorials, using action & action-sets to process form<->DB. 3. read form input directly from xsp-request. 4.

Re: Logging and Form Validation

2002-06-08 Thread Ivelin Ivanov
>> >>> >>> - Original Message - >>> From: <[EMAIL PROTECTED]> >>> To: <[EMAIL PROTECTED]> >>> Sent: Friday, June 07, 2002 11:58 AM >>> Subject: Logging and Form Validation >>> >>> >>>>

Re: Logging and Form Validation

2002-06-08 Thread Ivelin Ivanov
> >> >> >> - Original Message - >> From: <[EMAIL PROTECTED]> >> To: <[EMAIL PROTECTED]> >> Sent: Friday, June 07, 2002 11:58 AM >> Subject: Logging and Form Validation >> >> >>> Group, >>> >>

Re: Logging and Form Validation

2002-06-08 Thread Diana Shannon
ml Diana > > > - Original Message - > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, June 07, 2002 11:58 AM > Subject: Logging and Form Validation > > >> Group, >> >> I am implmenting a five page form, and I am wondering how I s

Re: Logging and Form Validation

2002-06-07 Thread Ivelin Ivanov
You may want to look at this: http://xml.apache.org/cocoon/xmlform/index.html - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 07, 2002 11:58 AM Subject: Logging and Form Validation > Group, > > I am implmenting a fiv

RE: Logging and Form Validation

2002-06-07 Thread Artur Bialecki
This is what we do for client side validation. WARNING: requires javascript but my clients are not "regular" web users. For my app I provide validation in my XSP, eg: ^$|^[0-9a-zA-Z_]+$/ig ^$|^[0-9a-zA-Z.,_\\-]+\\@[0-9a-zA-Z._\\-]+\

Re: Logging and Form Validation

2002-06-07 Thread Lajos Moczar
Adam: in answer to your question, take a look at: > src/webapp/docs/samples/formvalidation/descriptor.xml > ...which gives a nice example of doing form validation using XML > descriptors. See also: > http://xml.apache.org/cocoon/xmlform/step2-xml

RE: Logging and Form Validation

2002-06-07 Thread Andrew Savory
uestion, take a look at: src/webapp/docs/samples/formvalidation/descriptor.xml ...which gives a nice example of doing form validation using XML descriptors. See also: http://xml.apache.org/cocoon/xmlform/step2-xmlform-howto.html ...for the new way of doing things. Hop

RE: Logging and Form Validation

2002-06-07 Thread Hunsberger, Peter
> Well... you are making a very general statement. Yes, the original start of this conversation qualified when you don't need to worry about JavaScript being enabled... I don't have a problem with people requiring JavaScript; they just need to understand the consequences; if they are writing f

Re: Logging and Form Validation

2002-06-07 Thread Robert Koberg
owsers and that JavaScript is necessary. That being the case, what is the problem? -Rob - Original Message - From: "Hunsberger, Peter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 07, 2002 1:28 PM Subject: RE: Logging and Form Validation > >

RE: Logging and Form Validation

2002-06-07 Thread Hunsberger, Peter
> wait: how many users out there are without JavaScript support ? > Not many I think, and I have yet to find a customer of mine saying "it has > to work on *every* browser", usually they say "IE 5.x, IE 6.x... maybe > Netscape 6.x... possibly Opera 5" and that's it. I've done three e-commerce sit

Re: Logging and Form Validation

2002-06-07 Thread Adam_Waldal
cc: Subject: Re: Logging and Form Validation 0

RE: Logging and Form Validation

2002-06-07 Thread Adam_Waldal
cc: Subject: RE: Logging and Form Validation 06/07/02 03:24 PM Plea

RE: Logging and Form Validation

2002-06-07 Thread Hunsberger, Peter
> How about > > Guaranteed to produce lots and lots of calls to the help desk, or perhaps just people that don't use your site (particularly attractive for someone running an e-commerce site). The fact of the matter is that some of your average users have heard that Javascript is dangerous a

Re: Logging and Form Validation

2002-06-07 Thread Lajos Moczar
web developers could always learn Cocoon ... Vadim Gritsenko wrote: >>From: Hunsberger, Peter [mailto:[EMAIL PROTECTED]] >> >> >>>(remember, you still must have validation on the backend) >>> >>Precisely my original point: since you have to write the server side >>validation anyway, do you reall

RE: Logging and Form Validation

2002-06-07 Thread Vadim Gritsenko
> From: Hunsberger, Peter [mailto:[EMAIL PROTECTED]] > > > (remember, you still must have validation on the backend) > > Precisely my original point: since you have to write the server side > validation anyway, do you really want to write both client and server side > validation? It is standar

RE: Logging and Form Validation

2002-06-07 Thread Luca Morandini
; To: [EMAIL PROTECTED] > Subject: RE: Logging and Form Validation > > > > Luca, > > That would work for me as well, but I have multiple forms that need to be > incrementally validated. The application that is being replaced > implemented client-side validation with five large

RE: Logging and Form Validation

2002-06-07 Thread Luca Morandini
[EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - > -Original Message- > From: Hunsberger, Peter [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 07, 2002 10:06 PM > To: '[EMAIL PROTECTED]' > Subject: RE

RE: Logging and Form Validation

2002-06-07 Thread Adam_Waldal
ndini" tin.it> cc: Subject: RE: Logging and Form Validation 06/0

Re: Logging and Form Validation

2002-06-07 Thread Robert Koberg
How about: -Rob - Original Message - From: "Hunsberger, Peter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 07, 2002 12:58 PM Subject: RE: Logging and Form Validation > > I beg to differ. The most part of validation is a trivial matter (

RE: Logging and Form Validation

2002-06-07 Thread Hunsberger, Peter
> (remember, you still must have validation on the backend) Precisely my original point: since you have to write the server side validation anyway, do you really want to write both client and server side validation? I only do so if there is a real performance penalty with the page validation/re

RE: Logging and Form Validation

2002-06-07 Thread Vadim Gritsenko
> From: Hunsberger, Peter [mailto:[EMAIL PROTECTED]] > > > I beg to differ. The most part of validation is a trivial matter (minimum > > lenght of fields, bounds checking, ...) and this should, in my eyes, be > done > > on the client: max performance, min hassles for the user (errors are > > inte

RE: Logging and Form Validation

2002-06-07 Thread Hunsberger, Peter
> I beg to differ. The most part of validation is a trivial matter (minimum > lenght of fields, bounds checking, ...) and this should, in my eyes, be done > on the client: max performance, min hassles for the user (errors are > interactivaley corrected). It's not the complexity of the validation

RE: Logging and Form Validation

2002-06-07 Thread Vadim Gritsenko
ilto:[EMAIL PROTECTED]] > > Sent: Friday, June 07, 2002 7:06 PM > > To: '[EMAIL PROTECTED]' > > Subject: RE: Logging and Form Validation > > > > > > > This is a major > > > sticking point for my developers that like and are comfortable with jsp

RE: Logging and Form Validation

2002-06-07 Thread Luca Morandini
From: Hunsberger, Peter [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 07, 2002 7:06 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Logging and Form Validation > > > > This is a major > > sticking point for my developers that like and are comfortable with jsp >

Re: Logging and Form Validation

2002-06-07 Thread Lajos Moczar
Peter"To: >> "'[EMAIL PROTECTED]'" >> <[EMAIL PROTECTED]>

Re: Logging and Form Validation

2002-06-07 Thread Lajos Moczar
Peter"To: >"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > >

RE: Logging and Form Validation

2002-06-07 Thread Hunsberger, Peter
> So how would I accomplish this with Cocoon. Could I just create a > component for doing that validation and treat it as a self contained pipe? I suspect our case won't apply to you: we drive validation out of the database through some EJB's using XML templates that describe what validation ru

RE: Logging and Form Validation

2002-06-07 Thread Adam_Waldal
Subject: RE: Logging and Form Validation

RE: Logging and Form Validation

2002-06-07 Thread Hunsberger, Peter
> This is a major > sticking point for my developers that like and are comfortable with jsp > with javascript embedded. > They want to keep it at the client and I am trying to build a case for the > server through cocoon. IMNSHO, the only way you can justify client side validation is if you are r

Logging and Form Validation

2002-06-07 Thread Adam_Waldal
Group, I am implmenting a five page form, and I am wondering how I should do the validation of fields. Can anyone give me a good comparison in brief of javascript vs. cocoon for doing the validation? I am looking for how it would be accomplished pass content of forms to bean through servlet, et

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 > whe

Form Validation and Descriptor File

2002-05-21 Thread Naquin, Beth
Title: Form Validation and Descriptor File 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? I need to valid

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

Form validation

2002-05-14 Thread Paul Pattison
I was looking at the Form Validation sample today and I found that there was a little more code in the xsp page then I would like. I'm trying to find a way to get the if-else if statements out of the page and put them into the action instead. Here's what I came up with. I tried

RE: how to pass relative path of params file for form validation ?

2002-04-21 Thread Vadim Gritsenko
> From: Ricardo Trindade [mailto:[EMAIL PROTECTED]] > > 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

how to pass relative path of params file for form validation ?

2002-04-21 Thread Ricardo Trindade
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 --

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

form-validation

2002-04-15 Thread Niket Anand
Hi All, How can I do form validation for date field? I want that the input value for date field should not exceed certain date. Please suggest about it.   I want to return map in act() method as Map siteparams=new HashMap(); siteparams("validate", true); return siteparams;   How

form validation with at least a parameter

2002-04-15 Thread Marco Taiuti
I have a form with 2 parameters. How I can make that it is validated if at least a parameter is present? Marco - Plangroup Dott. Marco Taiuti Plan Soft Srl Via Ippolito Rosellini, 25 50127 Firenze email: [EMAIL PROTECTED] tel.: +39 055 43.68.525 Fax:+39 055

form validation withat least a parameter

2002-04-13 Thread Tiscali-Taiuti
Hi, I have a form with 2 parameters. How I can make that it is validated if at least a parameter is present? - Please check that your question has not already been answered in the FAQ before posting.

RE: form-validation and utf-8

2002-04-05 Thread Montier Patrick
ons: > >>1. Patch form validator > >>2. Change encoding of the servlet container > > > > > > > Hi, > > Patrick, > > > I can't resolve my problem : i try to make the form-validation works > with > > utf-8 data, it only works w

RE: form-validation and utf-8

2002-04-05 Thread Vadim Gritsenko
form validator works on encoding of the servlet container. You > >>>have two options: > >>1. Patch form validator > >>2. Change encoding of the servlet container > > > > > > > Hi, > > Patrick, > > > I can't resolve my proble

RE: form-validation and utf-8

2002-04-04 Thread Montier Patrick
nge encoding of the servlet container > 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- > In my sitemap.xmap, i try the form-encoding as described in an email but > it's still the same, whe

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 op

form-validation and utf-8

2002-04-03 Thread Montier Patrick
Hi, I can't resolve my problem : i try to make the form-validation works with utf-8 data, it only works with Iso- In my sitemap.xmap, i try the form-encoding as described in an email but it's still the same, when login or password input is in Utf-8 caracters, the form-valida

RE: Form Validation

2001-10-05 Thread Lakshmi Anantharaman
, 2001 2:28 PM To: [EMAIL PROTECTED] Subject: Form Validation If your request is for formvalidation/test url, continue inside match element. Execute form-validator action with 2 parameters above. If form-validator action succeeded, execute dynamic-page

Form Validation

2001-10-05 Thread Gregory Steuck
If your request is for formvalidation/test url, continue inside match element. Execute form-validator action with 2 parameters above. If form-validator action succeeded, execute dynamic-page pipeline with docs/samples/formvalidation/OK target.

Form Validation

2001-10-05 Thread Lakshmi Anantharaman
Can someone explain this to me in laymans terms ? - Please check that your question has not already been answered in the FAQ before posting.

Re: Help with form validation

2001-09-17 Thread Martin Man
On Mon, Sep 17, 2001 at 03:47:54PM +0300, beje wrote: > Hi, > I have n dinamicaly generated (and identical) forms to fill-in; > on submition I'd like to validate them by using just a descriptor file > whitch contains just 1 form (since all are the same). > > Is there a way to achieve that ? sure

Re: Help with form validation

2001-09-17 Thread Christian Haul
On 17.Sep.2001 -- 06:13 PM, beje wrote: > From: Christian Haul <[EMAIL PROTECTED]> > > On 17.Sep.2001 -- 03:47 PM, beje wrote: > > > Hi, > > > I have n dinamicaly generated (and identical) forms to fill-in; > > > on submition I'd like to validate them by using just a descriptor file > > > whitch c

Re: Help with form validation

2001-09-17 Thread Christian Haul
On 17.Sep.2001 -- 11:09 AM, Per Kreipke wrote: > > Sure, just have the same parameter names. You might even want to set > > your descriptor as default descriptor. > > Where would I start to learn about this? Are 'descriptors' a velocity > template thing or a Cocoon2? > > Per Please see docs, se

Re: Help with form validation

2001-09-17 Thread beje
- Original Message - From: Christian Haul <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 17, 2001 5:40 PM Subject: Re: Help with form validation > On 17.Sep.2001 -- 03:47 PM, beje wrote: > > Hi, > > I have n dinamicaly generated (and

RE: Help with form validation

2001-09-17 Thread Per Kreipke
> Sure, just have the same parameter names. You might even want to set > your descriptor as default descriptor. Where would I start to learn about this? Are 'descriptors' a velocity template thing or a Cocoon2? Per - Please ch

Re: Help with form validation

2001-09-17 Thread Christian Haul
On 17.Sep.2001 -- 03:47 PM, beje wrote: > Hi, > I have n dinamicaly generated (and identical) forms to fill-in; > on submition I'd like to validate them by using just a descriptor file > whitch contains just 1 form (since all are the same). > > Is there a way to achieve that ? Sure, just have th

Help with form validation

2001-09-17 Thread beje
Hi, I have n dinamicaly generated (and identical) forms to fill-in; on submition I'd like to validate them by using just a descriptor file whitch contains just 1 form (since all are the same).   Is there a way to achieve that ? Thanks.

reg form validation ..xform

2001-07-12 Thread java guru
HI., Anyone using form validation successfully?..The examples are working fine, but i needed extensive validation and error reporting to user incase of form error..anyone wants to share examples in this area... And also any ideas on generating nice html forms from xml like xform or something