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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.11
    • Fix Version/s: 1.1.14
    • Component/s: Calendar
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: