【问题标题】:h:commandButton action not call [duplicate]h:commandButton 操作未调用 [重复]
【发布时间】:2013-07-30 13:54:07
【问题描述】:

我正在使用 Seam 2.3,我想将方法​​操作调用到 h:commandButton 中。当我单击时,我可以在控制台中看到一个选择查询,但我的方法永远不会调用。

<h:form id="form">
 <rich:panel id="panelInfoModif"  rendered="#{ClassAction.beanSelected()}">
    ...
    <h:commandButton value="Submit" action="#{ClassAction.submit()}" >
        <a:ajax execute="@this"></a:ajax>
    </h:commandButton>
  </rich:panel>             
</h:form>

【问题讨论】:

  • 没有例外? bean 的名称应以小写字母开头。还有 ajax 是干什么用的?
  • 没有例外。好的,但它不是我的 bean 的真实名称。如果我删除 ajax,我会得到相同的结果。

标签: richfaces seam


【解决方案1】:

this answer 包含一长串检查按钮是否不起作用的事项

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-02-14
    • 2012-10-30
    • 2020-03-09
    • 1970-01-01
    • 2016-03-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多