¡@

Home 

2014/10/16 ¤W¤È 12:07:02

jquery Programming Glossary: remotecommand

Best method for passing Data from Java/JSF2 bean to Javascript/jQuery Components

http://stackoverflow.com/questions/7930047/best-method-for-passing-data-from-java-jsf2-bean-to-javascript-jquery-components

x y true true 1000 parse it process it and load it into the chart That doesnt work... Also I've been trying both remoteCommand and Poll to get the chart to work neither of which I have been successful with h form p commandButton value update action.. outputText value # testBean.output id chartValue br p commandButton value Load type button onclick fetchChartData p remoteCommand name fetchChartData action # testBean.prepareChartDate oncomplete updateChartTest xhr status args h form As I've said.. are using PrimeFaces 2.2.1 then it should be pretty easy to acheive what you are trying to do. PF has a component p remoteCommand with which you can Ajaxicaly invoke a managed bean method. h form id frmIrsChartData p remoteCommand name fetchChartData..