Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8748269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:29:45+00:00 2026-06-13T12:29:45+00:00

I have a dataTable displaying data of type Action . I have a column

  • 0

I have a dataTable displaying data of type Action. I have a column named “Status” which will be set by the user. After setting this column I want to retrieve the value from a HashMap with Action class as key and the status as value.

How could I do it directly in the dataTable status column? I attempted the following:

<p:dataTable var="currentExecutedTestAction" value="#{projectCampaignManagementMB.currentExecutedTestActionList}">
    <p:column>  
        <f:facet name="header">  
            <h:outputText value="Status" />  
        </f:facet>  
        <h:outputText value="#{projectCampaignManagementMB.actionMap(currentExecutedTestAction,statusValue)}" /> 
    </p:column>
</p:dataTable>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:29:46+00:00Added an answer on June 13, 2026 at 12:29 pm

    Just use the action as a key (I suppose that the action is some String/Integer etc that can be used as a key).

    <h:outputText value="#{projectCampaignManagementMB.actionMap[action]}"/>
    

    JSF will use the action as a key to get the value, and than after you will submit some new value it will use action again to set the new value.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have datatable with column name tag and 100 rows of data.I need to
I have a datatable which contains yearly data saved. e.g. dtDate Value 2010-01-01 00:00:00.000
I have a datatable with user information and a column called 'Bits'. There is
I have a datatable on which I am applying Select() method. After that I
I have a column in the data table called CurrentDate as datatype string (12/2/1983).
I am displaying data in a table and in the table i have a
We have a web part on which we display some data in a grid.
I have a Application on which i'm uploading a Excel File and displaying the
I have a form, in that I have user control(for displaying member name with
I have one extended Data Table in payeeSearch.xhtml displayed as - 1) After clicking

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.