0 Replies Latest reply on Aug 28, 2008 9:14 AM by Kerdudou Ronan

    Some bugs to put to richfaces jira

    Kerdudou Ronan Apprentice

      Sorry for the cross post, I 've already submit those code samples in the Richfaces users forum but no answer.... :(

      I think jiras should be created for it but i have a read-only access to RC's jira.

      1)
      With RC 3.2.1 (and also 3.2.2b5), the following code has a very strange behavior on IE. the onClick event on one of the checkbox makes a javascript error occurs and the cell "value" disappears !!

      <rich:dataTable value="#{testBean.listModel}" var="row">
       <rich:column id="value" styleClass="#{row.updated ? 'updated':'NotUpdated'}">
       <h:outputText value="#{row.value}" />
       </rich:column>
       <rich:column>
       <h:selectBooleanCheckbox id="check" value="#{row.value}">
       <a4j:support event="onclick" ajaxSingle="true" action="#{testBean.onClickUpdateValue}" reRender="value"/>
       </h:selectBooleanCheckbox>
       </rich:column>
      </rich:dataTable>

      With firefox, the code above works fine.

      2) The following code is not working, tabs are not switching:

      <rich:tabPanel
       id="tabPanel"
       switchType="ajax"
       selectedTab="#{testhandler.tab}">
      
       <rich:tab id="foo" label="foo tab"
       ajaxSingle="true">
       <h:outputText value="Foo" />
       </rich:tab>
       <rich:tab id="bar" label="bar tab"
       ajaxSingle="true">
       <h:outputText value="bar"/>
       </rich:tab>
       </rich:tabPanel>