Skip to content

Instantly share code, notes, and snippets.

@biemond
Created September 28, 2011 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biemond/1248791 to your computer and use it in GitHub Desktop.
Save biemond/1248791 to your computer and use it in GitHub Desktop.
BindingContext and ADF
BindingContext bc = BindingContext.getCurrent();
BindingContainer bcon = bc.getCurrentBindingsEntry();
List<AttributeBinding> attr = bcon.getAttributeBindings();
List<OperationBinding> oper = bcon.getOperationBindings();
List<ControlBinding> ctrl = bcon.getControlBindings();
DCBindingContainer dcbcon = (DCBindingContainer) bc.getCurrentBindingsEntry();
List<AttributeBinding> attr2 = dcbcon.getAttributeBindings();
List<OperationBinding> oper2 = dcbcon.getOperationBindings();
List<ControlBinding> ctrl2 = dcbcon.getControlBindings();
List iters = dcbcon.getIterBindingList();
List exec = dcbcon.getExecutableBindings();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment