Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-1164

s:selectDate should trigger onchange if destination object has onchange handler defined.

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.2.1.GA
    • Fix Version/s: 1.3.0.ALPHA
    • Component/s: Core
    • Labels:
      None

      Description

      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)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                shane.bryzak Shane Bryzak
                Reporter:
                csweeney Chris Sweeney
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: