cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yromem.com MailingList" <mailingl...@yromem.com>
Subject Re: XMLForms. HOWTO bug?
Date Tue, 11 Jun 2002 14:27:17 GMT
I was thinking about a default javabeans, with N parameter :
    1. where to go when the form is validated ?
    2. what is the validator file ?
    3. other ?
   

Piroumian Konstantin wrote:

>>From: Yromem.com MailingList [mailto:mailinglist@yromem.com] 
>>
>>Hi,
>>
>>do you plan to write a simple way to use XMLForm when we need 
>>only one 
>>Form :
>>    with no need to write a javabean (or javacode)
>>I trie to understand all the XMLForm, but it is difficult to me. (the 
>>java part)
>>    
>>
>
>If you don't need a JavaBean, how would you get the data to fill in your
>form with defaults and retain the entered data in case of errors on submit?
>The number of forms is not relevant - everything's the same in processing,
>except the redirect to the next form instead of the success page in case of
>a one form/page.
>
>Anyway, you'll need either a JavaBean or a DOM object to store your data. If
>none of this suit your needs then you'll need only a stylesheet that renders
>your XMLForm into desired format and perform all the form processing in an
>action by hand. 
>
>But I wonder, where will you get data to fill your form with?
>
>--
>Konstantin Piroumian 
>kpiroumian@apache.org
>
>
>  
>
>>Khalid.
>>
>>
>>Ivelin Ivanov wrote:
>>
>>    
>>
>>>UserBean.java:
>>>  private Node system;
>>>
>>>This an attribute which is of type org.w3c.dom.Node
>>>
>>>This is used in the FeedBack Wiazard demo to show how 
>>>      
>>>
>>JavaBeans can be 
>>    
>>
>>>mixed with dom nodes. It is referenced on the page where you select 
>>>Operating System, RAM, App server, etc.
>>>
>>>If you're not going to need DOM nodes in your Form model, you can 
>>>ignore   this attribute. Just delete it.
>>>
>>>I am not sure why it is in the HowTo though. Don't think it is 
>>>necessary. Heidi?
>>>
>>>
>>>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:     <cocoon-users-unsubscribe@xml.apache.org>
>>For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>>
>>    
>>
>
>---------------------------------------------------------------------
>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:     <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>
>  
>




---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message