This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring in Action (5th edition) and have Craig Walls on-line!
See this thread for details.
Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Changing application ststus in a datatable  RSS feed

 
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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!