| 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.
|
|
|
|
|
| Re: Screen Navigation Using EDT Eclipse [message #897174 is a reply to message #813295] |
Sun, 22 July 2012 19:45  |
Ben Foster Messages: 4 Registered: April 2013 |
Junior Member |
|
|
Joe, I took your reference to architecture as my inspiration to take a stab at piecing together the elements of this topic of page navigation and passing data between web pages to formalize your ideas.
I appreciate you presenting the page navigation scheme and I have incorporated it into the architecture.
As one of the developers with Java and JSF development experience (as well as 30 some years of RPG) we are attempting to usher in the EGL language. Having a uniform method of page navigation and parameter passing from the very start will be an immense help.
Thanks, Joe (and others).
I have put together a web page for our group that presents the pieces required to support the architecture. Since I don't have the required number of messages to present the URL, I can only say that it may be viewed at iseries.egl.wordpress.com. The link is presented on the page presented under the topic of Standard Look and Feel.
|
|
|
Powered by
FUDForum. Page generated in 0.14467 seconds