-
1. Re: how to end conversation before redirect with weld?
asookazian Nov 13, 2009 5:51 PM (in response to wangliyu)you're asking for Seam equivalent of @End(beforeRedirect=true?
-
2. Re: how to end conversation before redirect with weld?
asookazian Nov 13, 2009 6:15 PM (in response to wangliyu)I don't see keyword 'redirect' in org.jboss.weld.conversation.ConversationImpl.
compare to this Conversation API from Seam: http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.3/doc/seam/api/org/jboss/seam/core/Conversation.html
-
3. Re: how to end conversation before redirect with weld?
wangliyu Nov 13, 2009 6:39 PM (in response to wangliyu)That is exactly what I want to know. it seems weld doesn't have @end(beforeRedirect=true) option. -
4. Re: how to end conversation before redirect with weld?
wangliyu Nov 13, 2009 6:47 PM (in response to wangliyu)it seems that I have to explict to call conversation.end() in the method to demote it before redirect. weld doesn't have the @end annotation.
-
5. Re: how to end conversation before redirect with weld?
nickarls Nov 13, 2009 9:11 PM (in response to wangliyu)Weld doesn't have any annotations, it's up to frameworks to do cosmetical stuff like that on top of Weld.
-
6. Re: how to end conversation before redirect with weld?
asookazian Nov 14, 2009 12:47 AM (in response to wangliyu)There are plenty of annotations in Weld. Weld does not have conversation-related annotations like @Begin or @End.
But it seems something as basic as that should have been in the spec...
-
7. Re: how to end conversation before redirect with weld?
gavin.king Nov 14, 2009 5:14 AM (in response to wangliyu)Inject Conversation and call begin() and end().
-
8. Re: how to end conversation before redirect with weld?
nickarls Nov 14, 2009 10:30 AM (in response to wangliyu)Actually, there's plenty of annotations in CDI. Weld currently only has a few qualifiers for conversation parameter overrides ;-)