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
Fix#11814: Support DefaultCommand for submit button outside (but linked to) form #11878
Conversation
…o allow using them in JavaScript code
…port submit buttons that are placed outside (but linked to) the form
This actually looks really reasonable to me. |
what about normal button, linkbutton or commandlink? |
…pport DefaultCommand usage
I updated the implementation to support commandlink. Referencing a form in a normal button and linkbutton doesn't seem to be supported however. |
Agreed this would only work from CommandXXX types thanks for adding CommandLink |
primefaces/src/main/java/org/primefaces/component/commandlink/CommandLinkRenderer.java
Outdated
Show resolved
Hide resolved
+1 then |
@BjornJaspers unfortunately this fix cannot be merged in the 13.X branch that you have it marked for. Can you resubmit this under branch |
Fix #11814
This is how I thought about fixing this, but of course I'm open for discussion.