Commandlink in Sidebar

Post Reply
Posts: 18
Joined: 06 Feb 2015, 10:40

27 Aug 2017, 12:48

Hi in my sidebar i want a command link but it looks stupid, does anyone have an idea? ... 674708.png

<p:commandLink id="nonAjax"
actionListener="#{accessControl.logout}" ajax="false">
<h:outputText value="Abmelden" />

User avatar
Posts: 3410
Joined: 29 Jun 2013, 12:38

12 Sep 2017, 15:50

I think you can use jsf:action with JSF2.2 instead of p:* and h:* components(p:commandButton, h:commandLink, ..) in profile panel; ... eat-sheet/ ... 27136.html

Please try;

Code: Select all

    <div class="profile">
            <p:graphicImage name="images/profile.png" library="omega-layout" />
            <a id="profile-button" href="#">
                <span class="username">Peggy Olson</span>
                <i class="fa fa-fw fa-cog"></i>
                <li><a href="#" jsf:outcome="#{accessControl.logout}"><i class="fa fa-fw fa-sign-out"></i><span>Abmelden</span></a></li>

Post Reply

Return to “Omega - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest