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 ------------------------------------------------------------------------------ * to define a metabind file for the binding and template file, associated with filter tags (see [:DesignPattern/Filtering]) * to define meta widgets in this metabind file, that will aggregate binding and templating tags in logical units you can reuse in different forms (like class for field and form definition) - Just before starting, here is the directory structure : - {{{|||| + Just before starting, here is the directory structure. Under the crud/feature/cud/docs directory, you have : + http://www.bluexml.org/static/images/class-form-generation-dp.gif - ||http://www.bluexml.org/static/images/doctype-form-generation-dp.gif + http://www.bluexml.org/static/images/doctype-form-generation-dp.gif - ||http://www.bluexml.org/static/images/metawidget-generation-dp.gif + http://www.bluexml.org/static/images/metawidget-form-generation-dp.gif - ||||}}} + == Class concept implementation == First, we have a form repository that lists the form classes we need. Form repositories are stored in cud/doctypes directory. Above, we create a calendar doctype, composed of a few classes : {{{
