cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] WoodyScratchpad Tue Feb 10 18:00:03 2004
Date Tue, 10 Feb 2004 17:00:04 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodyScratchpad , version: 6 on Tue Feb 10 16:57:18
2004 by TimLarson

- The following structure supports dynamic (runtime) widget selection and lazy (a.k.a. on-demand)
widget creation based on a static form definition.
+ The following structure supports dynamic (runtime) widget selection and lazy (a.k.a. on-demand)
widget creation based on a static form definition.  This is intended to replace the "union"
widget.
?                                                                                        
                                                          +++++++++++++++++++++++++++++++++++++++++++++++++

- *Should we introduce a <wd:default/> case instead of indicating the default case by
way of a case with an empty "id" attribute?
- *How should we indicate when we do not want to allow a default case?  Should we use 'required="true"'
or the lack of a <wd:default/> element to indicate this?
+ *Instead of using an empty "id" attribute should we use <wd:default/> as the default
case? (+1 tim)
+ *How should we indicate when we do not want to allow a default selection?
+ **Use 'required="true"'.
+ **Do not supply a default case.
+ *What should we do if the expression evaluates to the default anyway?
+ *What namespace should the widget id's be in?
+ **widget-id -- Same as widgets outside the choice. (+1 tim)
+ **choice-id.widget-id -- wrapped by the choice's namespace. (-0 tim)
+ **case-id.widget-id -- wrapped by th case's namespace. (-0 tim)
+ **choice-id.case-id.widget-id -- wrapped by the choice's and the case's namespaces. (-1
tim)



Mime
View raw message