Here's what I've hacked up so far but nothing is happening..
<span jwcid="[EMAIL PROTECTED]" value="ognl:filterStartDate" />
<script type="text/javascript">
var datepicker = dojo.widget.byId('startDate');
dojo.event.connect(datepicker, 'setDate', 'myHandler');
function myHandler(evt) {
alert("setDate handler");
}
</script>
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 03, 2007 1:46 PM
To: [email protected]
Subject: Can someone help me with DropdownDatePicker javascript?
I've got a DropdownDatePicker. I'd like to have an onChange event that
refreshes the form.
I guess because this is DOJO I can't do what I typically do
<span jwcid="[EMAIL PROTECTED]" value="ognl:filterStartDate"
onclick="javascript:tapestry.form.refresh('reviewForm');"/>
Can anyone help me get this sort of thing going? I have virtually no Javascript
knowledge :( I'm guessing I will need to use some DOJO calls somehow, but then
have it call the tapestry method somehow...
Thanks,
Greg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]