我有一个带有几列的prime faces数据表,并且每一列都有filteryBy属性。我该如何添加占位符或水印来为用户提供提示?如果有任何建议,将不胜感激!
<p:dataTable var="dt" widgetVar="widgetUserRecords"
value="#{userBean.result}"
id="userRecordTable" paginator="true"
paginatorAlwaysVisible="false" rows="10"
height="300" >
<p:column sortBy="#{dt.course.name}" filterStyle="width:50px;"
filterBy="#{dt.course.name}" headerText="Course Name" style="text-align:bottom">
<h:outputText value="#{dt.course.name}"/>
</p:column>
.
.
.
(other columns)
</p:dataTable>