jsf 中datatable中嵌套datatable的实现
请教如何去实现datatable中再嵌套一个datatable?
我这里总是报错:
2010-10-21 17:10:56 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet Faces Servlet threw exception
org.apache.jasper.el.JspPropertyNotFoundException: /operation.jsp(88,21) '#{funcEntry.functionName}' Property 'functionName' not readable on type java.lang.String
页面是:
<h:dataTable width="100%" value="#{userBean.rightList}" var="entry"
id="rightTable" border="0" cellspacing="0" cellpadding="0" >
<h:column>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<h:outputText value="#{entry.typeName}"></h:outputText>
</td>
</tr>
<tr>
<td height="2" background="images/border_mid.gif"></td>
</tr>
<tr>
<td>
<h:dataTable width="100%" value="#{entry.functionList}" var="funcEntry"
id="functionTable" border="0" cellspacing="0" cellpadding="0">
<h:column>
<h:outputText value="#{funcEntry.functionName}"></h:outputText>
</h:column>
</h:dataTable>
</td>
</tr>
</table>
</h:column>
</h:dataTable>
后台的数据我觉得是没有问题的,functionName也是string类型的。
请指教 。