a4j:commandButton找不到它的形式

时间:2013-08-05 17:44:48

标签: jsf ajax4jsf

我有以下代码:

<h:form id="dispSchedule">
  <a4j:commandButton value="View Full Schedule" 
                     rendered="#{studentClassView.dispClass.getBoolean('class_publish_loc')}"
                     render ="@form"
                     action="#{studentClassView.toggleDisplaySchedule()}"/>
  <rich:extendedDataTable id="fullSchedule" 
    ...
  </rich:extendedDataTable>
</h:form>

当我点击按钮时,会显示extendedDataTable但我收到此消息:

The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within <h:form>

有关为何无法找到其形式的任何想法?

0 个答案:

没有答案