[Seaside] dateInput Question
Ron at USMedRec.com
Fri Nov 3 03:23:29 UTC 2006
I was wondering if you could help me understand something.
I'm trying to add a livecallback to dateInput. It works fine but since I
have a liveCallback now the regular callback doesn't work.
I'm trying to understand the following code:
[value := Date
newDay: (day min: (Date
daysInMonth: month forYear: year))
callbackBlock value: value];
It all makes sense except the part of what triggers the callback in the
first place. Can someone point me to how this hiddenInput callback is
triggered? I'd like to modify my liveCallbackYear: to call this code and
the regular callback code and then my liveCallback block.
Ultimately I'm trying to have a date with a field next to it that shows age.
If you change the age it changes the date, and if you change the date it
changes the age. I have the age updating the date just fine. Now I need
the date changes updating the age.
Thanks for your help!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Seaside