1 Reply Latest reply on May 17, 2007 6:12 AM by ilya_shaikovsky

    modalPanel onShow attribute

      I think modalPanel needs an attribute to call javascript methods on opening modalPanel.

      For example, I want to set focus on the first field on the form of modalPanel. If I do it this way:

      Richfaces.showModalPanel('...');document.getElementById('...').focus();


      It doesn't work. The panel is not shown yet and focus is losted.

      Can this attribute be added?