Folks,
this thread is missing some structure.
Amir, you don't mention a JDeveloper release, but from your
"condition="#{!adfFacesContext.postback}" mentioning I point it to
10.1.3, which makes Steve's effort in answering your question a waste
of time, which should not happen on this group. To address your
question, can you identify the phases in which the method is invoked ?
If for example the method is invoked twice in a single phase then a
flag helps to prevent double execution. If it is executed in two
different phases then you may look at the setting of the refresh
option. If you have this set to ifNeeded then execution happens twice.
Set it to prepareRender or prepareModel and this should help already.
Frank
On Jul 2, 11:02 am, Steve Muench <
steve.mue...@gmail.com> wrote:
> We strongly recommend using a methodCall activity in a task flow to perform
> any kind of "at page startup" logic in JDev/ADF 11g. It works reliably for
> page- as well as page-fragment-based use cases, including when "lazy"
> content delivery is used (which causes an additional page lifecycle (i.e.
> http roundtrip) to the server to lazily fetch data for the table/tree/graph.
> We no longer recommend using the invokeAction executable for this purpose
> due to their not existing any viable EL expression to use to detect the
> "first time render" that works in all possible scenarios.
>
> On Thu, Jul 2, 2009 at 1:53 AM, Marcos Ortega <
mar...@santoandrea.com.br>wrote:
>
> > Some times, we don't know if the event was executed (user change some
> > UI component), for example , if the onChangeEvent Handler is at one backing
> > bean , and the onPageLoad is on another manage Bean;
>
> > Marcos Ortega
> > Analista de Sistemas
> > Campo Grande - MS
> >
http://www.santoandrea.com.br
>
> > 2009/7/1 Vik <
vik....@gmail.com>