cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matra <>
Subject Re: cforms: wizard lookup (popup)
Date Fri, 05 May 2006 11:17:50 GMT
Victoria Vitaver <victoria <at>> writes:

> sure, as a default I think there is a calendar pop up attached to all fields
> of type date (correct me if I'm wrong)
> In our project we have overwritten this behaviour  in our
> forms-samples-styling.xsl, so that a field of type date, gets translated
> into a field which is attached to a javascript event which controls
> behaviour of the pop up.
> Here is our code from forms-samples-styling.xsl, this is basically a copy of
> the code already provided modified to suit us. (Notice our javascript
> function is named displayCalendar())
> HTH,
> Vica
> ___


thanx for the tip. It makes - a lot of - sense.
I suppose the value from your displayCalendar() function
gets back through javascript (i.e.
window.opener.document.getElementById("firstname").value = '#fname#';)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message