The form component needs to have a uiform in its ancestry when confirmdialog outside h form
Answers
Answered by
0
_________________________________
⭐
✔Ans = ConfirmDialog is handy when you want to provide a fancy confirmation instead of javascript confirm box, however there is one to one relationship between the confirmation source and the dialog itself meaning page author needs to create a separate confirmDialog for each action that requires confirmation. As the page grows, it becomes quite to maintain and page is bloated with confirmDialogs.
To improve this in PrimeFaces 4.0, we are introducing a Global ConfirmDialog that is a singleton on page shared amongst different components that require confirmation. Usage is quite simple, globaloption needs to be set true on confirmDialog and source of the action needs to have confirm enabled.
_________________________________
✨✨✨
i hope help u jiii ❤❤❤❤
Answered by
0
Heyaa!!!
=>ConfirmDialog is handy when you want to provide a fancy confirmation instead of javascript confirm box, however there is one to one relationship between the confirmation source and the dialog itself meaning page author needs to create a separate confirmDialog for each action that requires confirmation. As the page grows, it becomes quite to maintain and page is bloated with confirmDialogs.
To improve this in PrimeFaces 4.0, we are introducing a Global ConfirmDialog that is a singleton on page shared amongst different components that require confirmation. Usage is quite simple, globaloption needs to be set true on confirmDialog and source of the action needs to have confirm enabled.
=>ConfirmDialog is handy when you want to provide a fancy confirmation instead of javascript confirm box, however there is one to one relationship between the confirmation source and the dialog itself meaning page author needs to create a separate confirmDialog for each action that requires confirmation. As the page grows, it becomes quite to maintain and page is bloated with confirmDialogs.
To improve this in PrimeFaces 4.0, we are introducing a Global ConfirmDialog that is a singleton on page shared amongst different components that require confirmation. Usage is quite simple, globaloption needs to be set true on confirmDialog and source of the action needs to have confirm enabled.
Similar questions