In the mail http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=110583089425658&w=4 I wrote it's just the proof of principle.

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]



Reply via email to