2 Replies Latest reply on Apr 29, 2013 9:58 AM by 913642

    Issues  with binding conatiner

    913642
      Requirement :

      Lets say my page contains two jsff,dragged and dropped as regions.
      I want to get the binding container of the other jsff while I am in the first jsff.
      The jsff contains form and has few input text components and checkbox component.

      This I have done before but in that case the other jsff had a table component.
      I wrote this code to get the Binding container :

      RichTable deptable = (RichTable)ADFUtil.findComponentInRoot("deptTable");
      CollectionModel model = (CollectionModel)deptable.getValue();
      JUCtrlHierBinding employeesTableBinding =(JUCtrlHierBinding)model.getWrappedData();
      DCBindingContainer dcbindings = employeesTableBinding.getBindingContainer();
      OperationBinding operationBinding =dcbindings.getOperationBinding("ExecuteWithParams");

      How to get the binding container when I dont have a table component but a form layout containing some input texts and checkboxes.
        • 1. Re: Issues  with binding conatiner
          Frank Nimphius-Oracle
          Hi,

          you cannot get directly to the binding container of a another region. Instead you need to perform region-interaction, which you use contextual events for or other means. See this recording for the options you have

          http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adf-region-interaction/adf-region-interaction.html
          http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/AdfInsiderContextualEvents/AdfInsiderContextualEvents.html

          and read this

          http://www.oracle.com/technetwork/issue-archive/2013/13-may/o33adf-1920483.html

          Frank
          1 person found this helpful
          • 2. Re: Issues  with binding conatiner
            913642
            Thanks for the reply.I used contextual event and now its working fine.