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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:07:18+00:00 2026-05-11T14:07:18+00:00

I have a page start.jsf which points to an action #{ruler.start}, this action forwards

  • 0

I have a page ‘start.jsf’ which points to an action #{ruler.start}, this action forwards the request to ‘flow.jsf’.

The managed bean ‘ruler’ (request scoped) contains some properties, one of them called ‘ruler.operation’, correctly filled into ‘start.jsf’.

The page ‘flow.jsf’ has a command button pointing to an another managed bean called ‘objectList’ (session scoped) containing a property object named ‘objectList.selectedContractor’ (a POJO initialized into the constructor, so its children properties are always empty only at the first MB call, or wrong?), its action is #{objectList.itemInsert}.

The form page of ‘flow.jsf’ contains the following tags:

 <h:form>  <h:inputText id='crnameNew' value='#{objectList.selectedContractor.crname}' rendered='#{ruler.operation eq ruler.codeOperationNew}' />   <h:inputText id='someProp' value='#{objectList.someProp}' />  <h:commandButton styleClass='importedButton' value='insert' action='#{objectList.itemInsert}' />  </h:form> 

Well, when I submit the action #{objectList.itemInsert}, only ‘someProp’ is correctly filled into the MB, while ‘selectedContractor.crname’ results empty.

BUT if I toggle the ‘rendered’ attribute from the tag binding the #{objectList.selectedContractor.crname}, it works and fill correctly when #{objectList.itemInsert} is invoked… so why ‘rendered’ affect the processing of a submission?

  • 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. 2026-05-11T14:07:18+00:00Added an answer on May 11, 2026 at 2:07 pm

    As the attribute suggests it only affects the rendering. If it’s rendered on the page then the value will be sent back to the Bean on form submission. If it’s rendering and this isn’t happening then something else is wrong.

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

Sidebar

Related Questions

On a page i have a flash file. I click it once to start
I have an asp.net page that calls a dll that will start a long
I have an ASP.NET MVC Page with a button called Start Live Meeting. When
I have page which is redirected from htaccess. now I can pass the German
I have Page Tab App, which has a landing page with a Log In
I have the following 3 simple pages in a JSF app. index.html start.html confirmSuccess.thml
i have closed the Start Page in FB4 and now i can not find
I have a page with URL http://arslan/admin/category/index/0/name/asc/10 in Codeigniter. In this URL, the uri_segment
I've just upgraded to NetBeans 7.1 from 7.0. On opening a JSF managed bean
I want to have different start-page depending on if there is some settings stored

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.