RE: Date validation in cforms

2006-11-21 Thread Arthur Bogaart
Hi Alberto, In order to call the constructor of the Date class you'll have to prepend the attribute statements with the "new" keyword. regards, Arthur Bogaart > I have a date field that must not contain a value lower than the > current date. > I tried

RE: Date validation in cforms

2006-11-21 Thread Arthur Bogaart
n the first error message) which is: new Date(Year,Month, Day) For convenience they also provided a helper functions for returning the current date which is: Now() so, your code should be: regards, Arthur Bogaart > > Arthur Bogaart wrote: > > Hi Alberto, > > > > In ord

RE: populating combo box value from a xml file

2006-06-06 Thread Arthur Bogaart
e the following markup   xmlns:fd="http://apache.org/cocoon/forms/1.0#definition"  xmlns:i18n="http://apache.org/cocoon/i18n/2.1">               my-selection-list.label.1                     my-selection-list.label.2           Hope th

RE: xsl produces not well-formded xml for a XInclude command

2006-05-29 Thread Arthur Bogaart
gebaude_id, while this will end the @href value prematurely. Consider wrapping the value of gebaude_id in single-quotes? regards, Arthur Bogaart - Hippo Oosteinde 11 1017 WT Amsterdam Tel. +31(0)20-5224466 Fax. +31(0)20-5224467 [