This content has been marked as final.
Show 5 replies
-
1. Re: @End conversation and @Begin new one on same Action
pmuir Dec 4, 2006 6:01 PM (in response to ekusnitz)I think Gavin's normal response is that this is an anti-pattern.
But you can do @End(beforeRedirect=true) which might do what you want. -
2. Re: @End conversation and @Begin new one on same Action
gavin.king Dec 5, 2006 7:59 AM (in response to ekusnitz)Not so much an anti-pattern exactly, there are perfectly good reasons why a developer might want to do this - its just that I'm not aware of any way that this could be well-defined (ie. would not behave pathologically) given the other design constraints.
-
3. Re: @End conversation and @Begin new one on same Action
felderr Jan 6, 2008 9:29 AM (in response to ekusnitz)You are right I just ran into this problem! Do you have any workaround for this scenario? eg. deleting some attribute in the session?
-
4. Re: @End conversation and @Begin new one on same Action
felderr Jan 6, 2008 9:33 AM (in response to ekusnitz)btw. why don't you define an attribute newConversation="true" in the Begin Annotation?
-
5. Re: @End conversation and @Begin new one on same Action
pmuir Jan 6, 2008 4:40 PM (in response to ekusnitz)Gavin explained all there is to explain. Simply making it an annotation or an attribute doesn't change
its just that I'm not aware of any way that this could be well-defined (ie. would not behave pathologically) given the other design constraints.