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 -> 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. XMLForm in cocoon how-to. (cocoon2.1)
> > 
> > is there some method else?
> > who can make a list that compare the benifits of them?
> 
> I think best way to understand how to work with FormValidationAction is
> to read API documentation for this class. Also i sugest you to read
> tutorial at IBM developerworks called like "Building Database-driven
> applications with Cocoon"

Without writing your own custom actions (in which case, anything
is possible), there are basically two methods for validating
input in Cocoon:

1.  Schematron + XMLForms 
2.  FormValidationAction and the associated logicsheet

Because I've been using Cocoon for a while, I'm validating with
FormValidationAction.  It's simple and it works well.  However,
I'm watching XMLForms and flowmaps develop and I like where
that's heading.  If you read the XMLForms howto, you'll get
a good feeling for where that project is heading.  Personally,
I don't like the WizardAction though but it's not hard to see
that integrated flowmaps should prove to be an elegant replacement.  

So, IMHO, go with FormValidationAction if you want a tried and
true solution that is fairly well documented.  Go with Schematron
if you want something that's more accepted outside the Cocoon
community and can afford to live on the bleeding edge.

Cheers, Jonathan


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




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 to process form<->DB.
> 3. read form input directly from xsp-request.
> 4. XMLForm in cocoon how-to. (cocoon2.1)
> 
> is there some method else?
> who can make a list that compare the benifits of them?

I think best way to understand how to work with FormValidationAction is
to read API documentation for this class. Also i sugest you to read
tutorial at IBM developerworks called like "Building Database-driven
applications with Cocoon"

Best regards.

Ivan.


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




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. XMLForm in cocoon how-to. (cocoon2.1)

is there some method else?
who can make a list that compare the benifits of them?

regards,
steeven

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>