2 Replies Latest reply on Mar 10, 2011 3:58 PM by Kees van der Veer

    How to render page in bean

    Kees van der Veer

      I'm using Jdeveloper and creating Oracle Fusion Web Application.

      I want to create an experiment application by showing a subject a list of words and pictures.
      The subject has to press a Next button and will first see a word and then after 2 seconds
      (without any user action) the word will be hidden and a picture will appear. The user must
      select a value on a radio button and then press the Next button to see the next word....

      I have created a jspx page and a bean for the Next button:

      public String next_action() {
      BindingContainer bindings = getBindings();
      OperationBinding operationBinding = bindings.getOperationBinding("Next");
      Object result = operationBinding.execute();


      // How to render page at this point?

      try {
      System.out.println("next_action: sleeping 2 sec");
      } catch (java.lang.InterruptedException ie) {
      System.out.println("Sleep interrupted: " + ie.getMessage());


      return null;

      I'm relatively new to Oracle ADF and my problem is that the page is only rendered
      at the end of the bean.
      How can I show the page to the user before the 2 seconds pause?