nothing has changed event-wise from the "old" web2py.js to the new one 
(included in web2py >= 2.6.0). 
"Before web2py 2.6.0" the calendar was hooked as soon as discovered into 
the page (even if the user didn't click on the field), now instead it is 
initialized as soon as a user clicks on it.
This enabled the calendar widget to work even if the field is initially 
hidden (a common recurrence in "tabbed-styled" interfaces and on 
"mobiles-friendly" templates).

The docs about the events on the widget are here 
http://www.dynarch.com/jscal/#sec29

@all: BTW, if anyone can find a js calendar widget that:
- works with dates
- works with datetimes
- works with times
- understands strftime formatting for dates (needed to "translate" the form 
value according to the current translation of the page)
- is backward compatible
- doesn't need any additional huge js library 
please free to post here or in the group.
The calendar.js shipped with web2py is starting to show its age and its 
"unmaintenance" ;-)

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to