Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change 
notification.

The following page has been changed by JCKermagoret:
http://wiki.apache.org/cocoon/DesignPattern/FormGeneration

------------------------------------------------------------------------------
  We can have a more elaborate approach to avoid all these drawbacks. I will 
try to explain you this in the following lines.
  
  = Architecture =
+ 
  http://www.bluexml.org/static/images/form-generation-dp.gif
  
   * Form definition : describes the fields contained in the form
@@ -195, +196 @@

  === Form template ===
  
  From this metabind file, we create this form template (create, update, 
search).
-  * 
[http://www.bluexml.org/crud-engine/form/cud/getMFM(TemplateURI-atlanticevent-sysadmin-create)
 create form template] - 
[http://www.bluexml.org/static/images/screenshot-form-sysadmin-create.gif "real 
app's screenshot"]
+  * 
[http://www.bluexml.org/crud-engine/form/cud/getMFM(TemplateURI-atlanticevent-sysadmin-create)
 create form template] - 
[http://www.bluexml.org/static/images/screenshot-form-atlanticevent-sysadmin-create.gif
 "real app's screenshot"] (notice the rich text editor FCKEditor, very good 
project)
-  * 
[http://www.bluexml.org/crud-engine/form/cud/getMFM(TemplateURI-atlanticevent-sysadmin-update)
 update] - 
[http://www.bluexml.org/static/images/screenshot-form-sysadmin-update.gif "real 
app's screenshot"]
+  * 
[http://www.bluexml.org/crud-engine/form/cud/getMFM(TemplateURI-atlanticevent-sysadmin-update)
 update] - 
[http://www.bluexml.org/static/images/screenshot-form-atlanticevent-sysadmin-update.gif
 "real app's screenshot"] (the form is initialized with data from the database)
-  * 
[http://www.bluexml.org/crud-engine/form/cud/getMFM(TemplateURI-atlanticevent-sysadmin-search)
 search]  - 
[http://www.bluexml.org/static/images/screenshot-form-sysadmin-search.gif "real 
app's screenshot"]
+  * 
[http://www.bluexml.org/crud-engine/form/cud/getMFM(TemplateURI-atlanticevent-sysadmin-search)
 search]  - 
[http://www.bluexml.org/static/images/screenshot-form-atlanticevent-sysadmin-search.gif
 "real app's screenshot"] (the description field became a plain input field 
instead of a textarea, useless in search mode)
  
  = Code =
  Here is the global idea. All the code is part of the BlueXML project, located 
in http://www.bluexml.org. Just download the code in the download section.

Reply via email to