cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Adding date and time to a xml file
Date Mon, 17 Jan 2005 18:10:15 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message