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

Trong Tran (JIRA) jira-events at lists.jboss.org
Mon Apr 9 03:59:54 EDT 2012


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

Trong Tran updated GTNPORTAL-2167:
----------------------------------

    Labels: portal-s66  (was: portal-s61)

    
> 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
>            Assignee: Hai Nguyen
>              Labels: portal-s66
>             Fix For: 3.3.0.CR01
>
>         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

        


More information about the gatein-issues mailing list