PF 10

Forum rules
Please note that response time for technical support is within 3-5 business days.
siris
Posts: 322
Joined: 29 Jul 2019, 13:57

12 May 2021, 09:07

Hi,

There appears to be a issue with the "Openpdf" dependency. You can remove it from pom.xml and try again please.
How do I get the menu to close after selection?
You can use the overlay menu to close after selection.

Best Regards,

tony.herstell
Posts: 214
Joined: 29 Nov 2011, 00:40

23 May 2021, 03:50

On the showcase for Theme closing a panel leaves it bottomless...
I added this to my local css to override it.

Top Right:
https://www.primefaces.org/atlantis/panel.xhtml

Code: Select all

body .ui-panel .ui-panel-titlebar {
	border-bottom: solid 1px #dee2e6 !important;
}
Yours to consider...
Last edited by tony.herstell on 23 May 2021, 03:54, edited 2 times in total.
PF12+, Quarkus 3.2+ (CDI, JPA etc.), JSF Bridge (MyFaces 4.0.1)
Dont forget the classifier:

Code: Select all

   ...primefaces
  <classifier>jakarta</classifier>
     ... theme
  <classifier>jakarta</classifier>

tony.herstell
Posts: 214
Joined: 29 Nov 2011, 00:40

23 May 2021, 03:50

Not really seeing overlay "auto" close on selection .... like it used to..
:/

Code: Select all

    <div class="layout-sidebar layout-overlay-menu #{lookAndFeelPreferences.darkMenu ? 'layout-sidebar-dark': ''}">
        <pa:tabMenu id="menu-area">
            <pa:tab icon="fa fa-home" title="Home">
	            <h:form id="menu-home-form">
		            <pa:menu widgetVar="home">
		 				<p:menuitem id="om_home" value="Home" icon="fa fa-fw fa-home" outcome="/pages/home?faces-redirect=true" immediate="true"/>
		 			</pa:menu>		 			
	 			</h:form>
 			</pa:tab>
 			
            <pa:tab icon="fa fa-user" title="Me" rendered="#{identityController.isUserInRole('USER')}">
	            <h:form id="menu-me-form">
		            <pa:menu widgetVar="me">
		 				<p:menuitem id="om_dashboard" value="Dashboard" icon="fa fa-fw fa-dashboard" outcome="/pages/my/dashboard?faces-redirect=true" />
		 				<p:menuitem id="om_xx" value="CVs" icon="fa fa-fw fa-book" outcome="/pages/my/xxs?faces-redirect=true" />
		 			</pa:menu>		 			
	 			</h:form>
 			</pa:tab>
 
PF12+, Quarkus 3.2+ (CDI, JPA etc.), JSF Bridge (MyFaces 4.0.1)
Dont forget the classifier:

Code: Select all

   ...primefaces
  <classifier>jakarta</classifier>
     ... theme
  <classifier>jakarta</classifier>

siris
Posts: 322
Joined: 29 Jul 2019, 13:57

24 May 2021, 08:27

Hi,
On the showcase for Theme closing a panel leaves it bottomless...
I added this to my local css to override it.

Top Right:
https://www.primefaces.org/atlantis/panel.xhtml
CODE: SELECT ALL

body .ui-panel .ui-panel-titlebar {
border-bottom: solid 1px #dee2e6 !important;
}
Yours to consider...
Thanks! I will fix this.

Best Regards,

siris
Posts: 322
Joined: 29 Jul 2019, 13:57

24 May 2021, 08:29

Hi,
Not really seeing overlay "auto" close on selection .... like it used to..
:/
CODE: SELECT ALL

<div class="layout-sidebar layout-overlay-menu #{lookAndFeelPreferences.darkMenu ? 'layout-sidebar-dark': ''}">
<pa:tabMenu id="menu-area">
<pa:tab icon="fa fa-home" title="Home">
<h:form id="menu-home-form">
<pa:menu widgetVar="home">
<p:menuitem id="om_home" value="Home" icon="fa fa-fw fa-home" outcome="/pages/home?faces-redirect=true" immediate="true"/>
</pa:menu>
</h:form>
</pa:tab>

<pa:tab icon="fa fa-user" title="Me" rendered="#{identityController.isUserInRole('USER')}">
<h:form id="menu-me-form">
<pa:menu widgetVar="me">
<p:menuitem id="om_dashboard" value="Dashboard" icon="fa fa-fw fa-dashboard" outcome="/pages/my/dashboard?faces-redirect=true" />
<p:menuitem id="om_xx" value="CVs" icon="fa fa-fw fa-book" outcome="/pages/my/xxs?faces-redirect=true" />
</pa:menu>
</h:form>
</pa:tab>
Please give me a example on showcase. Sorry but I didn't understand this way what you said.

Best Regards,

tony.herstell
Posts: 214
Joined: 29 Nov 2011, 00:40

25 May 2021, 03:15

To clarify:

https://www.primefaces.org/atlantis/formlayout.xhtml
...

Click on a menu option and the page will refresh and the menu will open up again.

The "old" Theme closed the menu after selection (far more useful - as you have made a menu selection - so why stay open???!)... is there a hack I put in to close the menu after selection?
PF12+, Quarkus 3.2+ (CDI, JPA etc.), JSF Bridge (MyFaces 4.0.1)
Dont forget the classifier:

Code: Select all

   ...primefaces
  <classifier>jakarta</classifier>
     ... theme
  <classifier>jakarta</classifier>

siris
Posts: 322
Joined: 29 Jul 2019, 13:57

25 May 2021, 10:10

Hi,

We added 'stateful' attribute for supporting some usecases and performance improvements. And this attributes' default value is true. Please add below attribute to your pa:tabMenu component.

Code: Select all

        <pa:tabMenu id="tabMenu" stateful="false">
Best Regards,

tony.herstell
Posts: 214
Joined: 29 Nov 2011, 00:40

25 May 2021, 10:15

Worked.
Thankyou.
PF12+, Quarkus 3.2+ (CDI, JPA etc.), JSF Bridge (MyFaces 4.0.1)
Dont forget the classifier:

Code: Select all

   ...primefaces
  <classifier>jakarta</classifier>
     ... theme
  <classifier>jakarta</classifier>

siris
Posts: 322
Joined: 29 Jul 2019, 13:57

25 May 2021, 16:17

Hi,

Glad your issue was resolved. You are welcome!

Best Regards,

Post Reply

Return to “Atlantis - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests