有没有办法在不生成 type=submit 的情况下使用 a4j:commandButton?

Is there a way to use a a4j:commandButton without generating type=submit?

我有 2 个按钮:

                        <a4j:commandButton
                            execute="@this"
                            value="clear"
                            immediate="true"
                            render=":thisForm :anotherForm"
                            action="#{myMB.clearFields}" />

                        <a4j:commandButton
                            value="execute"
                            type="submit"
                            action="#{myMB.executeAction}"
                            render=":anotherForm" />

并且两者都生成类型为"submit" 的输入。但是我想要执行第二个按钮的键。有没有办法改变第一个按钮的类型?

<a4j:commandButton
    type="button" .../>

第一个按钮就可以了。

type - Type of button to create. Can be one of "submit", "button", "image" and "reset". If not specified, the default value is "submit".

详情请参阅component reference