5 Replies Latest reply on Mar 28, 2009 1:05 PM by Serhiy Zastavnyy

    set focus programmatically

    Serhiy Zastavnyy Novice

      Hi
      I am trying to set focus programmatically when displaying ModalPanel, but I can not.
      Please help me , how I can do it.

      My code

       mp.setValueExpression("onshow", eF.createValueExpression(eC,
       "#{rich:element('" + MODAL_MANE_ELEMENT + "')}.focus()", String.class));