Re: Struts 2. Onchange event does not work with datetimepicker

2007-04-02 Thread C. Adams
because the datetimepicker is a dojo component, you need to treat it a little differently. I use the following: dojo.event.connect(dojo.widget.byId("myPickerId"), "onValueChanged" , "myFunction"); On 4/1/07, VictorD <[EMAIL PROTECTED]> wrote: Hi, I am trying to use onchange event with date

Re: Struts 2. Onchange event does not work with datetimepicker

2007-04-02 Thread Musachy Barroso
good catch! On 4/2/07, C. Adams <[EMAIL PROTECTED]> wrote: because the datetimepicker is a dojo component, you need to treat it a little differently. I use the following: dojo.event.connect(dojo.widget.byId("myPickerId"), "onValueChanged" , "myFunction"); On 4/1/07, VictorD <[EMAIL PROTECTE

Re: Struts 2. Onchange event does not work with datetimepicker

2007-04-02 Thread Musachy Barroso
I logged a jira ticket for it, and it will be fixed for 2.0.8: https://issues.apache.org/struts/browse/WW-1867 as a workaround, instead of using the struts tag, use the html that the tag generates, and set the onValueChanged attribute, something like: regards musachy On 4/1/07, VictorD <[EM