[richfaces-issues] [JBoss JIRA] Commented: (RF-711) Special column (with check box) to allow multiple row selection (in dataTable)

asookazian (JIRA) jira-events at lists.jboss.org
Fri May 16 19:08:24 EDT 2008


    [ http://jira.jboss.com/jira/browse/RF-711?page=comments#action_12413114 ] 
            
asookazian commented on RF-711:
-------------------------------

I need this functionality as well.  I am currently using the following facelet code and am getting:

TechDeployToUser.xhtml @194,122 value="#{techDeployToUser.setSelectedAssignCheckbox(hardwareTableList.getRowIndex())}": Illegal Syntax for Set Operation

      	   
				<rich:dataTable id="userQueueTable" value="#{userLocEquipList}"	var="hardware">
						<rich:column>
							<f:facet name="header"><h:outputText value="Barcode"/></f:facet>
							<h:outputText value="#{hardware.coxBarcode}"/>
						</rich:column>
						
						<rich:column>
							<f:facet name="header"><h:outputText value="Purchaser"/></f:facet>
							<h:outputText value="#{hardware.trOwnerType.ownerTypeDesc}"/>
						</rich:column>
						
						<rich:column>
							<f:facet name="header"><h:outputText value="Manufacturer"/></f:facet>
							<h:outputText value="#{hardware.tbHardwareModel.tbHardwareVendor.hardwareVendorDesc}"/>
						</rich:column>
	
						<rich:column>
							<f:facet name="header"><h:outputText value="Type"/></f:facet>
							<h:outputText value="#{hardware.tbHardwareModel.trHardwareType.hardwareTypeDesc}"/>
						</rich:column>
					
						<rich:column>
							<f:facet name="header"><h:outputText value="Model"/></f:facet>
							<h:outputText value="#{hardware.tbHardwareModel.hardwareModel}"/>
						</rich:column>
			
						 <rich:column>
						 	<f:facet name="header"><h:outputText value="Remove from User"/></f:facet>
						 	<h:selectBooleanCheckbox value="#{techDeployToUser.setSelectedRemoveCheckbox(userLocEquipList.getRowIndex())}"/>
						 </rich:column>
	     		</rich:dataTable>
	     	 		 	
    

			<h:form>		   
				<h:commandButton id="submit" 	value="Submit Technician Changes" 	action="#{techDeployToUser.submit}"	onclick="return confirmMode('Submit','');"/>
				<h:commandButton id="cancel" 	value="Cancel Technician Changes" 	action="#{techDeployToUser.cancel}"	disabled="false"		onclick="return confirmMode('Cancel','');"/>								
		   	</h:form>
	

> Special column (with check box) to allow multiple row selection (in dataTable)
> ------------------------------------------------------------------------------
>
>                 Key: RF-711
>                 URL: http://jira.jboss.com/jira/browse/RF-711
>             Project: RichFaces
>          Issue Type: Feature Request
>    Affects Versions: 3.1.0, 3.2.0, Wishes
>            Reporter: Mikhail Grushinskiy
>         Assigned To: Nick Belaevski
>             Fix For: Wishes
>
>
> Special column (with check box) to allow multiple row selection.
> Check box in header selects/deselect all rows.
> Check boxes on rows select those rows.

-- 
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