• Post Reply Bookmark Topic Watch Topic
  • New Topic

Changing application ststus in a datatable  RSS feed

 
Rohit Kumar
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!