Pages

Saturday, June 14, 2014

Enable/Disable the Input Fields/Input Value holders

Here I got requirement like Enable/Disable the bunch of fields. It's hard to bind each and every fields and toggle it. I read some blogs. Accessing appropriate classes we can do that.


Step 1: Here we go, standard code for accessing class with appropriate attributes.



Step 2: While clicking edit button call out the method.
pass the 'AdfFacesContext' Instance , bind the Parent Layout and pass the appropriate Boolean values. 


Step 3: Finally call out the method for update button.


Note : Code will works, First Level Immediate Children as like of structure shown.



Download Here

No comments:

Post a Comment