Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1631

inputCalendar (js-popup): exception in popcalendar.js

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.11
    • 1.1.14
    • Calendar
    • None
    • MyFaces 2.1.6, Tomahawk20 1.1.11

    Description

      I get an exception '_formatInt not found on [object]'.

      But that appears only in special cirumstances, not in normal usage: I am merging all js-files (myfaces and our own) into one single file.

      If I then open a calendar popup and click i.e. the year-dropdown the exception occurs.

      The '_formatInt' exists at the end of 'popcalendar.js. I found that if I move this prototype-declaration before the function declaration prior to that the exception disappears.

      I don't know why...

      (
      move
      'org_apache_myfaces_PopupCalendar.prototype._formatInt'
      before
      'function org_apache_myfaces_Rectangle()'
      )

      Greetings
      dennis

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            hoersch dennis hoersch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: