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″/>
                   
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s