When I run this the code below, Apache Tomcat Log says:
Property 'recuClientes' not found in type com.swc.rc.recu.UtilsRecu
The webPage returns No records found.
any suggestion?
This is the call
<p:outputPanel>
<h:form>
<p:dataTable var="rec" value="#{rc.recu}">
<p:column headerText="recu">
<h:outputText value="#{rec.deudor}" />
</p:column>
</p:dataTable>
</h:form>
</p:outputPanel>
This is the source, i can use it, isnĀ“t it?
@XmlTransient
public Collection<Procs> getProcsCollection() {
return procsCollection;
}
public void setProcsCollection(Collection<Procs> procsCollection) {
this.procsCollection = procsCollection;
}
And this is the managedBean..
@ManagedBean(name = "rc")
@SessionScoped
public class UtilsRecu {
private Clientes cliente=new Clientes();
private List <Procs> recu=new LinkedList<Procs>();
public void recuClientes(){
recu=(List<Procs>) cliente.getProcsCollection();
}
public void setRecu(List<Procs> recu) {
this.recu= recu;
}
public List<Procs> getRecu() {
recuClientes();
return recu;
}
}
Thank you..