ICEmobile
  1. ICEmobile
  2. MOBI-762

change mobi.AjaxRequest in icemobile.js of jsp project to ice.mobi.AjaxRequest

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3 Beta
    • Fix Version/s: 1.3 Final
    • Component/s: JSP
    • Labels:
      None
    • Environment:
      icemobile jsp

      Description

      final api for both jsf and jsp will be ice.mobi.AjaxRequest. since this is visible to developers in jsp, should be done quickly so change to api is not noticeable.
      Tags affected-> commandButton, commandButtonGroup, panelConfirmation, menuButton, submitNotification.

        Activity

        Hide
        Judy Guglielmin added a comment - - edited

        ice.mobi.userAjaxRequest(....

        with the following:-
        ice.mobi.ajaxRequest(options){
        if( typeof ice.mobi.userAjaxRequest === "function")

        { ice.mobi.userAjaxRequest(options); }

        else

        { //full submit }

        ....
        if user does not define ice.mobi.userAjaxRequest, then ice.mobi.ajaxRequest(options) will just do a form submit on the form found for the element.
        So hidden api uses ice.mobi.ajaxRequest (like jsf will in 1.4) and the user defines ice.mobi.userAjaxRequest(options).

        Show
        Judy Guglielmin added a comment - - edited ice.mobi.userAjaxRequest(.... with the following:- ice.mobi.ajaxRequest(options){ if( typeof ice.mobi.userAjaxRequest === "function") { ice.mobi.userAjaxRequest(options); } else { //full submit } .... if user does not define ice.mobi.userAjaxRequest, then ice.mobi.ajaxRequest(options) will just do a form submit on the form found for the element. So hidden api uses ice.mobi.ajaxRequest (like jsf will in 1.4) and the user defines ice.mobi.userAjaxRequest(options).
        Hide
        Judy Guglielmin added a comment -

        rev 35952 for 1.3.0 branch rev 35955 for trunk

        Show
        Judy Guglielmin added a comment - rev 35952 for 1.3.0 branch rev 35955 for trunk

          People

          • Assignee:
            Judy Guglielmin
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: