Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with attribute rendered

 
Andrey Ka
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.
I use jsf 2.0, it's implementation mojarra 2.0.3.
I have problem with attribute "rendered". I use it to control visibility of buttons. Visibility works correctly. But when this attribute is set, method doCancelEditBuilding does not called. Instead of redirecting to building_list.xtml page, current page refreshes but some fields of it's bean reset. If I remtove attribute rendered - buttons works correctly.

BuildingBean.java:


building_details.xhtml:

Can yoy help me with my problem?

P.S. Sorry for my english...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic