Rajat Gupta
Rajat Gupta

Reputation: 26607

Positioning the dialog box just below a commandLink

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

Answers (1)

Mark
Mark

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

Related Questions