Looks like what is happening is the component tree is being attached to the
last frame rendered, instead of the frame that contains the component.

William,

Yeah, its submitting the correct viewId.  The frame set submits the viewId
and then when the ajax request is sent from the component inside the frame,
its got the same viewId.

Also, I verified the session id is correct (ie, the same).

For some reason I believe myfaces is not correctly storing the view when it
has been requested from inside a frame.  I don't know why.

Any other ideas?

Thanks,

Matt 

William Huang-2 wrote:
> 
> each frame will have there own component tree (their own viewId) in the
> server side..
> 
>                                                                            
>              Matt Tyson                                                    
>              <matthewcarltyson                                             
>              @gmail.com>                                                To 
>                                        [email protected]            
>              12/15/2006 03:09                                           cc 
>              PM                                                            
>                                                                    Subject 
>                                        Re: Saving State                    
>              Please respond to                                             
>                  "MyFaces                                                  
>                 Discussion"                                                
>              <[EMAIL PROTECTED]                                             
>                  ache.org>                                                 
>                                                                            
>                                                                            
> 
> 
> 
> 
> 
> Here is my theory.  When the request is submitted for the framed page, its
> from the framing page, with a different session ID.
> 
> 
> Matt Tyson wrote:
>>
>> I've got a component inside a frame.  The state is server side, and JSF
>> can't find it.  If I hit a command button inside that frame, it can
>> thereafter find the state.
>>
>> Leaving aside the question of why we are using frames, can anyone explain
>> this behavior?  During the initial request for the page, the frame
>> requests the viewId and I would therefore expect it to be saved.  This is
>> the same viewId that is submitted by the command button...
>>
>> Thanks.
>>
>> Matt
>>
> 
> --
> View this message in context:
> http://www.nabble.com/Saving-State-tf2828977.html#a7898365
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
> 
> 
> Disclaimer: This electronic mail and any attachments are confidential and
> may be privileged. If you are not the intended recipient, please notify
> the sender immediately by replying to this email, and destroy all copies
> of this email and any attachments. Thank you.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Saving-State-tf2828977.html#a7901241
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to