2 Replies Latest reply on Dec 12, 2010 6:13 PM by winsterjose

    rich:column in rich:orderinglist causes issues

    winsterjose

      xmlns:f="http://java.sun.com/jsf/core" xml:lang="en" lang="en">
      <body>      
      <f:view id="dialogview">
      <h:form id="dialogform" styleClass="formStyle"> 
      <rich:orderingList id="yyy"  value="#{myBean.favoriteItems}" var="x" >
                     <rich:column id="zzz">
                          <h:outputText val="#{x}"></h:outputText>
                     </rich:column>
      </rich:orderingList>
      <a4j:commandButton value="delete" action="#{myBean.delete}" reRender="yyy"/>
      </h:form>
      </f:view>
      </body>
      </html> 

      I am struggling with rich:orderinglist for the last 2 days. If I have rich:column defined in orderinglist, other buttons outside orderinglist are not working. If I make immediate='true', that will work. Else if I remove rich:column, delete button works, even though some script error occured.  Please help me on this.

       

       

       

       

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

      xmlns:c="http://java.sun.com/jsp/jstl/core"

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

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

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

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

      xmlns:f="http://java.sun.com/jsf/core" xml:lang="en" lang="en">

       

      <body>   

      <f:view id="dialogview">

      <h:form id="dialogform" styleClass="formStyle"> 

       

       

      <rich:orderingList id="yyy"  value="#{myBean.favoriteItems}" var="x" >

                      <rich:column id="zzz">

                      <h:outputText val="#{x}"></h:outputText>

                      </rich:column>

      </rich:orderingList>

       

      <a4j:commandButton value="delete" action="#{myBean.delete}" reRender="yyy"/>

       

      </h:form>

      </f:view>

      </body>

      </html>