Pessoal, eu baixei várias versões do PrimeFaces e adcionei os jar’s no meu projeto…
Então coloquei:
xmlns:p="http://primefaces.prime.com.tr/ui"
e
<%@ taglib uri="http://primefaces.org/ui" prefix="p" %>
e coloquei um código do primefaces no meu jsf:
<p:remoteCommand name="lazyload" update="dt1">
<f:setPropertyActionListener value="#{true}" target="#{JAPListBean.listAP}" />
</p:remoteCommand>
tentei colocar <p: e apertar CTRL+ESPAÇO, e não mostrou nenhuma opção do primeface. Quando eu fui executar o código, deu a seguinte mensagem:
An exception occurred processing JSP page /admin/ap_info.jsp at line 230 227: </h:dataTable> 228: 229: <p:remoteCommand name="lazyload" update="dt1"> 230: <f:setPropertyActionListener value="#{true}" target="#{JAPListBean.listAP}" /> 231: </p:remoteCommand> 232: </h:form> 233: </f:view> Stacktrace:
Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: The setPropertyActionListener tag should be nested within a tag that is associated with a component of type javax.faces.component.ActionSource.
meu servidor web é o JBOSS 6 e JSF 2.0…