Re: weld conversation propagation page

2013-11-13 Thread Igor Vaynberg
this is the desired behavior. see conversation propagation settings.
by default conversations are only propagated to non-bookmarkable
pages.

-igor

On Wed, Nov 13, 2013 at 4:36 AM, brazz  wrote:
> Hi,
>
> after spending a hard time debugging i found this problem:
>
> i have to pages:
> FirstPage.class
> SecondPage.class
>
> on FirstPage.class i create a new conversation with "conversation.begin();"
> and on FirstPage.class i have a link:
>
> *setResponsePage(SecondPage.class);*
>
> this link results in a new transient Conversation on SecondPage.class
>
> if i create a new instance in setResponsePage():
> *setResponsePage(new SecondPage());*
>
> the conversation is propagated correctly ot SecondPage.class.
>
> As i am new to cdi and weld i cannot really estimate if this is a bug or
> desired behavior:
>
> Thanks for any explanations.
>
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/weld-conversation-propagation-page-tp4662389.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



weld conversation propagation page

2013-11-13 Thread brazz
Hi,

after spending a hard time debugging i found this problem:

i have to pages:
FirstPage.class
SecondPage.class

on FirstPage.class i create a new conversation with "conversation.begin();"
and on FirstPage.class i have a link:

*setResponsePage(SecondPage.class);*

this link results in a new transient Conversation on SecondPage.class

if i create a new instance in setResponsePage():
*setResponsePage(new SecondPage());*

the conversation is propagated correctly ot SecondPage.class.

As i am new to cdi and weld i cannot really estimate if this is a bug or
desired behavior:

Thanks for any explanations.




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/weld-conversation-propagation-page-tp4662389.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org