10.1.3: Page_Load and Focus()?
450672Dec 6 2005 — edited Dec 14 2005Hi,
I am working on a JSF JSP (ADF). Before the page is loaded, there are several values need to be checked to decide whether some of the components on the page will be set to read only. I have saved a copy of the data which needed to be checked when a button is clicked on the previous page. Is there anything like the page_load in C#? How should I use it? Any tutorial?
I would also like to set the Focus on certain component after checking the data. Currently I am using this, but it is working.
<afh:body binding="#{backing_modifyMaster.body1}" id="body1" onload="document.form1.panelForm1.panelGroup1.adminFees_inputText.focus();">
Any idea why? Thank you.
Annie