We need to integrate some JavaScript code in the HTML Dialog and we need the good way to call JavaScript from HTML Dialog View or Logic and pass some data. How to do that? Thanks. asked 14.11.2013 at 09:16 Rifat Binjos |
From the view you can call javascript by binding it to the available widget events. For example on the command button you can bind your script to "onClick":
Primefaces also makes it possible to execute javascript within a bean (in the process logic). A sample can be found in the primefaces showcase. answered 14.11.2013 at 09:57 Reguel Werme... ♦♦ |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 14.11.2013 at 09:16
Seen: 2,879 times
Last updated: 14.11.2013 at 11:21