This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence 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:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!