nice, that this help u :) .
ofCourse it is easy to extend this sample to write data entered in the XMLForms into persistance storage[DB]....
for e.g :
if u use EJB as a persistance layer in ur project , u can easily in the Perform() method in ur Action after u get ur model Bean:
DataBean jBean = (DataBean) getForm().getModel();
u can extract the entered data from this bean, and sned it in any way[Collection data type or whatever u accept the user data] along with a VO(value-object) to be entered into DB by the aid of EJB Class that take this VO and perform the Insert query or whatever the command u need to do with DB
I think this is a breif answer but I wish it give u the way
Thanx
Mohamed
[EMAIL PROTECTED] wrote:
Yes it will help me, thank you Mohamed. Do you know how to extend this sample to write data you entered in persistence storage (database)?Sylvain -----Message d'origine----- De: Mohamed El-Refaey [mailto:[EMAIL PROTECTED]] Date: mardi, 29. octobre 2002 22:13 À: [EMAIL PROTECTED] Objet: Re: xmlform and build Hallo Sylvain Yes, it is bossible to compile the new Java files and put them under the WEB-INF classes directory under cocoon and the ramaing files relating to schematron and XMLForms files and stylesheets put them as a common web application under cocoon samples or whatever u want. I wish this will help Mohamed [EMAIL PROTECTED] wrote:hello, I'm trying to write my first XMLForm form and I follow the doc example (wizard howto). In the last step (step 5) you have to (re)build the entire Cocoon app using the command build ... webapp to have a new cocoon.war. Is it possible to compile only the new java files and add the .class directly in the Tomcat webapps directory (without using the .war). And when you want the up-to-date .war, you make the command jar .... ?? Thank you for your suggestions and experiences. Sylvain Thevoz --------------------------------------------------------------------- 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]>--------------------------------------------------------------------- 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]> --------------------------------------------------------------------- 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]>