| Screen Navigation Using EDT Eclipse [message #808238] |
Mon, 27 February 2012 10:13  |
yuvaraj g Messages: 17 Registered: February 2012 |
Junior Member |
|
|
Hi,
Please find attached the document detailing the issue encountered while navigating screens. Please share your ideas/comments in fixing the same.Thanks in advance.
Regards,
Yuvaraj
|
|
|
|
|
|
|
|
|
|
| Re: Screen Navigation Using EDT Eclipse [message #809973 is a reply to message #809947] |
Wed, 29 February 2012 09:15   |
Joe Pluta Messages: 27 Registered: July 2009 |
Junior Member |
|
|
yuvaraj g wrote on Wed, 29 February 2012 08:35Hi ,
We are still not clear with the parameter passing between the handlers. we tried with H1 and H2 source code which jinfahua referred.
Thanks
Okay, parameter passing is a different topic. So, you want one page to pass a value to another page. The first question is whether this value is persistent or transient. That is, do you want the value to last as you switch from one page to another. If that's what you want, then you need to use a persistent variable which you typically store in the page somewhere. I usually create a library called SessionLib with functions to get and store values.
If not, if you just want to pass the value and forget about it, then you can use either pass it to the second page when you create it (see @EGLProperty) or you could pass it in after the fact by sending an Infobus message.
[Updated on: Wed, 29 February 2012 09:17] Report message to a moderator
|
|
|
|
|
| Re: Screen Navigation Using EDT Eclipse [message #812843 is a reply to message #810004] |
Sun, 04 March 2012 06:49   |
yuvaraj g Messages: 17 Registered: February 2012 |
Junior Member |
|
|
Thank you Joe. now we learnt how to pass parameters between widgets and handlers using Infobus/embedding handler/delegates.
the next challenge what we are facing is , how to pass the same parameters and load the widgets for the consecutive screens. Say for example we have around 6/7 screens. like one parent screen(which is login screen in our case) and multiple immediate child screens and in turn this child screens has many grandchildrens. I need to pass the parameter from parent screen to many child screens and from child screens needs to pass parameters to their grandchilds.
Our observations is, if we use InfoBus, it can able to pass parameters to one level.
for example, we have init screen handler which is a splash screen and three child screen widgets(page1,page2,page3). Infobus passes values from page1 to init or page2 to init or page3 to init. But what we are trying is, to pass parameters from page1 to page2 and from page2 to page3, since our requirement is like navigating(as well as we need to pass parameters)from page1 to page2 ,from page2 to page3 and from page3 to page4.... like that it goes on.
Can you please help us to proceed.
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01976 seconds