[gatein-issues] [JBoss JIRA] Updated: (GTNPORTAL-1053) Add a complete Ajax call function in JS library (current AjaxGet() function cannot be use for simple XHR calls)

Julien Viet (JIRA) jira-events at lists.jboss.org
Fri Apr 9 03:51:38 EDT 2010


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

Julien Viet updated GTNPORTAL-1053:
-----------------------------------

    Description: 
we need a set of JS function in eXo JS to do Ajax calls for internal developers so they can manipulate response content and status. 

It looks like the ajaxGet() [and other related methods], are only made to manipulate the DOM and force the "waiting screen".

The idea will be to have something as simple as:

        exoAjax.post(	URL,   { paramName : 'paramValue',paramName : 'paramValue' },
        function (response) {
             //  XHR response goes here
            // any callback
        }

  was:
It would be great to have a simple set of JS function in eXo JS to do Ajax calls where developer can manipulate response content and status. 

It looks like the ajaxGet() [and other related methods], are only made to manipulate the DOM and force the "waiting screen".

The idea will be to have something as simple as:

        exoAjax.post(	URL,   { paramName : 'paramValue',paramName : 'paramValue' },
        function (response) {
             //  XHR response goes here
            // any callback
        }



> Add a complete Ajax call function in JS library (current AjaxGet() function cannot be use for simple XHR calls)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: GTNPORTAL-1053
>                 URL: https://jira.jboss.org/jira/browse/GTNPORTAL-1053
>             Project: GateIn Portal
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: WebUI
>    Affects Versions: 3.0.0-GA
>            Reporter: Tugdual Grall
>
> we need a set of JS function in eXo JS to do Ajax calls for internal developers so they can manipulate response content and status. 
> It looks like the ajaxGet() [and other related methods], are only made to manipulate the DOM and force the "waiting screen".
> The idea will be to have something as simple as:
>         exoAjax.post(	URL,   { paramName : 'paramValue',paramName : 'paramValue' },
>         function (response) {
>              //  XHR response goes here
>             // any callback
>         }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list