[gatein-issues] [JBoss JIRA] (GTNPORTAL-2167) GateIn - Wicket Portlet Javascript Error

Ronny Pscheidl (Updated) (JIRA) jira-events at lists.jboss.org
Wed Oct 12 02:45:16 EDT 2011


     [ https://issues.jboss.org/browse/GTNPORTAL-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ronny Pscheidl updated GTNPORTAL-2167:
--------------------------------------

    Attachment: Util.js-patched_for_wicket_protlet

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

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

        


More information about the gatein-issues mailing list