Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF rendered attribute

Yasir Bajwa
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jsp page with an hutputText similar to this:

<hutputText rendered="#{}"
value="A text value" />

It works fine when the page is displayed. It is possible to submit another form from within this page. When a form is submitted from with the page, the rendered attribute is evaluated again. I don't understand why this would be necesseary for outputText element. I was assuming also that when a form is submitted the jsf framework would only try to update the component values that were referenced in the form.

Can someone clarify how this is supposed to work? Thanks
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic