Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

10.1.3: Page_Load and Focus()?

450672Dec 6 2005 — edited Dec 14 2005
Hi,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 11 2006
Added on Dec 6 2005
7 comments
706 views