March 2013
Intermediate to advanced
398 pages
7h 48m
English
When we call the page, we will pass a value in for the Person ID field. You will notice that at present the value is empty. Therefore, we need to populate this with the value of the PersonId parameter we are using to call the page. In preparation for this, we will set a default value of 1234 in the controller. Later on when we add the code to call this page from our EmpSocietiesPG, we will add the PersonId parameter that is passed.
To set a default value, perform the following:
CreateSocietyCO.java controller and edit the processRequest method. Remember the processRequest method executes when the page is initialized, so this is where we will set the default value.Read now
Unlock full access