-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
commandButton onclick #893
Comments
What's happening here is that the |
@chongma I've solved the bug now. Can you double-check it, please? |
has this been released now? i will test it with 1.2.0. also what is the version of the new snapshot for latest version? 2.0-SNAPSHOT? |
Yes, we've released this feature as part of BootsFaces 1.2.0. The most current snapshot is going to be 1.2.1. Currently, there's none, because we haven't done anything in the 1.2 branch since the release. As for the 2.0 version, I guess we'll move to a public repository when we've managed to implement 20 components. Currently, we're still busy laying the foundations, developing an efficient development process and so on. |
forgot to report back. yes it does seem to work now. thank you for fixing it Stephan. |
b:commandButton
onclick
method needs to be protected from returningtrue
. e.g.results in a page reload.
solves the problem.
please see https://stackoverflow.com/questions/4148689/jsf-how-do-i-implement-a-javascript-are-you-sure-prompt-for-a-hcommandbut/4148853?noredirect=1#comment82101529_4148853 for discussion.
also i have written a reproducer on https://github.com/chongma/test called commandButtonOnClick
The text was updated successfully, but these errors were encountered: