cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matra <matro...@gmail.com>
Subject Re: cforms: wizard lookup (popup)
Date Fri, 05 May 2006 11:17:50 GMT
Victoria Vitaver <victoria <at> tt.com.au> 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
> ___



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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message