Skip to content
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

use document.getElementsByName() to trigger default command #999 #1075

Merged

Conversation

geopossachs
Copy link
Collaborator

use document.getElementsByName()[0] to trigger the default command by a commandButton with col/span attribute #999

@TheCoder4eu TheCoder4eu self-assigned this May 9, 2019
@stephanrauh stephanrauh merged commit 791a592 into TheCoder4eu:master Aug 1, 2019
stephanrauh added a commit to TheCoder4eu/BootsFacesWeb that referenced this pull request Aug 1, 2019
@stephanrauh
Copy link
Collaborator

I've added an example to the showcase demonstrating how your improvement works.

@stephanrauh
Copy link
Collaborator

Thanks!

I'm not entirely sure how your improvement works with PrimeFaces buttons, standard JSF button, and <b:commandLink> - but then, we never documented these features are supported :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

defaultCommand does not work on commandButton with col/span attribute
3 participants