Kenny,

Seems like you are working with an older WizardAction
The latest org.apache.cocoon.samples.xmlform.WizardAction imports
...
// 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 Form
import org.apache.cocoon.acting.AbstractXMLFormAction;
import org.apache.cocoon.components.xmlform.Form;
import org.apache.cocoon.components.xmlform.FormListener;
...


Either get the latest code base from anoncvs.
See "How to Establish your Local Repository"
http://xml.apache.org/cocoon/contrib.html

Or download a new snapshot.
http://cvs.apache.org/snapshots/xml-cocoon2/



Ivelin



Kenny Chow 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]>
> 
> 



-- 

-= Ivelin =-


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