If you want to execute a method just before entering a page(jsff or jspx) in a task flow, just follow the below steps.
1. Go to page definition of the jsf page. In the bindings section, add the methodAction to the method which you want to execute.
2. In the executables section, add 'invokeAction' and then, in the dialog specify some id and select the method action which you added in bindings for the 'Binds' property.
3. Now, select the added action and click 'Edit' icon and specify the 'Refresh' property as 'ifNeeded' ( By default the value for 'Refresh' will be 'deferred').
Thats it. When you run the page, the method will be executed just before the actual page loads. So, if you want to execute some method(s) before loading a page, you can follow these steps.
Wednesday, September 9, 2009
How to execute a method before the jsf page gets loaded?
Subscribe to:
Post Comments (Atom)
Thank you very useful information admin, and pardon me permission to share articles here may help :
ReplyDeleteCara Menyembuhkan Ginjal Bocor Secara Alami
Cara Menyembuhkan Edema Paru
Cara Menurunkan SGOT Dan SGPT Tinggi
Cara Mengobati Prurigo Secara Alami
Cara Mengobati Kolesistitis Secara Alami
Cara Menghilangkan Stretch Mark
Obat Keloid Menahun
check my site replica bags vancouver Clicking Here replica goyard bags more info here replica bags new york
ReplyDelete