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

Chris Sweeney (JIRA) jira-events at lists.jboss.org
Tue Apr 10 14:04:58 EDT 2007


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


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