Something else must be going on there, because we're using client side state 
saving with no problems.

- Brendan

-----Original Message-----
From: Julián García [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 21, 2005 10:07 AM
To: MyFaces Discussion
Subject: Re: Action called twice


Forgot to mention, I have this problem when using save state on the 
client side. Changing the parameter to server side appears to solve the 
problem.

I would like to use client server state anyway. Any clues on the issue?



Julián García wrote:
> Not only actions, but all the methods get called twice, including init 
> methods.
> 
> What would be a reason for this to happen?
> 
> Please help, I'm stuck....
> 
> 
> Julian
> 
> Julián García wrote:
> 
>> Hi.
>>
>>  > How are you identifying this problem?
>>
>> The problem is easily identified doing a step-by-step remote debug on 
>> the application. Also, an action that inserts some data into my 
>> database tries to issue the insert query twice!.
>>
>> I also found that once it has inserted the data, if I refresh the 
>> page, then it tries to insert again!
>>
>>  >Are you using any javascript submit()
>>  > calls that might cause double submits?
>>
>> No. At least, not in all the pages presenting the problem. I use some 
>> submits to trigger valueChange events, but this is not the case here.
>>
>> Please help!. Has anyone experienced a similar problem?
>>
>> Julian
>>
>>
>>
>> David G. Friedman wrote:
>>
>>> Julian,
>>>
>>
>>> Regards,
>>> David
>>>
>>> -----Original Message-----
>>> From: Julián García [mailto:[EMAIL PROTECTED]
>>> Sent: Thursday, October 20, 2005 6:41 PM
>>> To: MyFaces Discussion
>>> Subject: Action called twice
>>>
>>>
>>> Although I have not discovered a pattern yet, some of my action methods
>>> are being called twice on invocation. Is this a known issue? I am
>>> strugling with this.....
>>>
>>> Julian
>>>
>>
> 

Reply via email to