Quick Actions Widget

Post Reply
practicalddd
Posts: 2
Joined: 16 Sep 2020, 22:19

19 Sep 2020, 20:11

Hi,

Primefaces newbie here. I wanted to know how to implement the opening of a dialog on any of the quick actions widget ? As of now I just see a span there.

Regards,
Vijay

mert.sincan
Posts: 4345
Joined: 29 Jun 2013, 12:38

28 Sep 2020, 08:45

Hi,

Please try;

Code: Select all

<p:dialog widgetVar="myDialog">
      Dummy dialog
</p:dialog>


...
   <p:commandLink styleClass="action" onclick="PF('myDialog').show()">
         <span><i class="pi pi-pencil"></i>Manage Store</span>
   </p:commandLink>
...
- Replace div.action with link component

Best Regards,

Post Reply

Return to “Rain - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests