• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF rendered attribute  RSS feed

 
Yasir Bajwa
Greenhorn
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="#{myBean.property}"
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!