Go to Google Groups Home    ADF Enterprise Methodology Group
Re: [ADF Enterprise Methodology Group] pattern for run a method on start of the page only 1 time

Vik <vik....@gmail.com>

hie
why dont you make ur method side effect free second time..

Thankx and Regards

Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com

On Wed, Jul 1, 2009 at 4:58 AM, akhanof <amir.kha...@gmail.com> wrote:

> Hi,

> Regarding to invoke a method in the page start up and only one time I
> am looking for the best pattern to use;
> because using the (refresh condition= not post back) is some times
> invoked more than one time making it inappropriate when we absolutely
> need to run the method only 1 time .
> is there any other option or pattern except setting the refresh
> condition="#{!adfFacesContext.postback}" for execution of the method
> on the invokeaction for method on the page bindings.

> Thanks and regards,
> Amir