目前我有两个命令按钮:
- 使用填充 Return.inputValue 的 actionlistener 执行验证
- 另一个将返回值从前一个侦听器移动到 pageflowscope 变量,如下所示
<amx:commandButton text="commandButton1" id="cb4" action="godecide">
<amx:setPropertyListener from="#{bindings.Return.inputValue}" type="action" to="#{pageFlowScope.ReturnValue}"/>
</amx:commandButton>
<amx:commandButton actionListener="#{bindings.CheckUser.execute}" text="CheckUser"
disabled="#{!bindings.CheckUser.enabled}" id="cb3"/>
请问如何用一个命令按钮实现这一点?