This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, I'm relatively noob , I learnt JAVA many years ago and have just come back to it, anyway I am working through the PrimeFaces Showcase, most examples work OK but some don't. What I need help on is:
on clicking the link I get: For more information vist http://primefaces.org
b) DataGrid: In the DataGrid example using the Cars (datagrid.xhtml and TableBean.java), on clicking on the search icon, I get another instance of TableBean and a completely new random set of cars, ie: if I click on a Ford 1996, I might get Volvo Red 1972, and each subsequent click is something else random. On inspection(debug), the code is creating a new instance every time I click the link ???, why is this happening
I copied it verbatim from site, and have made no changes except I renamed datagrid.xhtml to DataGridExample.xhtml
c) DragDrop: The drag and drop example "DragDrop" -> "Data Grid Integration" ->(datagrid.xhtml, TableBean.java), again datagrid.xhtml has been renamed to "DragNDropExample.xhtml" but have incorporated drag drop code into TableBean.
The problem with this one the drop container doesn't activate or accept the droppable components.
d) Lastly, I purchased the PrimeFaces user manual only to discover its pretty well useless, is there any manuals out there to explain in detail each component, and how to use them, with full examples, and/or a site with complete working examples of the "PrimeFaces" showcase examples and/or JSF Components and full examples.