× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



1. I was operating under the assumption that a single server call would
be faster.
2. Jon Sayles was quite helpful and I have a large (> 900 slide)
presentation that he sent me, but in this case I am wanting to refresh
the current page (something similar to
http://www.ibmsystemsmag.com/i5/december07/developer/18780p1.aspx ).


message: 8
date: Mon, 18 Feb 2008 11:04:37 -0600
from: Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx>
subject: Re: [WDSCI-L] EGL table questions

1. I don't pass data structures arrays from EGL to RPG, I simply pass a
single data structure (a record). The RPG program returns data to me
one record at a time until no more needs to be returned. After each
call I perform an appendElement to add the record to the array. So you
can either filter the data in the RPG program and only return valid
records, or you can use extra logic in your EGL to add only those
records you deem significant.

2. It depends what you mean by "event". Do you want to go to another
page (traditional JSP Model 2 style, which includes redisplaying the
current page in its entirety) or do you simply want to refresh a portion

of the current page (Ajax style)? Both are possible with EGL, although
the latter requires a little more detail work (you have to define the
individual areas that can be updated, then define events that trigger
those updates).

The first one in particular is already available in the basic tutorial
from the Jon Sayles web site. Me, I usually just create a hyperlink to
the next page using the data in the row as a parameter.

Joe


------------------------------

message: 9
date: Mon, 18 Feb 2008 12:19:54 -0500
from: "tim" <tim2006@xxxxxxxxxxx>
subject: Re: [WDSCI-L] EGL table questions

Joe,

For point 1, you are suggesting calling an RPG program say 20 times to
get
20 records. Is that faster then passing a data structure of say 20
records?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.