aspose file tools
The moose likes JSF and the fly likes Changing application ststus in a datatable Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Changing application ststus in a datatable" Watch "Changing application ststus in a datatable" New topic
Author

Changing application ststus in a datatable

Rohit Kumar
Ranch Hand

Joined: Jul 19, 2007
Posts: 35
I have a datatable with application name, application status and check box to change the application status.
My question is , I have checkbox for every record in data table to change the application status. User can select any check box and needs to click CHANGE STATUS button to update the application status.
How can I do this.

APPLICATION NAME APPLCIATION STATUS CHANGE STATUS
ABC CURRENT check box

123 CURRENT check box


<h:column>
<f:facet name="header">
<hutputText value="Appliation Name"/>
</f:facet>
<hutputText styleClass="user" value="#{cipDetailed.applicationName}">
</hutputText>
</h:column>
<h:column>
<f:facet name="header">
<hutputText value="Application Status"/>
</f:facet>
<hutputText styleClass="user" value="#{cipDetailed.cipStatus.statusType}">
</hutputText>
</h:column>
<h:column>
<f:facet name="header">
<hutputText value="Change Status"/>
</f:facet>
<h:selectBooleanCheckbox id="changeCIPStatus" immediate="true" value="#{cipDetailed.cipStatus.statusType}" >
</h:selectBooleanCheckbox>

</h:column>

In the above table�="#{cipDetailed.cipStatus.statusType}"> cipDetaield is my table name, cipStatus is lookup table to identify the status.

Any suggestions
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Changing application ststus in a datatable
 
Similar Threads
passing parameters from JSF to Java class and JSF to JSF
How to use datatable with no records in a list
Get the count of selectted checkbox
boolean property in dataTable
how to use dataTable without scrolling header