Create ADF popup for value change event(For select one choice component).

Add popup and add dialog to inside of the popup,then select popup and add value for binding attribute in mine
private RichPopup myPop = new RichPopup();
public void selectOneChoiceEvent(ValueChangeEvent valueChangeEvent) {
RichPopup.PopupHints ph = new RichPopup.PopupHints();;
public void setMyPop(RichPopup myPop) {
this.myPop = myPop;
public RichPopup getMyPop() {
return myPop;

Oracle ADF - Add new custom attribute for view object using Expression

Oracle ADF Client-side Validators

Oracle ADF Association sample for Department and Employee

Wednesday, February 23, 2011

How to get table selected row values from bean class

(1)Drag any view from data controler in mine (sampleView1)
(2)Then will give an popup and select
Table ->ADF Read only table, and select(Check) the rew selection and press ok.
(3)Add bean class to following code stuff
public void processSelectionSL(SelectionEvent selectionEvent) {

RichTable richTable = (RichTable)selectionEvent.getSource();
CollectionModel tableModel = (CollectionModel)richTable.getValue();
JUCtrlHierBinding adfTableBinding = (JUCtrlHierBinding)tableModel.getWrappedData();
Object selectedRowData = richTable.getSelectedRowData();
JUCtrlHierNodeBinding nodeBinding = (JUCtrlHierNodeBinding)selectedRowData;
for (Object o : nodeBinding.getAttributeValues()) {
System.out.println("Selected values " + o);

(4)In design select table and search under selectionlistner method define bean ,in mine(TraineeBean) is the bean class(If your bean class define pageFlow scope add following)
Or bean define in session scope

No comments:

Post a Comment