[
https://issues.jboss.org/browse/GTNPORTAL-2167?page=com.atlassian.jira.pl...
]
Ronny Pscheidl updated GTNPORTAL-2167:
--------------------------------------
Workaround Description: To use wicket-portlet with ajax functionality you have to
replace Util.js in folder
GateIn-3.1.0-GA\server\default\deploy\gatein.ear\01eXoResources.war\javascript\eXo\core
with the attached file. (was: To use wicket-portlet with ajax functinality you have to
replace Util.js in folder
GateIn-3.1.0-GA\server\default\deploy\gatein.ear\01eXoResources.war\javascript\eXo\core
with the attached file.)
Description:
If you use wicket-portlet ajax requests doesn't be submitted, because of the bind
function in Util.js. You get errors like undefined when using bind function. new browser
javascript egines already have this function, so it hasn't to be overwriten.
wicket-ajax use this function a lot. Please update the javascript file in line 251 like
this:
/**
* @author jeremi joslin
*
* Function util
*/
if (Function.prototype.bind == null) {
Function.prototype.bind = function(object) {
var method = this;
return function() {
method.apply(object, arguments);
}
}
}
path: web\eXoResources\src\main\webapp\javascript\eXo\core
was:
If you use wicket-portlet ajax requests doesn't be submitted, because of the bind
function in Util.js. You get errors like undefined when using bind function. new browser
javascript egines already have this function, so it hasn't to be overridden.
wicket-ajax use this function a lot. Please update the javascript file in line 251 like
this:
/**
* @author jeremi joslin
*
* Function util
*/
if (Function.prototype.bind == null) {
Function.prototype.bind = function(object) {
var method = this;
return function() {
method.apply(object, arguments);
}
}
}
path: web\eXoResources\src\main\webapp\javascript\eXo\core
GateIn - Wicket Portlet Javascript Error
----------------------------------------
Key: GTNPORTAL-2167
URL:
https://issues.jboss.org/browse/GTNPORTAL-2167
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: User Interface
Affects Versions: 3.1.0-GA, 3.2.0-M01
Reporter: Ronny Pscheidl
Fix For: 3.2.0-M02, 3.2.0-GA
Attachments: Util.js-patched_for_wicket_protlet
If you use wicket-portlet ajax requests doesn't be submitted, because of the bind
function in Util.js. You get errors like undefined when using bind function. new browser
javascript egines already have this function, so it hasn't to be overwriten.
wicket-ajax use this function a lot. Please update the javascript file in line 251 like
this:
/**
* @author jeremi joslin
*
* Function util
*/
if (Function.prototype.bind == null) {
Function.prototype.bind = function(object) {
var method = this;
return function() {
method.apply(object, arguments);
}
}
}
path: web\eXoResources\src\main\webapp\javascript\eXo\core
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira