cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] WoodyNotes HowTos Fri Jul 4 14:00:04 2003
Date Fri, 04 Jul 2003 12:00:05 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodyNotes , version: 2 on Fri Jul  4 11:27:38
2003 by AlfredNathaniel

+ !Expression syntax
+ 
+ The assert expression is evaluated by the org.outerj.expression package originally developed
for xReporter. It uses an Excel-like syntax [http://xreporter.cocoondev.org/en/expressions.html]
where you need to know that:
+ 
+ * Function names are capitalized and case-sensitive
+ * Boolean operations are not operators but functions (And, Or, Not)
+ * String constants only allow "value", not 'value'
+ 
+ {{{
+     <wd:assert test='
+       Or(radiobutton = "value1"
+       , And(radiobutton = "value2", Length(otherfield) > 2))'/>
+ }}}
+ 


Page: http://wiki.cocoondev.org/Wiki.jsp?page=HowTos , version: 104 on Fri Jul  4 11:38:17
2003 by DavidCrossley

+ * __[Forrest Transition|HowToForrestTransition]__ -- how to transition Cocoon docs to Forrest
-- [Diana Shannon|DianaShannon]
+ 



Mime
View raw message