[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1164) s:selectDate should trigger onchange if destination object has onchange handler defined.

Chris Sweeney (JIRA) jira-events at lists.jboss.org
Mon May 14 11:09:02 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1164?page=comments#action_12362181 ] 
            
Chris Sweeney commented on JBSEAM-1164:
---------------------------------------

Please see http://www.jboss.org/index.html?module=bb&op=viewtopic&t=106261 for further discussion (particularly associated with problems associated with using onchange() with a text input).

> s:selectDate should trigger onchange if destination object has onchange handler defined.
> ----------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-1164
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1164
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 1.2.1.GA
>            Reporter: Chris Sweeney
>         Assigned To: Shane Bryzak
>             Fix For: 1.3.0.BETA1
>
>
> in /org/jboss/seam/ui/resource/date/calendar.js
> function __clickCalendar(calName, year, month, day) {
>   getObject(calName).value = __calendarFactory.formatDate(year, month + 1, day);
>  //change follows
>   if(getObject(calName).onchange){ getObject(calName).onchange(); }
>  //change_end
> }
> Tested with 
> -Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
> -Microsoft Internet Explorer 5.2 for Mac
> -Safari, Version 2.0.4 (419.3)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list