p:focus on dialog breaks with showEffect

UI Components for JSF
Post Reply
moonblade.wolf
Posts: 48
Joined: 07 Dec 2010, 02:46

21 Jul 2011, 05:39

Hello

Im using PF2.2.1 and Mojarra 2.1.2

Doing this is OK, the dialog got focused when it's shown for the 1st time :

Code: Select all

<p:focus />
<p:dialog id="eventDialog" widgetVar="eventDialog" header="Detil event" hideEffect="drop">
...
</p:dialog>
Doing this is not OK, the dialog lose focus after the showEffect finishes. Doesnt matter what kind of showEffect is, as long there is a showEffect attribute defined :

Code: Select all

<p:focus />
<p:dialog id="eventDialog" widgetVar="eventDialog" header="Detil event" showEffect="drop" hideEffect="drop">
...
</p:dialog>
Should i create an issue for this ?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: katmel98 and 13 guests