-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: 5.8
-
Fix Version/s: 11.2
-
Component/s: Seam / JSF UI
The current action buttons can easily trigger a confirm message, it would be good to make it possible to display a feedback message instead (info level for instance, stating "this action will take a few seconds, please be patient).
This currently can be done using the "onclick" property and using a custom javascript function that would use the ambiance library, for instance:
<script type="text/javascript"> function confirmWaiterAction() { jQuery.ambiance({ title: "#{messages['feedback.pleaseWait']}", type: "info", className: "infoFeedback", timeout: 0 }); return true; } </script>
This would allow to make it more easily configurable from Studio.