Using form.getWidget("myDate").value = new Packages.java.util.Date(); in the flowscript makes your flowscript dependent on the form - what it should not be. The correct place would be the form definition. It's possible using the event handling: http://cocoon.apache.org/2.1/userdocs/forms/eventhandling.html. I have not done it myself, but placing it into wd:on-action in your submit widget should be easy.
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
