About the Layout Panel in JClient

When you use the Create JClient Form wizard to generate an ADF JClient application with master and detail panels based on an ADF Business Components data model, the wizard generates a container panel within a JClient frame. This panel is known as the layout panel because it groups several data panels together. In addition to functioning as a UI container for one or more data browsing panels, the layout panel is able to maintain the data context for the contained data panels through its shared binding context.

Note: While the layout panel is generated by the Create JClient Form wizard, it is not an essential part of the JClient application. It is described in this topic primarily to demonstrate how the JClient application maintains a data context between data browsing panels through a shared binding context.

The binding context from the application frame can be passed to its contained JClient panels by a call to the panel's setBindingContext() method:

// get the binding context from the frame
BindingContext _bctx = panelBinding.getBindingContext();
// pass the context to the first child panel
dataPanel.setBindingContext(_bctx);

//alternatively you can use
dataPanel.setBindingContext(panelBinding.getBindingContext());


About Data Panels in JClient

Dropping Data Panels onto an Empty JClient Form

 

Copyright © 1997, 2004, Oracle. All rights reserved.