This content has been marked as final. Show 4 replies
1. add af:popup
2. add af:dialog into af:popup
3. use af:popup binding property to point to managed bean (create an entry in managed bean using the Edit dialog on the context menu of the binding property)
4. On form submit (e.g. in an action listener on the submit button) read the three fields in Java and build the Date
5. check the age
6. If age is not 18 call
This opens the dialog in the center of the screen.
RichPopup.PopupHints hints = new RichPopup.PopupHints(); //reference the instance of RichPopup you created through binding property <get method of your popup>.show(hints)
Ps.: In my reply I assume you know enough Java to understand how to build the date from the three input components and how to check if this matches the criteria
Welcome - Always mentioned your Jdev version before asking a question . Also read this before you post - https://forums.oracle.com/forums/ann.jspa?annID=56
Presently ADF screens have been designed in BPM work space itself and data controls are given to the fields.Do you mean that you are using ADF Screens generated as default forms from a Human Task having Payloads as DataControls .. this should work fine as thats the standard way.
Its a registration page which has many fields.Will this work fine ??
Thanks for the valuable suggestions.
Without Buttons we have to check the age and display a pop up.The DAte of Birth field is 3 input boxes.Once the user enters the three field boxes ,it should check and come up with a pop up .With action listener its fine ,but value change listener will work out here??
Actually its not auto generated forms.We are designing ADF Screens in the BPM workspace.In the task flow itself we created jspx pages and started designing ADF Custom Screens.
We are using jdev version 18.104.22.168 version
Edited by: 949001 on 01-Aug-2012 05:27