File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with attribute rendered
 
Similar Threads
Bean request Scope won't Call method
Accessing controls?
Coding binding attibute for my custom Component
Images don't show up with first click
MyFaces t:input displayValueOnly attribute