× 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.



There is another method you could use.  That is to bring in the XML, using 
AJAX, and put it into a 'Data Island'.  Then XSL is used to parse the XML in 
the web page.
 

________________________________

From: web400-bounces@xxxxxxxxxxxx on behalf of Brad Stone
Sent: Fri 9/22/2006 11:48 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] AJAX...



On Fri, 22 Sep 2006 10:43:37 -0400
 "Bob Cozzi" <cozzi@xxxxxxxxx> wrote:
So, do you return XML and then convert that to HTML? 
Seems like extra work to me.  :)

Nope never.
I insert <div> or <span> tags and just set the innerHTML
of the tag to the new
data--the HTML is created in FrontPage or whatever using
WYSIWYG editing, which
is always easier than trying to compose HTML in RPG IV.

-BOB

Ok, now I'm confused.

Let's say you have a webpage using AJAX.  There is a button
that you click that says "display order history".

When it's clicked, an AJAX CGI app is run and fills the div
or span with the order history list.

The data returned from the CGI app is HTML or XML?  Because
it's created dynamically, FrontPage really wouldn't play a
part.  IF it's XML, it would have to be converted to HTML.


I don't think we are on the same page.  :)  But maybe...
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.