我有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”的输入。但是我想要执行第二个按钮的键。有没有办法更改第一个按钮的类型?
答案 0 :(得分:1)
sizeof(Uint24_t)= 3 bytes, * 8= 24 bits.
sizeof(u24) = 3 bytes
show(): c.b.a
dump(): 63.62.61
sizeof(u24) = 3 bytes
show(): a.b.c
dump(): 61.62.63
第一个按钮应该可以解决问题。
类型-要创建的按钮的类型。可以是“提交”,“按钮”,“图像”和“重置”之一。如果未指定,则默认值为“提交”。
有关更多详细信息,请参见component reference。