profile mode disappears when changed menu mode #2796
Answered
by
marcelocaser
marcelocaser
asked this question in
PrimeFaces Templates
-
Testing:
See imagem below: Occurs in all versions Avalon Theme |
Beta Was this translation helpful? Give feedback.
Answered by
marcelocaser
Oct 8, 2024
Replies: 1 comment
-
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="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 topbar-items-form" />
</p:selectOneRadio> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
marcelocaser
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
The simple solution for this is add "topbar-items-form" in update tag:
Edit file config.xhtml and change this:
To this: