15:39:41,796  WARN HtmlGridRendererBase:230 - PanelGrid mainView:mainForm:_idJsp
20 has not enough children. Child count should be a multiple of the columns attr
ibute.
15:39:41,906  WARN ReducedHTMLParser:558 - Invalid tag found: unexpected input w
hile looking for attr name or '/>' at line 681
请问是什么错误~~

解决方案 »

  1.   

    <h:form id="mainForm">
    <h:inputHidden id="isAutoTerminal" value="#{ModuleManageBean.isAutoTerminal}" />
    <h:inputHidden id="isAutoDepartment" value="#{ModuleManageBean.isAutoDepartment}" /> <t:div id="contentheader">
    <h:outputText id="title" value="菜单" rendered="true" styleClass="pageTitle" />
    </t:div> <t:div id="filterBar">
    <h:panelGrid columns="2">
    <h:commandButton action="#{ModuleManageBean.confirmCreate}" id="confirmCreate" value="确认增加" rendered="true" />
    </h:panelGrid>
    </t:div> <h:panelGrid columns="3" rowClasses="row1, row2" style="font-size:9pt">
    <h:outputLabel for="id" styleClass="label">
    <h:outputText value="菜单编码:" />
    </h:outputLabel>
    <h:inputText id="id" value="#{ModuleManageBean.childModule.id}" required="true" />
    <h:message for="id" styleClass="errorMessage"/> <h:outputLabel for="name" styleClass="label">
    <h:outputText value="菜单名称:" />
    </h:outputLabel>
    <h:inputText id="name" value="#{ModuleManageBean.childModule.name}" required="true" />
    <h:message for="name" styleClass="errorMessage" />
    <h:outputLabel for="navigation" styleClass="label">
    <h:outputText value="菜单导航位置:" />
    </h:outputLabel>
    <h:inputText id="navigation" value="#{ModuleManageBean.childModule.navigation}" required="true" />
    <h:message for="navigation" styleClass="errorMessage" />
    <h:outputLabel for="icon" styleClass="label">
    <h:outputText value="菜单图片位置:" />
    </h:outputLabel>
    <h:inputText id="icon" value="#{ModuleManageBean.childModule.icon}" required="true" />
    <h:message for="icon" styleClass="errorMessage"/>
    <h:outputLabel for="parent" styleClass="label">
    <h:outputText value="父菜单:" />
    </h:outputLabel>
    <h:inputText id="parent" value="#{ModuleManageBean.childModule.parent.id}" required="true" />
    <h:message for="parent" styleClass="errorMessage"/>
    <h:outputLabel for="re" styleClass="label">
    <h:outputText value="备注" />
    </h:outputLabel>
    <h:inputText id="re" value="#{ModuleManageBean.childModule.re}" />
    <h:message for="re" styleClass="errorMessage"/>
    </h:panelGrid>
    </h:form>请问哪里错了??
      

  2.   

    第一:PanelGrid mainView:mainForm:_idJsp
    20 has not enough children. Child count should be a multiple of the columns attr
    ibute.
    这个问题不理也可以,是你的某个panelGrid的column属性设置很多,但是它没有包含那么多的子对象。比如你设置了2,但是只有1个button之类的在panelGrid里面。第二:标签错误,(你的文件太长,人工查看会.......),工具提示,如果没有,那么可能需要
    通过看681行的html代码,找到附近的id,class什么的,查找对应的标签。