IntroductionConfiguring a new portal site is easy, right?! However this statement is probably made by someone who knows his way around.
To ease this process the development team can assist there portal administrators by introducing LoV (List of Values) for the available taskflows. This applies to new and existing taskflow, yes you can add List of Values to existing taskflows.
There is following types of LoV:
- Static LOV
To display a list of predefined values.
- Dynamic LOV
To display a list of values generated by evaluating an EL value that is computed when the page is run.
- Global LOV
To display a global list of values that can be used in any task flow in the application.
To display all values in a picker format, for example, a document picker.
Assume following scenario to understand the context:
Step one create a new WebCenter Portal Project, add a desired navigation, add few pages, make sure they are customizable and support composer. All pages will be empty so the administrator has to add the taskflow using the Runtime administration and edit the page.
It will look something like this:
The parameters now are open text boxes that is completely open, even though we declared them mandatory, one problem here is that we cannot guarantee the value the user will enter
There is an remedy for this, by using the new Oracle Composer extension file,
We are now going to introduce LoV for parameters Colour and Language parameter, the process below can be repeated for any taskflow, new or existing.
Create new XML file called pe_ext.xml under
Add following xml chunk:Now we are going to add the taskflow reference for the affected taskflow
The best approach to find the id for the taskflow is to open the resource catalog in runtime and copying it
Now the final part, each parameter can now be configured with one of the four options of LoV, below is two static examples:
Parameter ColourParameter Language
ReferencesFor more information on how to configure LoV see documentation: