[richfaces-issues] [JBoss JIRA] Commented: (RF-2755) The h:selectBooleanCheckbox not rendered correctly in last row of rich:dataTable

Sergey Schelkunov (JIRA) jira-events at lists.jboss.org
Tue Mar 25 13:07:40 EDT 2008


    [ http://jira.jboss.com/jira/browse/RF-2755?page=comments#action_12404532 ] 
            
Sergey Schelkunov commented on RF-2755:
---------------------------------------

May be. But in this case affected one (last) row of table, in RF-2289 - some values in changed row.

Part of my test page:

<h:form id="tblForm">
<s:div id="tbldiv">

	<rich:dataTable id="tbl" value="#{itemList}" var="item" columns="3" >
	
		    	<rich:column>
		    		<f:facet name="header">Name</f:facet>
		    		#{item.name}
		    	</rich:column>
	   	
		    	<rich:column>
		    		<f:facet name="header">Is Checked?</f:facet>
		    		#{item.flag} 
		    	</rich:column>
		    	
		    	<rich:column>
		    	<f:facet name="header">Check</f:facet>
		    		<h:selectBooleanCheckbox value="#{item.flag}"/> 
		    	</rich:column>
	    </rich:dataTable>
	    
</s:div>
		<a4j:commandLink value="CheckAll" 
			action="#{itemlist.checkAll(true)}"
			ajaxSingle="true"
		    reRender="tbldiv"/>
		&#160;&#160;
		<a4j:commandLink value="UnCheckAll" 
			action="#{itemlist.checkAll(false)}"
			ajaxSingle="true"
		    reRender="tbldiv"/>
</h:form>

> The h:selectBooleanCheckbox not rendered correctly in last row of rich:dataTable
> --------------------------------------------------------------------------------
>
>                 Key: RF-2755
>                 URL: http://jira.jboss.com/jira/browse/RF-2755
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.4
>         Environment: JBoss 4.2.2.GA; Seam 2.0.1.GA; RichFaces 3.1.4
>            Reporter: Sergey Schelkunov
>         Assigned To: Maksim Kaszynski
>             Fix For: 3.2.1
>
>
> Test Case:
> 1.  h:selectBooleanCheckbox'es are placed into rich:dataTable's rows.
> 2. Backing bean Value(s) of checkbox(es) are changed.
> 3. Rerender action is fired by a4j:commandLink or a4j:commandButton.
> Result:
> Changed state of Checkboxes are shown in all table rows except last row. Correct state will be displayed after full  page reloading.
> RichFaces 3.1.2 works right, other versions and snapshot not verified.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list