DefaultCommand does not work without form
Posted: 17 Jul 2017, 05:19
hi Primefaces
I'm using pf 5.3, i'm using default command component to handle user bahaviour when user hit enter key button. My requirement is user must hit to a positive button (like Next/Yes/OK/...) in that case. it work fine with normal form but not for dialog with no form or input.
That's dialog that just show one message with two button yes/no. user hit yes we just hide that dialog so which mean no need server-side dialog here.
Any suggestion for this case?
Thanks
I'm using pf 5.3, i'm using default command component to handle user bahaviour when user hit enter key button. My requirement is user must hit to a positive button (like Next/Yes/OK/...) in that case. it work fine with normal form but not for dialog with no form or input.
That's dialog that just show one message with two button yes/no. user hit yes we just hide that dialog so which mean no need server-side dialog here.
Any suggestion for this case?
Thanks