Thank you, Simon for fixing the bug ORCHESTRA-13, but this takes me to my next 
problem:

I explain a situation that is not the normal case, but it can happen:

First, a user should not try to edit more than one product in the same 
conversationContext, because a conversationContext can only include one 
conversation of the same type. Right?

myfaces-orchestra-examples-project - PetStore:
If a user open a new browser tab or window e.g. by clicking "open link in new 
tab" he gets two windows with the same conversationContext, then
1. Tab1: press edit "product A"
2. Tab2: press edit "product B"
3. Tab1: save "product A"

Finally the object "product B" gets all the attributes of object "product A". 
Bad!
What options are there to prevent this?

I have two solutions: 

1. Using the separateConversationContext Tag
2. Using a pageFlowScope to store the objects

What do you think?
 
Regards,

Jonas


-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Matthias 
Wessendorf
Gesendet: Donnerstag, 6. Dezember 2007 08:38
An: MyFaces Discussion
Betreff: Re: [orchestra] FacesGoodies and myfaces-orchestra-examples-project

http://code.google.com/p/facesgoodies

(do a SVN check-out)

On Dec 6, 2007 8:22 AM, simon <[EMAIL PROTECTED]> wrote:
>
> On Tue, 2007-12-04 at 20:30 +0100, Matthias Wessendorf wrote:
> > > Test case I: FacesGoodies
>
> Where can I find the "FacesGoodies" code?
>
> > >
> > > Test case II: myfaces-orchestra-examples-project - petstore
> > >
> > >
> > >
> > > 1. Enable administrator mode
> > >
> > > 2. Create Customer Group
> > >
> > > 3. Create Product
> > >
> > > 4. Go to Edit or Detail Page
> > >
> > >
> > >
> > > The result is a detail page without product set, because the url is wrong:
> > >
> > >
> > >
> > > ../mops/ProductDetail.faces?productId=&conversationContext=12
>
> Thanks for reporting this Jonas. I've confirmed it, and created a JIRA
> issue for it.
>
> Regards,
>
> Simon
>
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org


Reply via email to