FAQ

On 2/27/07, Volker Weber wrote:
2007/2/27, Craig McClanahan <craigmcc@apache.org>:
On 2/27/07, Volker Weber wrote:

The places where the rendered flag is referenced are actually:

* In Apply Request Values ... decoding of request parameters
will not occur if rendered (or visible) is set to false.
also in processValidations and processUpdates, both are skiped if
rendred is set to false.
* In Render Response ... rendering will be completely skipped
if rendered is set to false.

In between these times, the rendered property is most likely not being
referenced, so changes are safe.
I don't think you get the expected results if you change on other
places than between after updateModel and before renderResponse.
In case of validation/conversion errors all of them exept before
renderResponse are skipped.
Good catch ... I forgot to check the processXxxx methods for those phases.

So, the advice that before render response seems like the point to
change the value stands.
Regards,
Volker
Craig

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 11 of 18 | next ›
Discussion Overview
groupusers @
categoriesmyfaces
postedFeb 27, '07 at 10:28a
activeJun 27, '07 at 4:30p
posts18
users5
websitemyfaces.apache.org

People

Translate

site design / logo © 2017 Grokbase