Java Tapestry页面转到下一页:单击下一页(如果下一页上的表内容可编辑,Tapestry将报告错误)

Java Tapestry页面转到下一页:单击下一页(如果下一页上的表内容可编辑,Tapestry将报告错误),java,html,tapestry,Java,Html,Tapestry,单击下一页(如果下一页表格元素上的表格内容包含) org.apache.tapestry5.ioc.internal.util.TapestryException: elementValue组件必须由表单组件封闭。[在 类路径:com/zte/easweb/pages/home/MyInvoice.tml,第178行] org.apache.tapestry5.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElem

单击下一页(如果下一页表格元素上的表格内容包含

org.apache.tapestry5.ioc.internal.util.TapestryException: elementValue组件必须由表单组件封闭。[在 类路径:com/zte/easweb/pages/home/MyInvoice.tml,第178行] org.apache.tapestry5.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:948) 在 org.apache.tapestry5.internal.structure.ComponentPageElementImpl.access$400(ComponentPageElementImpl.java:49) 在 org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.callback(ComponentPageElementImpl.java:159) 在 org.apache.tapestry5.internal.structure.ComponentPageElementImpl$SetupRenderPase.render(ComponentPageElementImpl.java:189)

MyInvoice.java

公共类MyInvoice{
公共分页getFbpInvoiceList(){
试一试{
记录器信息(“…1”);
fbpInvoiceList=bc4Boe.boe_uuuqueryMyVoiceList(searchCondition,grid.getCurrentPage(),grid.getRowsPerPage());
}捕获(例外e){
记录器错误(“…2”,e);
}
返回语音列表;
}
公共布尔值canNotUpdateInvoice(整数索引){
FbpInvoiceV invoice=fbpInvoiceList.getItems().get(索引-1);
字符串checkStatus=invoice.getCheckStatus();
字符串standardCheckStatus=发票。getStandardCheckStatus();
如果(“4.equals(checkStatus)| |“4.equals(standardCheckStatus)){
返回true;
}
返回false;
}
}

${row.invoiceNo}