To whom it may concern,

The original 'imports' I was using were copied from
HowtoWizardAction.java on the "howto" page 
(http://xml.apache.org/cocoon/howto/xmlform-wizard/howto-xmlform-wizard-4.html)
which is incorrect. Only the 'imports'  of
WizardAction is written correctly in the 2.1-dev. The
following is correct (copied from WizardAction.java).
The "components" string was missing. Thanks. 

// Schematron classes
import
org.apache.cocoon.components.validation.SchemaFactory;
import org.apache.cocoon.components.validation.Schema;
import
org.apache.cocoon.components.validation.Validator;
import
org.apache.cocoon.components.validation.Violation;

// Cocoon XMLForm
import org.apache.cocoon.acting.AbstractXMLFormAction;
import org.apache.cocoon.components.xmlform.Form;
import
org.apache.cocoon.components.xmlform.FormListener;


--- Kenny Chow <[EMAIL PROTECTED]> wrote:
> Seems XMLForm is getting concern from people. Being
> one of them, I have written a set of XMLForms for
> interest; but I fail compiling my Action (written
> the
> same way as WizardAction) it says it can't find the 
> org.apache.cocoon.validation.* and xmlform.*
> packages.
>  :( The cocoon-2.1-dev.jar doesn't have it. Where
> could I grab them?  
> 
> --- Piroumian Konstantin <[EMAIL PROTECTED]>
> wrote:
> > > From: Yromem.com MailingList
> > [mailto:[EMAIL PROTECTED]] 
> > > 
> > > What is difficult to me, is to write java code
> > juste to one form.
> > > when i read the xmlform doc (cocoon), i see that
> > even the simple form 
> > > need a java code to control flow.
> > > so i was dreaming about a simple version of
> > xmlform (cocoon) 
> > > that a have 
> > > a simple flow control for all simple form.
> > > 
> > > am i wrong ? can i use the xmlform (cocoon)
> > without writing 
> > > java code to 
> > > validate my form ?
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
>
---------------------------------------------------------------------
> Please check that your question  has not already
> been answered in the
> FAQ before posting.    
> <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:    
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:  
> <[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to