Board index JavaServer Faces General p:focus on dialog breaks with showEffect

p:focus on dialog breaks with showEffect

Components, Ajax Framework, Utilities and More.


Posts: 48
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 :

<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 :

<p:focus />
<p:dialog id="eventDialog" widgetVar="eventDialog" header="Detil event" showEffect="drop" hideEffect="drop">
...
</p:dialog>


Should i create an issue for this ?

Return to General