|
http://www.webpasties.com/xmlHttpRequest/ This article got me started. Where he used PHP, I used Net.Data. Depending upon what you're returning, it sometimes makes more sense to return an HTML response instead of XML. But either way, it is really easy. Mike E. On 4/5/06, Wilt, Charles <CWilt@xxxxxxxxxxxx> wrote: > Bob, > > Ajax was an option I was considering, I know of it and have an idea of > what it can do, but I've never worked with it. > > Any recommendations on where to start? > > Thanks, > > Charles Wilt > -- > iSeries Systems Administrator / Developer > Mitsubishi Electric Automotive America > ph: 513-573-4343 > fax: 513-398-1121 > > > > -----Original Message----- > > From: web400-bounces@xxxxxxxxxxxx > > [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Bob Cozzi > > Sent: Wednesday, April 05, 2006 12:31 PM > > To: 'Web Enabling the AS400 / iSeries' > > Subject: Re: [WEB400] How do I create a web page that.... > > > > I'm teaching a class on AJAX and RPG at RPG World in May. You > > may find something > > you can use in that class, if you're attending > > In general, you send the first item and qty to the server/cgi > > rpg program and > > get XML back from it. Then, using JavaScript, you write to a > > <DIV> or <SPAN> to > > insert a new line of text--probably with the item, qty, > > description, and price. > > Then you position the cursor into the entry box. > > You can use the OnBlur() function or add an "Enter" button to > > the input form, > > which ever you prefer. > > I just finished some AJAX consulting with a software house > > that does hospital > > software for the AS/400 and we were able to create a "Google > > Suggests"-like > > interface by GUI-izing their old green screen apps with a web > > browser interface > > using AJAX, RPG IV and my CGILIB (in xTools). > > Ajax is just a collection of related technologies, not a > > product, so you can do > > the interface without CGILIB or CGIDEV2. > > > > -Bob Cozzi > > www.RPGWorld.com > > > > > > -----Original Message----- > > From: web400-bounces@xxxxxxxxxxxx > > [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf > > Of Wilt, Charles > > Sent: Wednesday, April 05, 2006 10:03 AM > > To: web400@xxxxxxxxxxxx > > Subject: [WEB400] How do I create a web page that.... > > > > I'd like to create a web page that allows a user to key in an item > > number and a quantity. When they hit submit, I'd like to clear the > > input boxes to allow the next item to entered and output the just > > entered item underneath the input boxes. > > > > In other words, the bottom of the web page will be a history of the > > items entered on the web page during the current session. > > > > The question is what's the easiest/best way to save and output the > > history? > > > > I can use CGIDEV2, Net.Data or Websphere but I'm new to all of it and > > not sure which environment to choose or how to accomplish > > outputting the > > history. > > > > I could of course save the history someplace in the database, but then > > I'd have to deal with figuring out when/how to delete the records and > > determining current session vs. new session. > > > > Thanks for the ideas, > > > > Charles Wilt
As an Amazon Associate we earn from qualifying purchases.
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.