pe:fab - / events, listener and pe:badge

Community Driven Extensions Project
Post Reply
rider
Posts: 497
Joined: 05 Mar 2010, 13:17

25 Jun 2020, 09:19

I want to use pe:fab and pe:badge.

Two question to that:

1) Use pe:badge on right top corner... I tried this, but it´s always only showing after the pe:fab:

Code: Select all

<pe:fab id="btnFab" icon="fa fa-question" iconActive="fa fa-times"
		style="background: green;">
	</pe:fab>
		<pe:badge content="1" for="btnFab"  position="top-right"/>
2) How can I invoke a listener method for the p:ajax events?
I´ve tried this, but this is not working?

Code: Select all

	<pe:fab id="btnFab" icon="fa fa-question" iconActive="fa fa-times"
		style="background: green;">

		<p:ajax event="open" listener="#{mybean.doOpenWidget}"
			update=":chatPanel"
			oncomplete="loadScrollPanelToEndWidget();" global="false" />
		<p:ajax event="close" listener="#{mybean.doCloseWidget}"
			global="false" />

	</pe:fab>
Primefaces 12.0, WildFly 21

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

25 Jun 2020, 13:58

Ahhh they might not play together nicely. Can you open a ticket on the PFE Issues page please?
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

rider
Posts: 497
Joined: 05 Mar 2010, 13:17

25 Jun 2020, 14:19

Primefaces 12.0, WildFly 21

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

25 Jun 2020, 17:07

OK fixed the AJAX listeners issue for 8.0.3. Still working on the badge issue.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

rider
Posts: 497
Joined: 05 Mar 2010, 13:17

25 Jun 2020, 18:29

oh, great. Thank you for the support.
When is planned fo GoLive 8.0.3 ?
Primefaces 12.0, WildFly 21

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

25 Jun 2020, 18:34

Probably right after we fix this last badge issue and possibly this one: https://github.com/primefaces-extension ... issues/742
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests