1 Reply Latest reply on Sep 22, 2013 11:03 PM by newuser001

    rich:dataTable in two columns

    Jordi Cayuela Newbie

      Hello everyone!



      I am new to this world of JSF, and I have the following problem. I have to show a search on two different columns. For example if the result is:









      I have to show:



      a b

      c d



      My code is:



      <rich:dataTable id="tableLlistaCercaMunicipis" value="#{cercaMunicipiBean.dataModelMunicipis}" var="municipi" width="100%"  rows="#{cercaMunicipiBean.dataModelMunicipisRows}" styleClass="wizardTaulaBasica"   cellpadding="0" cellspacing="0">


                 <a4j:outputPanel layout="inline" styleClass="seleccionarMunicipi">

                                                                                            <a4j:support event="onclick" actionListener="#{cercaMapaBean.seleccionaMunicipi}"  reRender="panellLlistaMunicipis,panellStepsLlegenda" ajaxSingle="true" >

                                                                                                                                        <f:attribute name="municipi" value="#{municipi}" />


                      <h:outputText value=">> #{municipi.nom}" />





      thank you very much and forgive my English!