Skip to content

profile mode disappears when changed menu mode #2796

Discussion options

You must be logged in to vote

Hi,

The simple solution for this is add "topbar-items-form" in update tag:

Edit file config.xhtml and change this:

<p:selectOneRadio value="#{guestPreferences.menuLayout}" layout="responsive" columns="2">
   <f:selectItem itemLabel="Static" itemValue="static" />
   <f:selectItem itemLabel="Overlay" itemValue="overlay" />
   <f:selectItem itemLabel="Horizontal" itemValue="horizontal" />
   <f:selectItem itemLabel="Slim" itemValue="slim" />
   <p:ajax listener="#{guestPreferences.onLayoutChange}" process="@this" update=":config-form menuform" />
</p:selectOneRadio>

To this:

<p:selectOneRadio value="#{guestPreferences.menuLayout}" layout="responsive" columns="2">
   <f:selectItem itemLabel="S…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marcelocaser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
1 participant