Created
July 18, 2013 09:35
-
-
Save Qkyrie/6028033 to your computer and use it in GitHub Desktop.
code to call javascript from a managed bean
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void save() { | |
RequestContext requestContext = RequestContext.getCurrentInstance(); | |
requestContext.execute("dialog.hide()") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What should be imported to get this right.