0

我有以下代码:

<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>

当我单击该按钮时,将显示扩展数据表,但我收到以下消息:

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

关于为什么找不到它的形式的任何想法?

4

0 回答 0