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)
-
- Drop a button on the page and create an ActionListener, it will change the button text to ‘Done’ after event processing (used Thread.sleep() for some long processing). Read the complete article here.
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.
Blog
Twitter
LinkedIn
Facebook
Meetups
Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic Community,Oracle,OPN,Jürgen Kress