MyFaces Tomahawk
  1. MyFaces Tomahawk
  2. TOMAHAWK-42

ImportCalendar doesn't work in FireFox browser

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.5
    • Component/s: Calendar
    • Labels:
      None
    • Environment:
      Windows XP with FireFox browser

      Description

      InputCalendar component (tomahawk extensions) is working fine in Internet Explorer but it doesn't work in FireFox browser. The following is javascript error message detected by FireFox browser. I can see the calendar image on FireFox browser but the calendar doesn't pop up when I click the calendar image.

      Code in JSP:
      <t:inputCalendar id="personDOBInput" title="#

      {uimsg['label.person.DOB']}

      " alt="date"
      forceId="true" size="13" value="#

      {person.dateOfBirth}

      "
      popupDateFormat="#

      {uimsg['format.date']}

      "
      required="true" validator="#

      {memberController.validate}

      "
      renderAsPopup="true" renderPopupButtonAsImage="true"/>

      Error: jscalendarSetImageDirectory is not defined
      Source File: http://localhost/CAS/jsp/provider/presumptiveEligibility/providerSearch.jsf

        Activity

        Hide
        Sukhada added a comment -

        Try adding extension filter in web.xml.

        http://myfaces.apache.org/tomahawk/extensionsFilter.html

        Show
        Sukhada added a comment - Try adding extension filter in web.xml. http://myfaces.apache.org/tomahawk/extensionsFilter.html
        Hide
        Mike Youngstrom added a comment -

        I can confirm that a simple example (<t:inputCalendar renderAsPopup="true"/>) was not working in 1.1.1 but is now working in 1.1.3.

        Mike

        Show
        Mike Youngstrom added a comment - I can confirm that a simple example (<t:inputCalendar renderAsPopup="true"/>) was not working in 1.1.1 but is now working in 1.1.3. Mike
        Hide
        Matthias Weßendorf added a comment -

        Hey Mike,

        so we can close this issue ?

        Show
        Matthias Weßendorf added a comment - Hey Mike, so we can close this issue ?
        Hide
        Holger Schimanski added a comment -

        I can confirm, that inputCalendar from http://www.irian.at/myfaces/calendar.jsf is working fine in Firefox 1.5 on Windows XP and MacOS X.

        Holger

        Show
        Holger Schimanski added a comment - I can confirm, that inputCalendar from http://www.irian.at/myfaces/calendar.jsf is working fine in Firefox 1.5 on Windows XP and MacOS X. Holger
        Hide
        Mike Youngstrom added a comment -

        Ya, I think this can be closed. One note though. If you're page is set as xhtml then firefix 1.5 will throw an exception because document.write() is not a supported operation in xhtml. To solve that problem make sure your content type is plain html. I don't know if that is the problem the original poster was having or not so this might also be a duplicate of the document.write bug related to inputCalendar not sure of the bug number right off hand.

        Mike

        Show
        Mike Youngstrom added a comment - Ya, I think this can be closed. One note though. If you're page is set as xhtml then firefix 1.5 will throw an exception because document.write() is not a supported operation in xhtml. To solve that problem make sure your content type is plain html. I don't know if that is the problem the original poster was having or not so this might also be a duplicate of the document.write bug related to inputCalendar not sure of the bug number right off hand. Mike

          People

          • Assignee:
            Unassigned
            Reporter:
            Jane Skolnick
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development