Customizing JSP pages are similar to OAF changes.
If customizing the JSP page, writing validations and logic in Java and refering the method in JSP page, is easier option.
How to define and call a Java code in JSP page -
Create a java file and place at server ( $JAVA_TOP/xxxxx/oracle/apps/<product>/<catagory>)
Ex – created java file names xxxxxItem.class and placed at location $JAVA_TOP/xxxx/oracle/apps/ibe/catalog
Similar to import a java class in OAF, each jsp have this section at top. This is the referenced java files.
Included the custom file reference.
Invoke defined method inside the code –
We can extend the logic in java file for any new validations and place the new version at referred location.
Bounce the apache and changes will reflect.
No comments:
Post a Comment