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

        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2
        Assignee Yip Ng [ yip.ng ]
        Sam Xiao made changes -
        Assignee Mircea Toma [ mircea.toma ] Yip Ng [ yip.ng ]
        Sam Xiao made changes -
        Attachment myfaces.war [ 11024 ]
        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
        Sam Xiao made changes -
        Attachment myfaces.war [ 11009 ]
        Hide
        Sam Xiao added a comment -

        please use tomahawk.iface to test

        Show
        Sam Xiao added a comment - please use tomahawk.iface to test
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16585 Mon May 05 16:25:19 MDT 2008 mircea.toma Backport fix.
        ICE-3015
        Files Changed
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/lib/element.js
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16557 Wed Apr 30 15:05:02 MDT 2008 mircea.toma Do not overridden 'submit' function.
        ICE-3015
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/element.js
        Sam Xiao made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        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
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16526 Mon Apr 28 12:40:20 MDT 2008 mircea.toma Migrate fix to 1.7 branch.
        ICE-3015
        Files Changed
        Commit graph ADD /icefaces/branches/icefaces-1.7/icefaces/bridge/openajaxconformancetests/Bridge.iml
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/lib/prototype/hash.js
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/lib/openajax/bridge.open.ajax.js
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/lib/prototype/base.js
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/lib/prototype/deprecated.js
        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.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        Mircea Toma made changes -
        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.
        Ken Fyten made changes -
        Component/s Bridge [ 10011 ]
        Component/s Framework [ 10013 ]
        Fix Version/s 1.7.1 [ 10122 ]
        Affects [Compatibility/Configuration]
        Assignee Priority P2
        Affects Version/s 1.7 [ 10080 ]
        Affects Version/s 1.6.2 [ 10111 ]
        Assignee Mircea Toma [ mircea.toma ]
        Sam Xiao made changes -
        Field Original Value New Value
        Attachment myfaces.war [ 10942 ]
        Hide
        Sam Xiao added a comment -

        attached test app

        Show
        Sam Xiao added a comment - attached test app
        Sam Xiao created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved: