import oracle.adf.model.RegionBinding;
import oracle.adf.model.RegionContext;
import oracle.adf.model.RegionController;
public class BackingBean implements RegionController{
public PostInspectBean() {
super();
}
@Custom method
public void loadJsffPage() {
// your code goes here to execute the bindings or refresh the components on a page
}
@Override
public boolean refreshRegion(RegionContext regionContext) {
int refreshFlag = regionContext.getRefreshFlag();
if(refreshFlag==RegionBinding.PREPARE_MODEL){
loadJsffPage(); //custom method
}
regionContext.getRegionBinding().refresh(refreshFlag);
return true;
}
@Override
public boolean validateRegion(RegionContext regionContext) {
regionContext.getRegionBinding().validate();
return false;
}
@Override
public boolean isRegionViewable(RegionContext regionContext) {
return false;
}
@Override
public String getName() {
return null;
}
}
Wednesday, August 27, 2014
Implement RegionController for executing a Method in backing bean before opening up a jsff page fragment
Wednesday, August 20, 2014
Reset table filter ADF
FilterableQueryDescriptor queryDescriptor =
(FilterableQueryDescriptor) tableName.getFilterModel();
if (queryDescriptor != null &&
queryDescriptor.getFilterCriteria() != null) {
queryDescriptor.getFilterCriteria().clear();
tableName.queueEvent(new QueryEvent(tableName,
queryDescriptor));
}
AdfFacesContext.getCurrentInstance().addPartialTarget(tableName);
(FilterableQueryDescriptor) tableName.getFilterModel();
if (queryDescriptor != null &&
queryDescriptor.getFilterCriteria() != null) {
queryDescriptor.getFilterCriteria().clear();
tableName.queueEvent(new QueryEvent(tableName,
queryDescriptor));
}
AdfFacesContext.getCurrentInstance().addPartialTarget(tableName);
Tuesday, August 19, 2014
Wednesday, August 13, 2014
Tuesday, August 12, 2014
Get Selected Items from Select Many Check Box ADF
AIM: To get the selected items to display in an Input Text Box of Select Many Check Box
Reference : http://www.awasthiashish.com/2013/12/using-multiple-selection.html
Reference : http://www.awasthiashish.com/2013/12/using-multiple-selection.html
Labels:
ADF,
display selected values of Check Box,
jdeveloper,
SMC
Subscribe to:
Posts (Atom)