Reputation: 26607
How to specify the position for the primefaces dialog
. I am able to use the attribute asposition=top
but can I define the exact position in terms of x,y coordinates.
I actually need to display the dialog box just below a commandLink
component. Any help on how I can achieve that is appreciated.
Upvotes: 3
Views: 7592
Reputation: 17182
Yes the position attribute will take x,y coordinates.
<p:dialog header="My Dialog" widgetVar="dialog" position="50,100"></p:dialog>
Upvotes: 4