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
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.
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.
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
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.
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