2 Replies Latest reply on Oct 22, 2012 10:30 PM by zenig

    Richfaces Bootstrap Picklist Issue

    zenig

      I was having ajax issues and was able to narrow down on the issue to the following example. The userBean is pulled directly from the Richfaces Showcase. Whenever I have the Bootstrap picklist on the screen, the top "Hello" section isn't responding but the picklist component works fine. If I comment out the picklist, then the "Hello" section works. I assume the javascript of the Bootstrap component is causing issues but I can't track it down. I tried in Chrome and IE9. What is going on here?


      Environment: Jboss AS 7.1.1, Seam 2.3.0, Richfaces 4.3.0-SNAPSHOT

       

       

      <?xml version="1.0" encoding="utf-8"?>

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

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

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

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

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

                                                xmlns:s="http://jboss.org/schema/seam/taglib"

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

                      xmlns:b="http://richfaces.org/sandbox/bootstrap"

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

                                          xml:lang="en" lang="en">

       

       

      <f:view>

       

       

      <h:head></h:head>

       

       

      <h:body>

                <h:outputStylesheet>

              .outhello {

              font-weight: bold;

              }

          </h:outputStylesheet>

          <h:form>

              <h:panelGrid columns="3">

                  <h:outputText value="Name:" />

                  <h:inputText value="#{userBean.name}" />

                  <a:commandButton value="Say Hello" render="out" execute="@form" />

              </h:panelGrid>

          </h:form>

          <br />

          <a:outputPanel id="out">

              <h:outputText value="Hello #{userBean.name} !" rendered="#{not empty userBean.name}" styleClass="outhello" />

          </a:outputPanel>

       

                <br /><br /><br />

       

                 <b:pickList value="#{test}">

                          <f:selectItems value="#{organizationDAO.getOrganizationSelectItems()}" />

                </b:pickList>

      </h:body>

       

       

      </f:view>

       

       

      </html>