- Copy the faces-config-base-menu.xml file in the
ViewController/public_html/WEB-INF directory, and rename it, for example, faces-config-ABC-menu.xml, where ABC is the name of your company.
- Replace faces-config-base-menu.xml with faces-config-ABC-menu.xml in
ViewController/public_html/web.xml under the context parameter javax.faces.CONFIG_FILES:
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>...,/WEB-INF/faces-config-ABC-menu.xml,...</param-value>
</context-param>
- Open faces-config-ABC-menu.xml in a text editor.
- Add a managed bean for the third-level menu:
<managed-bean>
<managed-bean-name>m3_SRSURVEY</managed-bean-name>
<managed-bean-class>oracle.apps.ss.base.view.util.MenuItem</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>label</property-name>
<value>SS_SR_CREATE_REQUEST</value>
</managed-property>
<managed-property>
<property-name>fileName</property-name>
<value>/ss/base/sr/SRSurvey.jspx</value>
</managed-property>
<managed-property>
<property-name>condition</property-name>
<value>backing_ss_base_sr_SRSummary.SRSurveyRendered</value>
</managed-property>
</managed-bean>
- Add the third-level menu as a child of the second-level Service Request menu:
<managed-bean>
<managed-bean-name>m2_ServiceRequest</managed-bean-name>
<managed-bean-class>oracle.apps.ss.base.view.util.MenuItem</managed-bean-class>
...
<managed-property>
<property-name>children</property-name>
<list-entries>
<value-class>oracle.apps.ss.base.view.util.MenuItem</value-class>
<value>#{m3_SRCRCONFIRM}</value>
<value>#{m3_SRCRSELECTTYPE}</value>
<value>#{m3_SRREVIEW}</value>
<value>#{m3_SRCONTACTINFO}</value>
...
<value>#{m3_SRSUGGESTSOLUTION}</value>
<value>#{m3_SRSURVEY}</value>
<value>#{m3_SRREVIEWSINGLE}</value>
...
</list-entries>
</managed-property>
</managed-bean>
- Open SRSurvey.jspx in Oracle JDeveloper or a text editor, and then modify the af:form tag as follows:
<af:form binding="#{backing_ss_base_sr_SRSummary.srSurveyform}">
- Open the SRSummary managed bean (
ViewController/src/oracle/apps/ss/base/view/sr/SRSummary.java) in Oracle JDeveloper or a text editor, and then add the following code:
private CoreForm srSurveyform;
public void setSrSurveyform(CoreForm form) {
createSRTabCount = 12 //Assign a unique value.
this.srSurveyform = form;
}
public CoreForm getSrSurveyform() {
return srSurveyform;
}
public boolean getSRSurveyRendered() {
if (createSRTabCount == 12) //Use the same value as above.
return true;
else
return false;
}
NOTE: You must assign to createSRTabCount a value that does not already exist in the SRSummary.java file.