This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JSF and the fly likes Problem with attribute rendered Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Problem with attribute rendered" Watch "Problem with attribute rendered" New topic
Author

Problem with attribute rendered

Andrey Ka
Greenhorn

Joined: Jun 05, 2010
Posts: 1
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...
 
wood burning stoves
 
subject: Problem with attribute rendered