Update page component in between of event processing in ADF Faces using JavaScript by Ashish Awasthi


This post is not about any specific topic of the framework, In this post, I am sharing – How to update page component while an event is processing ? recently I was working in an application, the requirement was like this
There is a button on the page that uploads a large file to the server and it takes some time. So as soon as the user press this button it’s text should be changed to ‘Processing..’ and after the upload is complete it should be ‘Done’,

First I have tried it using java means in same button action listener but in this case, button text was changed only after event processing is complete
So for this purpose, I have used some javascript function, this is quite simple (see the implementation)

Developer Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic Community,Oracle,OPN,Jürgen Kress

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.