ICEfaces
  1. ICEfaces
  2. ICE-3015

tomahawk schedule component problem with icefaces

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2, 1.7
    • Fix Version/s: 1.7.1
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      ANY

      Description

      This may be a more general problem. When tooltip=true or readonly=false javascript error is caught when interacting with the schedule component

        Activity

        Hide
        Sam Xiao added a comment -

        attached test app

        Show
        Sam Xiao added a comment - attached test app
        Hide
        Mircea Toma added a comment -

        There is a conflict for the "Hash" function name (in Javascript). Both Tomahawk's "domLib.js" file and Prototype's "hash.js" file define the function. Prototype function definition is the last being loaded which in effect overwrites the previously defined one.

        Show
        Mircea Toma added a comment - There is a conflict for the "Hash" function name (in Javascript). Both Tomahawk's "domLib.js" file and Prototype's "hash.js" file define the function. Prototype function definition is the last being loaded which in effect overwrites the previously defined one.
        Hide
        Mircea Toma added a comment -

        Rename class to avoid conflict with the function having the same name in Tomahawk component JS code.

        Show
        Mircea Toma added a comment - Rename class to avoid conflict with the function having the same name in Tomahawk component JS code.
        Hide
        Mircea Toma added a comment -

        Rename Hash variable to Hashtable. SVN commit #16509.

        Show
        Mircea Toma added a comment - Rename Hash variable to Hashtable. SVN commit #16509.
        Hide
        Sam Xiao added a comment -

        This might be a generic issue. For some tomahawk components, when interacting with them, the following js error is caught and the cursor jumps to the start of the page because of "#" is appended to the url:

        uncaught exception: [Exception... "Illegal operation on WrappedNative prototype object" nsresult: "0x8057000c (NS_ERROR_XPC_BAD_OP_ON_WN_PROTO)" location: "JS frame :: http://localhost:8080/myfaces/xmlhttp/1209508645984/icefaces-d2d.js :: anonymous :: line 22" data: no]

        Reuse the same war file can produce the problem

        Show
        Sam Xiao added a comment - This might be a generic issue. For some tomahawk components, when interacting with them, the following js error is caught and the cursor jumps to the start of the page because of "#" is appended to the url: uncaught exception: [Exception... "Illegal operation on WrappedNative prototype object" nsresult: "0x8057000c (NS_ERROR_XPC_BAD_OP_ON_WN_PROTO)" location: "JS frame :: http://localhost:8080/myfaces/xmlhttp/1209508645984/icefaces-d2d.js :: anonymous :: line 22" data: no] Reuse the same war file can produce the problem
        Hide
        Mircea Toma added a comment -

        Stop invoking overridden form.submit function since we really want to change form's default behavior.

        Show
        Mircea Toma added a comment - Stop invoking overridden form.submit function since we really want to change form's default behavior.
        Hide
        Sam Xiao added a comment -

        please use tomahawk.iface to test

        Show
        Sam Xiao added a comment - please use tomahawk.iface to test
        Hide
        Sam Xiao added a comment -

        this is the latest one. Please deploy to tomcat 5.5 and visit /myfaces/tomahawk.iface page and take a look at the schedule component

        Show
        Sam Xiao added a comment - this is the latest one. Please deploy to tomcat 5.5 and visit /myfaces/tomahawk.iface page and take a look at the schedule component

          People

          • Assignee:
            Unassigned
            Reporter:
            Sam Xiao
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: