Hi,

I'm slowly checking the inputDate component and chooseDate component. 
Mostly trying to add a "startTime" attribute that allows the first date 
selected to be something else than the current day  OR the minimumTime / 
maximumTime  if the current day isn't in range with those previous two.

for the chooseDate, I've done the modification not so hardly and its 
currently working good. But for the inputDate its another story. The 
inputDate component relies heavily on PPR and javascript function (and I'm 
not used with the javascript!).  Altought I must say I found where I 
should make the addition to have an attribute "startTime" working with the 
inputDate.

MY QUESTION: Is it ok to modify a javascript function as part of a patch 
proposition ? (mostly will be adding a new parameter to it).
I searched for other ways of passing some attributes values from the 
inputDate to the renderered calendar from the clickable icon (mostly 
option that worked without touching the javascript function) but havn't 
found anything.

I'm hitting the same problem for a new attribute "weekendSelectable". I've 
included it to the chooseDate component but not on the inputDate, again 
due to the launching calendar from a javascript function.

I'm waiting you opinion, insight and/or suggestions of others ways I might 
have missed to add those 2 mentionned features.

Pierre-Luc Archambault
Fujitsu Counsulting

Reply via email to