You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by do...@cocoon.apache.org on 2004/07/20 16:19:47 UTC

[Cocoon Wiki] Updated: CocoonFormsCreatingWidgets

   Date: 2004-07-20T07:19:47
   Editor: VilyaHarvey <vi...@lineone.net>
   Wiki: Cocoon Wiki
   Page: CocoonFormsCreatingWidgets
   URL: http://wiki.apache.org/cocoon/CocoonFormsCreatingWidgets

   Fixed up formatting of some of the headings.

Change Log:

------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
 
 The !WidgetDefinitionBuilder parses the form definition document to create a !WidgetDefinition. The !WidgetDefinition is an '''immutable''' class that is used as a factory to create Widget instances. Widget instances are what constitute the form's object model that hold the form state.
 
-== Update the  =={{{forms-form.xconf}}} file
+== Update the {{{forms-form.xconf}}} file ==
 
 Add a reference to your {{{WidgetDefinitionBuilder}}} implementation in the {{{forms-form.xconf}}} file, which can be found in the {{{conf}}} directory for the forms block. You have to specify the name of the element for that widget as well. This name should preferably match the string returned from the {{{getXMLElementName()}}} method of your {{{Widget}}} implementation.
 
@@ -34,7 +34,7 @@
 
 In some rare cases, you may also need to modify the !WidgetReplacingPipe. This is needed only for widgets that require a special handling by the template engine, such as repeater, class or union.
 
-=== Modify the  ==={{{EffectWidgetReplacingPipe}}} class
+=== Modify the {{{EffectWidgetReplacingPipe}}} class ===
 
  *  Add a new handler class for your widget, as an inner class of {{{EffectWidgetReplacingPipe}}}.
  *  Add a new instance of your handler class as a member variable.
@@ -43,7 +43,7 @@
 
 ''Not sure whether this is actually necessary...''
 
-=== Modify the  ==={{{WidgetReplacingPipe}}} class
+=== Modify the {{{WidgetReplacingPipe}}} class ===
 
 You may need to make some changes to the {{{WidgetReplacingPipe}}} class, from the {{{org.apache.cocoon.forms.transformation}}} package. This will probably only be necessary if a tag other than {{{&lt;widget&gt;}}} is used to refer to the widget in form template files. Examples of this are the repeater and aggregate widgets.