-
1. Re: Wicket AjaxButton
cpopetz Apr 14, 2009 12:08 PM (in response to cruzfernandez)It conceivably is, but all of that code is now gone, because there is a different mechanism in the trunk for handling conversation propagation. Instead of propagating via url rewriting, we propagate by storing the conversation id in the wicket page metadata.
This will be part of the upcoming 2.1.2.GA release.
-
2. Re: Wicket AjaxButton
cruzfernandez Jun 25, 2009 1:34 AM (in response to cruzfernandez)I have downloaded the new version 2.1.2.GA and I still have some problems in the event onClick of the Wicket AjaxButton.
The conversation is propagated correctly but a List of Entites is not activated (I see it with NULL elements). I have debugged more and realized that the
EntityBeanList
is in passivated state when the onClick handler code accessed the list.I have debugged the LifeCycle and I realized the
PREPARE_REQUEST
step is calling the global UNFLUSH in a temporary conversation context. Afterwards in stepRESOLVE_TARGET
the conversation is restored to the long-running but the UNFLUSH is never called.I have solved for my onClick event adding this ugly code of SEAM:
@Override public void onClick(AjaxRequestTarget target{ ServerConversationContext context = (ServerConversationContext) Contexts.getConversationContext(); context.unflush(); }
Is this a problem of Wicket-Seam integration for AjaxButton?
-
3. Re: Wicket AjaxButton
mcarrizo Jun 26, 2009 8:34 PM (in response to cruzfernandez)I have the same problem.... is there a possibility to fix it ? Thank you very much !!
Best regards.
-
4. Re: Wicket AjaxButton
cpopetz Jun 27, 2009 6:25 PM (in response to cruzfernandez)It's actually a problem in conversation propagation for seam-wicket. Please file a jira issue, and I'll fix it.