sidebar: does not show as it should.

Post Reply
marcelocaser
Posts: 88
Joined: 13 Dec 2011, 15:07

30 Nov 2018, 14:10

Hi,

Sidebar in version Primefaces 6.2 with Avalon 1.0.6 does not show correctly. To test, just use the code below. Apparently it is overlapping the main page when it is called by some button.

Code: Select all

<p:sidebar widgetVar="enviarEmail" fullScreen="true" baseZIndex="10000">
        <h1 style="font-weight:normal">Full Screen Sidebar</h1>
	<p:commandButton value="Cancel" oncomplete="PF('enviarEmail').hide()"/>
</p:sidebar>

Code: Select all

<p:commandButton id="enviarEmail" value="#{msg.enviarEmail}" oncomplete="PF('enviarEmail').show()" icon="fa fa-envelope-o" styleClass="info-btn"/>
Thank you very much in advance.

marcelocaser
Posts: 88
Joined: 13 Dec 2011, 15:07

30 Nov 2018, 14:32

Sorry, it's no problem. I made
a mistake :)

User avatar
aragorn
Posts: 3531
Joined: 29 Jun 2013, 12:38

30 Nov 2018, 15:57

Thanks a lot for the update!

Post Reply

Return to “Avalon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest