On 2/27/07, Volker Weber <[EMAIL PROTECTED]> wrote:
2007/2/27, Craig McClanahan <[EMAIL PROTECTED]>:
> On 2/27/07, Volker Weber <[EMAIL PROTECTED]> 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

Reply via email to