Upload
rupadhople
View
346
Download
6
Embed Size (px)
Citation preview
Java Concepts
Classes Packages Inheritance can be defined as the process where
one object acquires the properties of another
public class Animal public class Mammal extends Animal public class Reptile extends Animal public class Dog extends Mammal
OAF is web development framework based on MVC architecture for developing HTML pages and customizations in the Oracle Applications 11iR12
Model 1048766Data 1048766Implemented using Oracle Business Components for Java (BC4J) 1EO (Entity Object) 2VO (View Object) 3AM (Application Module)
View 1048766User Interface 1048766Implemented using an Oracle technology called UIX
(UIX = User Interface XML)
Controller 1048766Code 1048766User actions are handled by the OA Controller
(Ex Clicking SUBMIT button)
Entity Object is based on database table or other data source1048766
Entity Object contains attributes which represent database columns1048766
All insertupdatedelete (DML Operations) transactions go through EO to database
Eg oracleappsicxporschemaserverPORequisitionLineEO
Two types1 SQL based ndash eg ApprovalListVO2 EO based Represents a query result Is used for joining filtering projecting and sorting
your business data Can be based on any number of entity objects
(EOs) and provides access to EOs
Think of AM as a broker between your Client Activity and database activity It also manages the state of database transaction
Responds to user actions and directs application flow
Model objects like EO and VO cant be accessed directly from the Controller Class except AM
Contains methods such as 1 Process Request Fires when OAF page loads
for the first time 2 ProcessFormRequest Fires when user submits
the page(Ex clicking SUBMIT button)
The dbc file is mostly used to define database parameters stands for database connect descriptor file used to connect to database it authenticate users against database in FND_USER table
$INST_TOPapplfnd1200secure or $INSTANCE_TOPappsapplfnd120osecure
iProcurement Extensions and Personalisation
Project Customization Flow
Enter Requisition Data
Click on Next without going to
Manage Approvals
Click on Manage
Approvals
Error with a message-Forces user to go
lsquoManage Approvalsrsquo(Pls see Error message1
screenshot below)
User does not choose an lsquoApproverrsquo
Start
Error message-forces user to
lsquoSelect Approverrsquo(Pls see Error
message2 screenshot below)
User selects one or more lsquoApproverrsquo ( but not all)
Save and Submit
User chooses all approvers
Error message-(Pls see
Error message3 screenshot
below)
M11
M2
M3
Project Customization
Steps to extend Controller Class 1 FTP all the required sub-directories from $JAVA_TOP to
myclasses This includes all class files and all the xml files 2 FTP the same sub-directories from $JAVA_TOP to
myprojects 3 Decompile the class files in myprojects and name those
decompiled files to java jad -o -r -sjava -dsrc Djadoracleappsclass
4 Delete the class files from myprojects 5 FTP the xml files from $PRODUCT_TOPmds to myprojects 6 Import the required BC4J files that you wish to debug 7 Extend the controller 8 Add the extended controller to the region using personalization
Controller Extension public class AgappsEditApproversCO extends EditApproversCO
processRequest DeleteRadio Button made the default selected option All Approver Checkboxes are checked
processFormRequest On clicking of submit button If Number of checked boxes = total number of approvers
Display error message Please ensure at least one approver is selected
public class AgappsReqApprCO extends ReqApprCO
processRequest Get the total number of approvers If this count lt=1 Disable the Manage Approvers Button
processFormRequest When the user clicks the Next Button If the approver count =0 Get count of unchecked approvers If count = 0 display error message Please select approver(s) from the Manage Approvals page
Bouncing Apache
Commands to bounce the apache
cd $ADMIN_SCRIPTS_HOME
adapcctlsh stop adoacorectlsh stop adoacorectlsh start adapcctlsh start
OAF is web development framework based on MVC architecture for developing HTML pages and customizations in the Oracle Applications 11iR12
Model 1048766Data 1048766Implemented using Oracle Business Components for Java (BC4J) 1EO (Entity Object) 2VO (View Object) 3AM (Application Module)
View 1048766User Interface 1048766Implemented using an Oracle technology called UIX
(UIX = User Interface XML)
Controller 1048766Code 1048766User actions are handled by the OA Controller
(Ex Clicking SUBMIT button)
Entity Object is based on database table or other data source1048766
Entity Object contains attributes which represent database columns1048766
All insertupdatedelete (DML Operations) transactions go through EO to database
Eg oracleappsicxporschemaserverPORequisitionLineEO
Two types1 SQL based ndash eg ApprovalListVO2 EO based Represents a query result Is used for joining filtering projecting and sorting
your business data Can be based on any number of entity objects
(EOs) and provides access to EOs
Think of AM as a broker between your Client Activity and database activity It also manages the state of database transaction
Responds to user actions and directs application flow
Model objects like EO and VO cant be accessed directly from the Controller Class except AM
Contains methods such as 1 Process Request Fires when OAF page loads
for the first time 2 ProcessFormRequest Fires when user submits
the page(Ex clicking SUBMIT button)
The dbc file is mostly used to define database parameters stands for database connect descriptor file used to connect to database it authenticate users against database in FND_USER table
$INST_TOPapplfnd1200secure or $INSTANCE_TOPappsapplfnd120osecure
iProcurement Extensions and Personalisation
Project Customization Flow
Enter Requisition Data
Click on Next without going to
Manage Approvals
Click on Manage
Approvals
Error with a message-Forces user to go
lsquoManage Approvalsrsquo(Pls see Error message1
screenshot below)
User does not choose an lsquoApproverrsquo
Start
Error message-forces user to
lsquoSelect Approverrsquo(Pls see Error
message2 screenshot below)
User selects one or more lsquoApproverrsquo ( but not all)
Save and Submit
User chooses all approvers
Error message-(Pls see
Error message3 screenshot
below)
M11
M2
M3
Project Customization
Steps to extend Controller Class 1 FTP all the required sub-directories from $JAVA_TOP to
myclasses This includes all class files and all the xml files 2 FTP the same sub-directories from $JAVA_TOP to
myprojects 3 Decompile the class files in myprojects and name those
decompiled files to java jad -o -r -sjava -dsrc Djadoracleappsclass
4 Delete the class files from myprojects 5 FTP the xml files from $PRODUCT_TOPmds to myprojects 6 Import the required BC4J files that you wish to debug 7 Extend the controller 8 Add the extended controller to the region using personalization
Controller Extension public class AgappsEditApproversCO extends EditApproversCO
processRequest DeleteRadio Button made the default selected option All Approver Checkboxes are checked
processFormRequest On clicking of submit button If Number of checked boxes = total number of approvers
Display error message Please ensure at least one approver is selected
public class AgappsReqApprCO extends ReqApprCO
processRequest Get the total number of approvers If this count lt=1 Disable the Manage Approvers Button
processFormRequest When the user clicks the Next Button If the approver count =0 Get count of unchecked approvers If count = 0 display error message Please select approver(s) from the Manage Approvals page
Bouncing Apache
Commands to bounce the apache
cd $ADMIN_SCRIPTS_HOME
adapcctlsh stop adoacorectlsh stop adoacorectlsh start adapcctlsh start
Model 1048766Data 1048766Implemented using Oracle Business Components for Java (BC4J) 1EO (Entity Object) 2VO (View Object) 3AM (Application Module)
View 1048766User Interface 1048766Implemented using an Oracle technology called UIX
(UIX = User Interface XML)
Controller 1048766Code 1048766User actions are handled by the OA Controller
(Ex Clicking SUBMIT button)
Entity Object is based on database table or other data source1048766
Entity Object contains attributes which represent database columns1048766
All insertupdatedelete (DML Operations) transactions go through EO to database
Eg oracleappsicxporschemaserverPORequisitionLineEO
Two types1 SQL based ndash eg ApprovalListVO2 EO based Represents a query result Is used for joining filtering projecting and sorting
your business data Can be based on any number of entity objects
(EOs) and provides access to EOs
Think of AM as a broker between your Client Activity and database activity It also manages the state of database transaction
Responds to user actions and directs application flow
Model objects like EO and VO cant be accessed directly from the Controller Class except AM
Contains methods such as 1 Process Request Fires when OAF page loads
for the first time 2 ProcessFormRequest Fires when user submits
the page(Ex clicking SUBMIT button)
The dbc file is mostly used to define database parameters stands for database connect descriptor file used to connect to database it authenticate users against database in FND_USER table
$INST_TOPapplfnd1200secure or $INSTANCE_TOPappsapplfnd120osecure
iProcurement Extensions and Personalisation
Project Customization Flow
Enter Requisition Data
Click on Next without going to
Manage Approvals
Click on Manage
Approvals
Error with a message-Forces user to go
lsquoManage Approvalsrsquo(Pls see Error message1
screenshot below)
User does not choose an lsquoApproverrsquo
Start
Error message-forces user to
lsquoSelect Approverrsquo(Pls see Error
message2 screenshot below)
User selects one or more lsquoApproverrsquo ( but not all)
Save and Submit
User chooses all approvers
Error message-(Pls see
Error message3 screenshot
below)
M11
M2
M3
Project Customization
Steps to extend Controller Class 1 FTP all the required sub-directories from $JAVA_TOP to
myclasses This includes all class files and all the xml files 2 FTP the same sub-directories from $JAVA_TOP to
myprojects 3 Decompile the class files in myprojects and name those
decompiled files to java jad -o -r -sjava -dsrc Djadoracleappsclass
4 Delete the class files from myprojects 5 FTP the xml files from $PRODUCT_TOPmds to myprojects 6 Import the required BC4J files that you wish to debug 7 Extend the controller 8 Add the extended controller to the region using personalization
Controller Extension public class AgappsEditApproversCO extends EditApproversCO
processRequest DeleteRadio Button made the default selected option All Approver Checkboxes are checked
processFormRequest On clicking of submit button If Number of checked boxes = total number of approvers
Display error message Please ensure at least one approver is selected
public class AgappsReqApprCO extends ReqApprCO
processRequest Get the total number of approvers If this count lt=1 Disable the Manage Approvers Button
processFormRequest When the user clicks the Next Button If the approver count =0 Get count of unchecked approvers If count = 0 display error message Please select approver(s) from the Manage Approvals page
Bouncing Apache
Commands to bounce the apache
cd $ADMIN_SCRIPTS_HOME
adapcctlsh stop adoacorectlsh stop adoacorectlsh start adapcctlsh start
Entity Object is based on database table or other data source1048766
Entity Object contains attributes which represent database columns1048766
All insertupdatedelete (DML Operations) transactions go through EO to database
Eg oracleappsicxporschemaserverPORequisitionLineEO
Two types1 SQL based ndash eg ApprovalListVO2 EO based Represents a query result Is used for joining filtering projecting and sorting
your business data Can be based on any number of entity objects
(EOs) and provides access to EOs
Think of AM as a broker between your Client Activity and database activity It also manages the state of database transaction
Responds to user actions and directs application flow
Model objects like EO and VO cant be accessed directly from the Controller Class except AM
Contains methods such as 1 Process Request Fires when OAF page loads
for the first time 2 ProcessFormRequest Fires when user submits
the page(Ex clicking SUBMIT button)
The dbc file is mostly used to define database parameters stands for database connect descriptor file used to connect to database it authenticate users against database in FND_USER table
$INST_TOPapplfnd1200secure or $INSTANCE_TOPappsapplfnd120osecure
iProcurement Extensions and Personalisation
Project Customization Flow
Enter Requisition Data
Click on Next without going to
Manage Approvals
Click on Manage
Approvals
Error with a message-Forces user to go
lsquoManage Approvalsrsquo(Pls see Error message1
screenshot below)
User does not choose an lsquoApproverrsquo
Start
Error message-forces user to
lsquoSelect Approverrsquo(Pls see Error
message2 screenshot below)
User selects one or more lsquoApproverrsquo ( but not all)
Save and Submit
User chooses all approvers
Error message-(Pls see
Error message3 screenshot
below)
M11
M2
M3
Project Customization
Steps to extend Controller Class 1 FTP all the required sub-directories from $JAVA_TOP to
myclasses This includes all class files and all the xml files 2 FTP the same sub-directories from $JAVA_TOP to
myprojects 3 Decompile the class files in myprojects and name those
decompiled files to java jad -o -r -sjava -dsrc Djadoracleappsclass
4 Delete the class files from myprojects 5 FTP the xml files from $PRODUCT_TOPmds to myprojects 6 Import the required BC4J files that you wish to debug 7 Extend the controller 8 Add the extended controller to the region using personalization
Controller Extension public class AgappsEditApproversCO extends EditApproversCO
processRequest DeleteRadio Button made the default selected option All Approver Checkboxes are checked
processFormRequest On clicking of submit button If Number of checked boxes = total number of approvers
Display error message Please ensure at least one approver is selected
public class AgappsReqApprCO extends ReqApprCO
processRequest Get the total number of approvers If this count lt=1 Disable the Manage Approvers Button
processFormRequest When the user clicks the Next Button If the approver count =0 Get count of unchecked approvers If count = 0 display error message Please select approver(s) from the Manage Approvals page
Bouncing Apache
Commands to bounce the apache
cd $ADMIN_SCRIPTS_HOME
adapcctlsh stop adoacorectlsh stop adoacorectlsh start adapcctlsh start
Two types1 SQL based ndash eg ApprovalListVO2 EO based Represents a query result Is used for joining filtering projecting and sorting
your business data Can be based on any number of entity objects
(EOs) and provides access to EOs
Think of AM as a broker between your Client Activity and database activity It also manages the state of database transaction
Responds to user actions and directs application flow
Model objects like EO and VO cant be accessed directly from the Controller Class except AM
Contains methods such as 1 Process Request Fires when OAF page loads
for the first time 2 ProcessFormRequest Fires when user submits
the page(Ex clicking SUBMIT button)
The dbc file is mostly used to define database parameters stands for database connect descriptor file used to connect to database it authenticate users against database in FND_USER table
$INST_TOPapplfnd1200secure or $INSTANCE_TOPappsapplfnd120osecure
iProcurement Extensions and Personalisation
Project Customization Flow
Enter Requisition Data
Click on Next without going to
Manage Approvals
Click on Manage
Approvals
Error with a message-Forces user to go
lsquoManage Approvalsrsquo(Pls see Error message1
screenshot below)
User does not choose an lsquoApproverrsquo
Start
Error message-forces user to
lsquoSelect Approverrsquo(Pls see Error
message2 screenshot below)
User selects one or more lsquoApproverrsquo ( but not all)
Save and Submit
User chooses all approvers
Error message-(Pls see
Error message3 screenshot
below)
M11
M2
M3
Project Customization
Steps to extend Controller Class 1 FTP all the required sub-directories from $JAVA_TOP to
myclasses This includes all class files and all the xml files 2 FTP the same sub-directories from $JAVA_TOP to
myprojects 3 Decompile the class files in myprojects and name those
decompiled files to java jad -o -r -sjava -dsrc Djadoracleappsclass
4 Delete the class files from myprojects 5 FTP the xml files from $PRODUCT_TOPmds to myprojects 6 Import the required BC4J files that you wish to debug 7 Extend the controller 8 Add the extended controller to the region using personalization
Controller Extension public class AgappsEditApproversCO extends EditApproversCO
processRequest DeleteRadio Button made the default selected option All Approver Checkboxes are checked
processFormRequest On clicking of submit button If Number of checked boxes = total number of approvers
Display error message Please ensure at least one approver is selected
public class AgappsReqApprCO extends ReqApprCO
processRequest Get the total number of approvers If this count lt=1 Disable the Manage Approvers Button
processFormRequest When the user clicks the Next Button If the approver count =0 Get count of unchecked approvers If count = 0 display error message Please select approver(s) from the Manage Approvals page
Bouncing Apache
Commands to bounce the apache
cd $ADMIN_SCRIPTS_HOME
adapcctlsh stop adoacorectlsh stop adoacorectlsh start adapcctlsh start
Think of AM as a broker between your Client Activity and database activity It also manages the state of database transaction
Responds to user actions and directs application flow
Model objects like EO and VO cant be accessed directly from the Controller Class except AM
Contains methods such as 1 Process Request Fires when OAF page loads
for the first time 2 ProcessFormRequest Fires when user submits
the page(Ex clicking SUBMIT button)
The dbc file is mostly used to define database parameters stands for database connect descriptor file used to connect to database it authenticate users against database in FND_USER table
$INST_TOPapplfnd1200secure or $INSTANCE_TOPappsapplfnd120osecure
iProcurement Extensions and Personalisation
Project Customization Flow
Enter Requisition Data
Click on Next without going to
Manage Approvals
Click on Manage
Approvals
Error with a message-Forces user to go
lsquoManage Approvalsrsquo(Pls see Error message1
screenshot below)
User does not choose an lsquoApproverrsquo
Start
Error message-forces user to
lsquoSelect Approverrsquo(Pls see Error
message2 screenshot below)
User selects one or more lsquoApproverrsquo ( but not all)
Save and Submit
User chooses all approvers
Error message-(Pls see
Error message3 screenshot
below)
M11
M2
M3
Project Customization
Steps to extend Controller Class 1 FTP all the required sub-directories from $JAVA_TOP to
myclasses This includes all class files and all the xml files 2 FTP the same sub-directories from $JAVA_TOP to
myprojects 3 Decompile the class files in myprojects and name those
decompiled files to java jad -o -r -sjava -dsrc Djadoracleappsclass
4 Delete the class files from myprojects 5 FTP the xml files from $PRODUCT_TOPmds to myprojects 6 Import the required BC4J files that you wish to debug 7 Extend the controller 8 Add the extended controller to the region using personalization
Controller Extension public class AgappsEditApproversCO extends EditApproversCO
processRequest DeleteRadio Button made the default selected option All Approver Checkboxes are checked
processFormRequest On clicking of submit button If Number of checked boxes = total number of approvers
Display error message Please ensure at least one approver is selected
public class AgappsReqApprCO extends ReqApprCO
processRequest Get the total number of approvers If this count lt=1 Disable the Manage Approvers Button
processFormRequest When the user clicks the Next Button If the approver count =0 Get count of unchecked approvers If count = 0 display error message Please select approver(s) from the Manage Approvals page
Bouncing Apache
Commands to bounce the apache
cd $ADMIN_SCRIPTS_HOME
adapcctlsh stop adoacorectlsh stop adoacorectlsh start adapcctlsh start
Responds to user actions and directs application flow
Model objects like EO and VO cant be accessed directly from the Controller Class except AM
Contains methods such as 1 Process Request Fires when OAF page loads
for the first time 2 ProcessFormRequest Fires when user submits
the page(Ex clicking SUBMIT button)
The dbc file is mostly used to define database parameters stands for database connect descriptor file used to connect to database it authenticate users against database in FND_USER table
$INST_TOPapplfnd1200secure or $INSTANCE_TOPappsapplfnd120osecure
iProcurement Extensions and Personalisation
Project Customization Flow
Enter Requisition Data
Click on Next without going to
Manage Approvals
Click on Manage
Approvals
Error with a message-Forces user to go
lsquoManage Approvalsrsquo(Pls see Error message1
screenshot below)
User does not choose an lsquoApproverrsquo
Start
Error message-forces user to
lsquoSelect Approverrsquo(Pls see Error
message2 screenshot below)
User selects one or more lsquoApproverrsquo ( but not all)
Save and Submit
User chooses all approvers
Error message-(Pls see
Error message3 screenshot
below)
M11
M2
M3
Project Customization
Steps to extend Controller Class 1 FTP all the required sub-directories from $JAVA_TOP to
myclasses This includes all class files and all the xml files 2 FTP the same sub-directories from $JAVA_TOP to
myprojects 3 Decompile the class files in myprojects and name those
decompiled files to java jad -o -r -sjava -dsrc Djadoracleappsclass
4 Delete the class files from myprojects 5 FTP the xml files from $PRODUCT_TOPmds to myprojects 6 Import the required BC4J files that you wish to debug 7 Extend the controller 8 Add the extended controller to the region using personalization
Controller Extension public class AgappsEditApproversCO extends EditApproversCO
processRequest DeleteRadio Button made the default selected option All Approver Checkboxes are checked
processFormRequest On clicking of submit button If Number of checked boxes = total number of approvers
Display error message Please ensure at least one approver is selected
public class AgappsReqApprCO extends ReqApprCO
processRequest Get the total number of approvers If this count lt=1 Disable the Manage Approvers Button
processFormRequest When the user clicks the Next Button If the approver count =0 Get count of unchecked approvers If count = 0 display error message Please select approver(s) from the Manage Approvals page
Bouncing Apache
Commands to bounce the apache
cd $ADMIN_SCRIPTS_HOME
adapcctlsh stop adoacorectlsh stop adoacorectlsh start adapcctlsh start
The dbc file is mostly used to define database parameters stands for database connect descriptor file used to connect to database it authenticate users against database in FND_USER table
$INST_TOPapplfnd1200secure or $INSTANCE_TOPappsapplfnd120osecure
iProcurement Extensions and Personalisation
Project Customization Flow
Enter Requisition Data
Click on Next without going to
Manage Approvals
Click on Manage
Approvals
Error with a message-Forces user to go
lsquoManage Approvalsrsquo(Pls see Error message1
screenshot below)
User does not choose an lsquoApproverrsquo
Start
Error message-forces user to
lsquoSelect Approverrsquo(Pls see Error
message2 screenshot below)
User selects one or more lsquoApproverrsquo ( but not all)
Save and Submit
User chooses all approvers
Error message-(Pls see
Error message3 screenshot
below)
M11
M2
M3
Project Customization
Steps to extend Controller Class 1 FTP all the required sub-directories from $JAVA_TOP to
myclasses This includes all class files and all the xml files 2 FTP the same sub-directories from $JAVA_TOP to
myprojects 3 Decompile the class files in myprojects and name those
decompiled files to java jad -o -r -sjava -dsrc Djadoracleappsclass
4 Delete the class files from myprojects 5 FTP the xml files from $PRODUCT_TOPmds to myprojects 6 Import the required BC4J files that you wish to debug 7 Extend the controller 8 Add the extended controller to the region using personalization
Controller Extension public class AgappsEditApproversCO extends EditApproversCO
processRequest DeleteRadio Button made the default selected option All Approver Checkboxes are checked
processFormRequest On clicking of submit button If Number of checked boxes = total number of approvers
Display error message Please ensure at least one approver is selected
public class AgappsReqApprCO extends ReqApprCO
processRequest Get the total number of approvers If this count lt=1 Disable the Manage Approvers Button
processFormRequest When the user clicks the Next Button If the approver count =0 Get count of unchecked approvers If count = 0 display error message Please select approver(s) from the Manage Approvals page
Bouncing Apache
Commands to bounce the apache
cd $ADMIN_SCRIPTS_HOME
adapcctlsh stop adoacorectlsh stop adoacorectlsh start adapcctlsh start
iProcurement Extensions and Personalisation
Project Customization Flow
Enter Requisition Data
Click on Next without going to
Manage Approvals
Click on Manage
Approvals
Error with a message-Forces user to go
lsquoManage Approvalsrsquo(Pls see Error message1
screenshot below)
User does not choose an lsquoApproverrsquo
Start
Error message-forces user to
lsquoSelect Approverrsquo(Pls see Error
message2 screenshot below)
User selects one or more lsquoApproverrsquo ( but not all)
Save and Submit
User chooses all approvers
Error message-(Pls see
Error message3 screenshot
below)
M11
M2
M3
Project Customization
Steps to extend Controller Class 1 FTP all the required sub-directories from $JAVA_TOP to
myclasses This includes all class files and all the xml files 2 FTP the same sub-directories from $JAVA_TOP to
myprojects 3 Decompile the class files in myprojects and name those
decompiled files to java jad -o -r -sjava -dsrc Djadoracleappsclass
4 Delete the class files from myprojects 5 FTP the xml files from $PRODUCT_TOPmds to myprojects 6 Import the required BC4J files that you wish to debug 7 Extend the controller 8 Add the extended controller to the region using personalization
Controller Extension public class AgappsEditApproversCO extends EditApproversCO
processRequest DeleteRadio Button made the default selected option All Approver Checkboxes are checked
processFormRequest On clicking of submit button If Number of checked boxes = total number of approvers
Display error message Please ensure at least one approver is selected
public class AgappsReqApprCO extends ReqApprCO
processRequest Get the total number of approvers If this count lt=1 Disable the Manage Approvers Button
processFormRequest When the user clicks the Next Button If the approver count =0 Get count of unchecked approvers If count = 0 display error message Please select approver(s) from the Manage Approvals page
Bouncing Apache
Commands to bounce the apache
cd $ADMIN_SCRIPTS_HOME
adapcctlsh stop adoacorectlsh stop adoacorectlsh start adapcctlsh start
Project Customization Flow
Enter Requisition Data
Click on Next without going to
Manage Approvals
Click on Manage
Approvals
Error with a message-Forces user to go
lsquoManage Approvalsrsquo(Pls see Error message1
screenshot below)
User does not choose an lsquoApproverrsquo
Start
Error message-forces user to
lsquoSelect Approverrsquo(Pls see Error
message2 screenshot below)
User selects one or more lsquoApproverrsquo ( but not all)
Save and Submit
User chooses all approvers
Error message-(Pls see
Error message3 screenshot
below)
M11
M2
M3
Project Customization
Steps to extend Controller Class 1 FTP all the required sub-directories from $JAVA_TOP to
myclasses This includes all class files and all the xml files 2 FTP the same sub-directories from $JAVA_TOP to
myprojects 3 Decompile the class files in myprojects and name those
decompiled files to java jad -o -r -sjava -dsrc Djadoracleappsclass
4 Delete the class files from myprojects 5 FTP the xml files from $PRODUCT_TOPmds to myprojects 6 Import the required BC4J files that you wish to debug 7 Extend the controller 8 Add the extended controller to the region using personalization
Controller Extension public class AgappsEditApproversCO extends EditApproversCO
processRequest DeleteRadio Button made the default selected option All Approver Checkboxes are checked
processFormRequest On clicking of submit button If Number of checked boxes = total number of approvers
Display error message Please ensure at least one approver is selected
public class AgappsReqApprCO extends ReqApprCO
processRequest Get the total number of approvers If this count lt=1 Disable the Manage Approvers Button
processFormRequest When the user clicks the Next Button If the approver count =0 Get count of unchecked approvers If count = 0 display error message Please select approver(s) from the Manage Approvals page
Bouncing Apache
Commands to bounce the apache
cd $ADMIN_SCRIPTS_HOME
adapcctlsh stop adoacorectlsh stop adoacorectlsh start adapcctlsh start
Steps to extend Controller Class 1 FTP all the required sub-directories from $JAVA_TOP to
myclasses This includes all class files and all the xml files 2 FTP the same sub-directories from $JAVA_TOP to
myprojects 3 Decompile the class files in myprojects and name those
decompiled files to java jad -o -r -sjava -dsrc Djadoracleappsclass
4 Delete the class files from myprojects 5 FTP the xml files from $PRODUCT_TOPmds to myprojects 6 Import the required BC4J files that you wish to debug 7 Extend the controller 8 Add the extended controller to the region using personalization
Controller Extension public class AgappsEditApproversCO extends EditApproversCO
processRequest DeleteRadio Button made the default selected option All Approver Checkboxes are checked
processFormRequest On clicking of submit button If Number of checked boxes = total number of approvers
Display error message Please ensure at least one approver is selected
public class AgappsReqApprCO extends ReqApprCO
processRequest Get the total number of approvers If this count lt=1 Disable the Manage Approvers Button
processFormRequest When the user clicks the Next Button If the approver count =0 Get count of unchecked approvers If count = 0 display error message Please select approver(s) from the Manage Approvals page
Bouncing Apache
Commands to bounce the apache
cd $ADMIN_SCRIPTS_HOME
adapcctlsh stop adoacorectlsh stop adoacorectlsh start adapcctlsh start
Controller Extension public class AgappsEditApproversCO extends EditApproversCO
processRequest DeleteRadio Button made the default selected option All Approver Checkboxes are checked
processFormRequest On clicking of submit button If Number of checked boxes = total number of approvers
Display error message Please ensure at least one approver is selected
public class AgappsReqApprCO extends ReqApprCO
processRequest Get the total number of approvers If this count lt=1 Disable the Manage Approvers Button
processFormRequest When the user clicks the Next Button If the approver count =0 Get count of unchecked approvers If count = 0 display error message Please select approver(s) from the Manage Approvals page
Bouncing Apache
Commands to bounce the apache
cd $ADMIN_SCRIPTS_HOME
adapcctlsh stop adoacorectlsh stop adoacorectlsh start adapcctlsh start
Bouncing Apache
Commands to bounce the apache
cd $ADMIN_SCRIPTS_HOME
adapcctlsh stop adoacorectlsh stop adoacorectlsh start adapcctlsh start