Databases Reference
In-Depth Information
Map sessionScope =
ectx.getSessionMap();
sessionScope.get("paramName");
Check if the transacion is "dirty":
BindingContext bctx =
oracle.adf.controller.binding
.BindingUtils.getBindingContext();
if (bctx.findDataControlFrame
(bctx.getCurrentDataControlFrame())
.isTransactionDirty()) {
//show the timestamp
}
else{
//don't show
}
Scroll to a specific row on the loading of a page:
this.tableBinding.setRowIndex(rowIndex);
RowKeySet ps =
this.tableBinding.getSelectedRowKeys();
ps.clear();
ps.add(this.tableBinding.getRowKey());
AdfFacesContext.getCurrentInstance()
.addPartialTarget(this.tableBinding);
Reset the value of InputText :
RichInputText input = (RichInputText)
JSFUtils.findComponentInRoot(id);
input.setSubmittedValue(null);
input.resetValue();
AdfFacesContext.getCurrentInstance()
.addPartialTarget(input);
Refresh the component:
AdfFacesContext.getCurrentInstance()
.addPartialTarget(component);
Show the pop-up window:
RichPopup.PopupHints ph =
new RichPopup.PopupHints();
myPop.show(ph);
 
Search WWH ::




Custom Search