Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.1-Beta, 3.0
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      ICEfaces
    • Assignee Priority:
      P1

      Description


      It is sometimes desirable to specify a custom upload function in place of jsf.ajax.Request.

        Activity

        Ted Goddard created issue -
        Hide
        Ted Goddard added a comment -

        To allow registration to occur in any order, it may work best to specify the function through a page variable such as

        ice.submitFunction = jsf.ajax.Request

        Show
        Ted Goddard added a comment - To allow registration to occur in any order, it may work best to specify the function through a page variable such as ice.submitFunction = jsf.ajax.Request
        Ted Goddard made changes -
        Field Original Value New Value
        Assignee Mircea Toma [ mircea.toma ]
        Ted Goddard made changes -
        Salesforce Case []
        Fix Version/s 2.1 [ 10241 ]
        Mircea Toma made changes -
        Salesforce Case []
        Assignee Priority P1
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25058 Thu Jul 21 04:06:19 MDT 2011 mircea.toma ICE-7065 Defined public primitive submit function that can be overriden in special environments. Defaults to jsf.ajax.request function. Replaced usages of jsf.ajax.request to ice.submitFunction.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/application.js
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/submit.js
        Hide
        Mircea Toma added a comment -

        Defined public primitive submit function in ICEfaces core so that it can be overriden in special environments. Defaults to jsf.ajax.request function. Replaced usages of jsf.ajax.request to ice.submitFunction.

        Show
        Mircea Toma added a comment - Defined public primitive submit function in ICEfaces core so that it can be overriden in special environments. Defaults to jsf.ajax.request function. Replaced usages of jsf.ajax.request to ice.submitFunction.
        Hide
        Mircea Toma added a comment -

        Modified signature of jsfUpload function to match jsf.ajax.request signature. The function can now submit additional parameters defined in the 'options' function parameter. During mobility JS code loading the ice.submitFunction is now immediately redefined by the formerly named jsfUpload function. Modified the pages that used jsfUpload function in the event handlers to use ice.s function instead. Updated ICEfaces library.

        Show
        Mircea Toma added a comment - Modified signature of jsfUpload function to match jsf.ajax.request signature. The function can now submit additional parameters defined in the 'options' function parameter. During mobility JS code loading the ice.submitFunction is now immediately redefined by the formerly named jsfUpload function. Modified the pages that used jsfUpload function in the event handlers to use ice.s function instead. Updated ICEfaces library.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Ted Goddard added a comment -

        Do the callbacks look difficult to implement?

        Show
        Ted Goddard added a comment - Do the callbacks look difficult to implement?
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25096 Tue Jul 26 11:11:50 MDT 2011 ted.goddard do not use custom submitFunction for push updates (ICE-7065)
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/application.js
        Ken Fyten made changes -
        Fix Version/s 2.1-Beta [ 10291 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: