This content has been marked as final.
Show 3 replies
-
1. Re: Passing parameters to a page
brunoskrebs.bruno.krebseng.com.br Jul 13, 2010 10:55 PM (in response to meet_nagi)A Conversation Context is not useful in your case?
-
2. Re: Passing parameters to a page
meet_nagi Jul 14, 2010 2:55 PM (in response to meet_nagi)Right now I am using the conversation context only but trying to find out whether any other means is available. When I have used the conversation context on page refresh the object in conversation context is becoming null / unavailable.
-
3. Re: Passing parameters to a page
serkan.s.eskici.online.nl Jul 15, 2010 6:09 PM (in response to meet_nagi)In your first bean class, say class A, you place an Event by passing the object in it; and in your class B you listen on this event and retrieve the object.
public class A { public void sendObject(Object toSend) { Events.instance().raiseEvent("object-sent", toSend); } } public class B { @Observer("object-sent") public void onSend(Object receivedObject) { // do stuff with receivedObject } }