On Wed, Mar 26, 2008 at 11:40 AM, Vitaly Tsaplin
<[EMAIL PROTECTED]> wrote:
>    Hi gays,

i guess even a spellchecker wouldnt be of much help here... :)

>    What is the best way to reset (or clear or set) a model value every
>  time when page rendered?
>  I am trying to do it in onBeforeRender () but it seems to not work.

the best way is to store this value in a property and use a property
model to poll it, that way all you need to do is to change the
property value in onbeforerender

other then that a simple setmodelobject(newvalue) should work also.

-igor

>
>    Vitaly
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to