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

  • SEARCH
  • Home
  • 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 8665317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:27:12+00:00 2026-06-12T17:27:12+00:00

Since EL version 2.2, the following value expression is allowed: <h:outputText value=#{entry.getRow(column)} /> Where

  • 0

Since EL version 2.2, the following value expression is allowed:

<h:outputText value="#{entry.getRow(column)}" />

Where column would be another variable. Eventually, what seemed to work so well on an outputText, I would like to reuse on an inputText:

<h:inputText value="#{entry.setRow(column)}" />

“setRow” is defined as follows:

public void setRow(String columnName, String content) {
    // ...
}

My question is: Does that work? Or rather, I know that doesn’t work, since I’m getting an error about how the requested “setRow” method does not exist. So, does what I am trying to do here work in general – and if so, how can it be done?

Thanks for any feedback and best regards
Pascal

  • 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-12T17:27:13+00:00Added an answer on June 12, 2026 at 5:27 pm

    That’s indeed not a valid expression for a “set” operation. The value expression has to be a fullworthy bean property expression, but you’re having there a bean method expression.

    You can achieve the particular functional requirement using a Map instead.

    private Map<String, String> columns = new HashMap<String, String>();
    
    public Map<String, String> getColumns() {
        return columns;
    }
    

    with

    <h:inputText value="#{bean.columns[column]}" />
    

    On form submit, EL will use Map#put() method to set the value (hence, no setter required for the map) which will then be available in the action method by iterating over the map entries.

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

Sidebar

Related Questions

Since version 1.5 Subversion supports to have a local caching-proxy for the main Master-repository.
The .NET Framework contains since version 3.0 the ObservableCollection<T> , but why isn´t there
Good news! Since version 4.8 BerkeleyDB has c# interface. BerkeleyDB is a quite interesting
PowerBuilder seems to have some support for plug-ins since version 10. However, I can't
Since updating to version 3.0.1 of MonoDevelop, I've been unable to work with layout
Since the latest version of NSS does not provide the SSLSample program, I copied
Since in log4j javadoc is WARNING: This version of JDBCAppender is very likely to
Since the live() method is deprecated as of version 1.7, I started going through
Original issue Since I changed the version from 1.6.3. to 1.6.4 I get serious
I've HTML5 version of facebook like button on my site since almost an year

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.