dcsimg
autaomatically calling a managed bean method
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rajendra_Prasad
Posted On:   Thursday, July 17, 2008 03:13 AM

In the URL "http://localhost:8080/gov-web/fb/gbe/customer/customerSearch.jsf"

before loading the jsf page i would like to execute a method.

One possible solution is init() method of managed bean.
But the init method will be called only once.
Requirement is execute the method when jsf loaded each time


regards,
rajendra

Re: autaomatically calling a managed bean method

Posted By:   Anonymous  
Posted On:   Wednesday, August 13, 2008 06:35 AM

Use prerender tag on scriptcollecter of jsp and thn you can call the mthod before loading of jsp.
About | Sitemap | Contact