在Eclipse Kepler SR1中,content-assist不能与datatable primefaces中声明的var一起使用:
<p:dataTable value="#{testManagedBean.listAllDomaines()}" var="pRow" >
<p:column>
<h:outputText value="#{pRow.}" />
</p:column>
</p:dataTable>#{pRow.} + CTRL空格键显示了实况。
而对于经典的datatable,这是可以的:
<h:dataTable value="#{testManagedBean.lstdDomaines}" var="stdRow">
<h:column>
<h:outputText value="#{stdRow.iddom}" />
</h:column>
</h:dataTable>有什么想法吗?
致以敬意,
Stef
发布于 2017-08-17 23:06:20
打开Eclipse并在菜单栏中选择:
Window > Preferences >
General > Preferences > General > Content Types > Text > JSP (select)
https://stackoverflow.com/questions/19355624
复制相似问题