lunedì 9 maggio 2011

SOA ADF - Human Task 11g - Add Input Validation

Often it's very usefull to validate input text and payload inside  Worklist Application before approve it.
This article shows how to add a simple ADF validation to your Human Task Application in simple two step:
  •  Define validation rules in your Payload Data Control
    • Edit Definition for you Payload element in Data Control
    • Add Validator for input text field according to a Rule Type
      • For example yuo can use a "Required" Rule Type to check not null input, defining also the error message to display
  • Associate validation control inside your Input text field
    • Add inside the text Input text a  JSFCore-> Validator Input Element


    • Bind the element with the Validation Data Control defined before.  
           Now you can verify your validator in action inside your Worklist BPM Application


    Nessun commento:

    Posta un commento