This content has been marked as final. Show 1 reply
You will need to write custom logic in a method of a managed Bean in your View Controller project.
follow these steps -
1)In the ViewController project ,create a java Class called <whatever_name_you want>.java
2) register the managedBean in TaskFlow->Overview-> Managed Bean say in pageFlowScope.
3)create a public method which returns a Number (of days or whatever you need) in your bean which calculates difference between the dates using Calender API (You can google for this)
4)Bind this method to the value property of the field which shows the difference between these fields.