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 8988265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:58:50+00:00 2026-06-15T21:58:50+00:00

I understand that should not work according to JEE6 tutorial . <h:inputText value=${bean.name}/> and

  • 0

I understand that should not work according to JEE6 tutorial.

<h:inputText value="${bean.name}/>

and managed bean

@ManagedBean
public class Bean {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}

But it work perfectly and I can read the ‘name’ property from the response page. I thought it only work with deferred evaluation #{expr} for writable properties.

  • 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-15T21:58:51+00:00Added an answer on June 15, 2026 at 9:58 pm

    According to the JEE6 tutorial:

    • Rvalue expressions can read data but cannot write it.
    • All expressions that are evaluated immediately use the ${} delimiters and are always rvalue expressions

    So that may lead you to think that you can’t use ${} in a writable property, but if you read later:

    Where Value Expressions Can Be Used: Value expressions using the
    ${} delimiters can be used in:

    • Static text
    • Any standard or custom tag attribute that can accept an expression

    So, if I’m not mistaken, this doesn’t contradict the former. It just means that when you use <h:inputText value="${bean.name}"/> it will be used to read the name property, but it won’t write it if you modify the content in the inputText.

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

Sidebar

Related Questions

I'm a newcomer to Python but I understand that things should not be done
This is a short question. At some point my thread understand that it should
Creating liquid layouts is an immense pain. Now, I totally understand that tables should
I understand that in my unit test I should do BOOST_TEST_MESSAGE(message); instead of std::cout
I'm having trouble with something that I understand should function out of the box
I understand that applications under the same domain name can talk to each other
This should be the simplest thing ever but it will not work. I have
The official Sun Oracle stance on Thread.stop() is that it should not be used.
I am trying to manipulate xsd schema as an xml document that should not
One of Steve McConnell's checklist items is that you should not monkey with the

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.