cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] Updated: WoodyXSLT
Date Thu, 08 Jul 2004 04:07:08 GMT
   Date: 2004-07-07T21:07:08
   Editor: DavidCrossley <crossley@apache.org>
   Wiki: Cocoon Wiki
   Page: WoodyXSLT
   URL: http://wiki.apache.org/cocoon/WoodyXSLT

   removed vandal attachment

Change Log:

------------------------------------------------------------------------------
@@ -13,8 +13,8 @@
 
 From the sitemap you only need to reference the last one, for example as follows:
 
-{{{
-  <map:transform src="context://samples/woody/resources/woody-samples-styling.xsl"/>
+{{{
+  <map:transform src="context://samples/woody/resources/woody-samples-styling.xsl"/>
 }}}
 
 = wi:styling options =
@@ -22,10 +22,10 @@
 == wi:field (without selection list) ==
 By default all attributes on the wi:styling element will be copied onto the resulting HTML
<input> element. Thus you can put e.g. type, class, style and size attributes on it.
For example:
 
-{{{
-<wt:widget id="myfield">
-  <wi:styling size="50" class="kinky"/>
-</wt:widget>
+{{{
+<wt:widget id="myfield">
+  <wi:styling size="50" class="kinky"/>
+</wt:widget>
 }}}
 
 Some values for the type attribute will cause special effects:
@@ -46,8 +46,8 @@
 == wi:action ==
 By default, creates an <input> of type submit, thus showing a standard button. To have
an image button instead, try this:
 
-{{{
-<wi:styling type="image" src="blah.gif">
+{{{
+<wi:styling type="image" src="blah.gif">
 }}}
 
 == Other widgets ==
@@ -58,24 +58,24 @@
 
 For storing the state of a tab or choice selection server-side just add a field to the form
definition that shall hold this value:
 
-{{{
-<wd:field id="state">
-  <wd:datatype base="integer"/>
-</wd:field>
+{{{
+<wd:field id="state">
+  <wd:datatype base="integer"/>
+</wd:field>
 }}}
 
 Bind this value to whatever you want. In the form template you need then following code:
 
-{{{
-<wi:group>
-  <wi:styling type="choice"/>
-  <wi:state>
-    <wt:widget id="state"/> <!-- refering to the above defined field -->
-  </wi:state>
-  <wi:items>
-    ...
-  </wi:items>
-</wi:group>
+{{{
+<wi:group>
+  <wi:styling type="choice"/>
+  <wi:state>
+    <wt:widget id="state"/> <!-- refering to the above defined field -->
+  </wi:state>
+  <wi:items>
+    ...
+  </wi:items>
+</wi:group>
 }}}
 
 = Miscellaneous =
@@ -88,12 +88,10 @@
 
 You can customise a message to be shown before and after the errors by adding a child header
and/or footer element:
 
-{{{
-<wi:validation-errors>
-  <header><p>Correct these errors please:</p></header>
-  <footer><p>And then resubmit the form.</p></footer>
-</wi:validation-errors>
-}}}
-[[BR]]
-[[BR]]
-'''Attachment:''' attachment:PUTTY.EXE [[BR]]
+{{{
+<wi:validation-errors>
+  <header><p>Correct these errors please:</p></header>
+  <footer><p>And then resubmit the form.</p></footer>
+</wi:validation-errors>
+}}}
+

Mime
View raw message