1 2 Previous Next 17 Replies Latest reply on Dec 6, 2012 6:53 AM by 925715 Go to original post
      • 15. Re: LOV refresh
        Subramanian Meyyappan
        public String cb23_action2() // for ur cASE some selection listener
        
         {
                // Add event code here...
                BindingContainer bindings = getBindings();
                DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("YYYIterator");
                Row row = dciter.getCurrentRow();
               ........
                System.out.println("Document Entry completed  " + row.getAttribute("YY"));
                OperationBinding operationBinding1 = bindings.getOperationBinding("Commit");
                Object result1 = operationBinding1.execute();
                if (!operationBinding1.getErrors().isEmpty()) {
                    // handle error here, at least add a message to the log and the faces context
                    FacesContext ctx = FacesContext.getCurrentInstance();
                    FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_WARN, "Commit failed!", "");
                    ctx.addMessage(null, fm);
                    return null; // or to any other target....
                }
                dciter.executeQuery();
                return null;
            }
        i had some like you not exact same.
        try with these


        first check whether you lov is commiting
        and make iter to exceute
        • 16. Re: LOV refresh
          Venkat L Naidu
          Hey hi


          thanks for all ur information.
          i cannot drag and drop it again because it is edited by someone else.
          but i succeeded by .
          getTransation.setclearcacheoncommit(true)
          Thanks a lot
          • 17. Re: LOV refresh
            925715
            Hi Venkat,

            where should i write this statement getTransation.setclearcacheoncommit(true)??
            And how can i call this statement from initMEthod()(before phase event)?

            Thanks.
            1 2 Previous Next