4 Replies Latest reply on Jul 17, 2009 4:45 AM by Ilya Shaikovsky

    global default for onclick and oncomplete in a4j:commandButt

    Arbi Sookazian Master

      In pg. 276 of Seam Framework book by Yuan et al, the following xhtml code is discussed:

      <a4j:commandButton type="submit"

      It would be nice if we could configure a4j:commandButton to have those two javascript functions for onclick and oncomplete events by default. That way we don't have to configure that for every instance of a4j:commandButton and the user experience is consistent.

      Is it possible to do this currently in RF 3.3.x or RF 4.x? thx.