Oracle SOA Suite Online Training

Interested in learning Oracle SOA Suite 12c?
Learn from the author of this blog!
A complete and comprehensive course on the #1 platform on SOA - Oracle SOA Suite

Click here to find the complete course details
Click here to check the first session on Oracle SOA Suite 12c

================================================================================================

Customizing generated ADF task forms in Human Tasks


Many times, there are cases where you need to customize the defualt generated task forms in BPM Applications
Simple examples could be to have a list of values as a drop-down for a particular field. If this field is of type string, then the default generated task form will have a simple text box of type string. Now, this is not the thing you want, you may need a drop down here. How do you address this scenario?

Its simple, you have to know some ADF and you are done!
Open the .jspx page generated for the task form, click on the field that you want to modify, go to src and replace that with the ADF code snippet that you want

Make use of a Managed Bean where you pull the values to be displayed, then in the .jspx page, write code for the LOV that pulls values from that operation in the ManagedBean

Ex.
                    <af:selectOneChoice label="EPS Name" id="soc1" autoSubmit="true"
                                        value="#{pageFlowScope.wsAccessorBean.selEps}"
                                        valueChangeListener="#{pageFlowScope.wsAccessorBean.setEPSBindingsListener}">
                      <f:selectItems value="#{pageFlowScope.wsAccessorBean.lovValuesForEPS}"
                                     id="it13"/>
                    </af:selectOneChoice>

No comments:

Post a comment