0 Replies Latest reply on Apr 9, 2012 2:15 PM by Rainer Buschke

    Rich:Page and Sidebar - href is not working anymore

    Rainer Buschke Newbie

      Hello,

       

      i have a problem with my sidebar and a few links in it. The links are not working anymore...

      Here's the code:

       

      <rich:page  xmlns="http://www.w3.org/1999/xhtml"

                  xmlns:ui="http://java.sun.com/jsf/facelets"

                  xmlns:f="http://java.sun.com/jsf/core"

                  xmlns:h="http://java.sun.com/jsf/html"

                  xmlns:rich="http://richfaces.org/rich"

                  xmlns:a4j="http://richfaces.org/a4j"

                  markupType="xhtml"

                  contentType="text/html"           

                  pageTitle="Title"

                  width="900"

                  sidebarWidth="200"

                  sidebarPosition="left">

       

        <f:facet name="pageHeader">

          <f:loadBundle basename="resources" var="msg"/>   

          <title><ui:insert name="Pagetitle"/></title>

          <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>     

              <link rel="shortcut icon" href="#{mainBean.contextPath}/pictures/favicon/favicon.ico"/>

              <link rel="stylesheet" type="text/css" href="#{mainBean.contextPath}/css/general.css"/>

        </f:facet>

       

          <f:facet name="sidebar">

          <h:form id="f_Sidebar">

              <div    align="left">

                  <h:panelGrid    bgcolor="transparent"

                                              border="0"   

                                              columns="1"

                                              rendered="#{mainBean.loginData == null}"

                                              styleClass="sc_sidebarpanelouter">

                       <a href="http://www.jboss.org/richfaces">

                         <h:graphicImage alt="picture"

                                                         style="border:0"

                                         value="/pictures/links/bild.jpg"/>

                       </a>

       

                          ...

       

      Thanks for helping me out

      Rainer

       

      For any reason the h:panelgrid is responsible for the links not working anymore!

      If someone could find out why this happens it would be fine to describe it here.

       

      Rainer