Wow, thanks a lot Geert !
Henk
Geert Bevin wrote:
I added code that should fully support this. It will automatically
populate a bean with for example Date[] as a property time, validate
the validity of every single one of the values that have been
submitted. You just have to provide the values for a form input field
that has one particular name (ie. multiple values for one name).
You can download it from the snapshots tomorrow, or build RIFE
yourself now ;-)
Take care,
Geert
So how do you do it now with a Date parameter. Do you let RIFE
automatically fill in a Data property on your bean and use the
format constraint to do the conversion?
yep. I have a form bean 'FormBean' and a 'FormBeanMetadata' class in
which I specify the different constraints for the different
properties. In my form itself, I use <!-- V'FORM:INPUT:date' /> to
display the date entry.
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users