Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Issue with AJAX server process

Sunil BhatiaSep 16 2015 — edited Sep 16 2015

Hi Team,

I am using APEX 5.0, apex.server.process to update a collection, and that process uses "async=false" (I need this, and cannot remove it as i want to wait for result before next call is done)

My code below

function f_UpdateCollection(v_fixture, v_store)

{

    apex.server.process

    (

        'UPDATE_FIXTURE',

         {

            x01: v_fixture.checked,

            x02: v_fixture.value,

            x03: apex.item('P46_PARENT_PAGE').getValue(),

            x04: v_store,

            x05: apex.item('P46_PLAN_ID').getValue(),

            x06: apex.item('P46_BU_ID').getValue()

       },

       {

            dataType : 'text',

            async: false,

            success : function(pData)

            {

                 //alert(pData);

            },

            loadingIndicatorPosition:'page'

       }

    );

}

The issue is as soon as i put async=false, my loading indicator stops working and page looks like hanged for about 10 seconds. I want this to work with async=false. If i remove this statement, loading indicator is working fine. Can someone guide, how can i use loading indicator with async=false;

Thanks

Sunil Bhatia

This post has been answered by jariola on Sep 16 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 14 2015
Added on Sep 16 2015
6 comments
519 views