You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by brazz <al...@man.eu> on 2013/11/13 13:36:16 UTC

weld conversation propagation page

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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: weld conversation propagation page

Posted by Igor Vaynberg <ig...@gmail.com>.
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 <al...@man.eu> 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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>

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