cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] ANewPage WoodyXSLT Tue Feb 3 16:00:03 2004
Date Tue, 03 Feb 2004 15:00:03 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=ANewPage , version: 3 on Tue Feb  3 14:38:59
2004 by 212.71.26.74

+ Kris
+ 


Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodyXSLT , version: 5 on Tue Feb  3 14:12:53
2004 by JoergHeinicke

+ 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>
+ }}}
+ 
+ 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>
+ }}}
+ 



Mime
View raw message