Message from discussion
pattern for run a method on start of the page only 1 time
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Received: by 10.100.144.11 with SMTP id r11mr1661407and.19.1246449484535; Wed,
01 Jul 2009 04:58:04 -0700 (PDT)
Date: Wed, 1 Jul 2009 04:58:04 -0700 (PDT)
X-IP: 77.104.75.65
User-Agent: G2/1.0
X-HTTP-Via: 1.1 MAPISATEMP
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11)
Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Message-ID: <e667d772-5196-43fe-98bb-c25e3889671b@j32g2000yqh.googlegroups.com>
Subject: pattern for run a method on start of the page only 1 time
From: akhanof <amir.kha...@gmail.com>
To: ADF Enterprise Methodology Group <adf-methodology@googlegroups.com>
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