0

I have to display one scrollable confirmDialog with fixed width and height. I am trying it by this way:

<p:confirmDialog id="ui_confirm_dialog" header="Confirmation" severity="info"
    widgetVar="ui_confirm_dialog_Var" max-width="700" max-height="10" scrollable="true">

This is not working as expected. How can I achieve this?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Satish A
  • 58
  • 8

1 Answers1

0

Based on their documentation - http://www.primefaces.org/documentation, there are no max-height, max-width and scrollable attributes on that component.

You can specify dimensions by using height and width:

<p:confirmDialog id="_ui_confirm_dialog" header="Confirmation"
 severity="info" widgetVar="_ui_confirm_dialog_Var" width="700" height="10">

But as of specification you cannot make it scrollable, unless you would write your own custom / composite component on top of what primefaces offer.

Maciej Kowalski
  • 25,605
  • 12
  • 54
  • 63