Could someone give me an idea how do I customize built-in DateField
component?

I would like to disable Today/None buttons, and make some sort of context
dependencies in calendar itself (for example, if website section doesn't
have any content for a given date, that date is grayed out and not
clickable).

Just calling

    DatePicker.prototype.setShowNone(false);

in afterRender() phase doesn't help this (probably because Tapestry JS
initializers are not ordered, see
http://issues.apache.org/jira/browse/TAP5-774)

There is also a problem with calendar header in Safari (it turns all black),
but this can be probably worked around using CSS.

-- 
Ilya Obshadko

Reply via email to