Primefaces Dialog position

UI Components for JSF
Post Reply
Kroni_7
Posts: 2
Joined: 25 Nov 2011, 10:58

25 Nov 2011, 11:04

Hello!

I want to set the position of my p:dialog to the cursor position.

I know that there is the position attribute. But there i just can set a fixed position.
An other possibility is to set the position with javascript. But the problem therefore is, that you can't access jsf components with document.getElementById();

So does anyone has an idea to set the position of my dialog to the cursor position ?

Thanks!

Kroni_7
Posts: 2
Joined: 25 Nov 2011, 10:58

27 Nov 2011, 16:50

Doesn't anyone have an idea ?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Karcirway and 6 guests