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



Uh... is that like the VIEWSRC program that anyone can download and use from
www.rpgiv.com/downloads?
We've been using it for about a year and yes, when IE is used to view HTML
it displays the HTML rendered, but all you have to do is tell people to do a
VIEW | SOURCE for HTML--everything else works, RPG, CL, DDS, etc.
-Bob


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Brad Stone
Sent: Thursday, December 02, 2004 2:23 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Question on CGIDEV2

Trust me, I use Firefox (mozilla actually, same thing) for
development.  :) But when doing what I described, you need
to make sure it works for all browsers, especially IE,
which most use and will for some time to come.

I explained in my response to Mel why I am looking for how
to do this with CGIDEV2.  (not Javascript escape(), if
that's what you meant).

Sort of like a source viewer for files on the system.  If
you are listing files and click on them to view, I'd like
to call one CGI program that passes in the file name, the
app loads that file as the "template", and then displays
it...  if there is any Markup in it, it needs to be
converted to be displayed properly.

Brad

On Thu, 2 Dec 2004 14:17:44 -0600
 "Bob Cozzi" <cozzi@xxxxxxxxx> wrote:
> Brad,
> The best solution is to start using the FireFox browser.
> It handles this
> correctly.
> The only other solution is to escape() the entire body of
> the HTML.
> -Bob
> 
> 
> -----Original Message-----
> From: web400-bounces@xxxxxxxxxxxx
> [mailto:web400-bounces@xxxxxxxxxxxx] On
> Behalf Of Brad Stone
> Sent: Thursday, December 02, 2004 1:42 PM
> To: Web Enabling the AS400 / iSeries
> Subject: [WEB400] Question on CGIDEV2
> 
> Let's assume that you have a file that you want to load
> and
> display in it's entirety on the web page.
> 
> Let's assume this web page is HTML (or contains HTML),
> but
> you want it displayed as text, in other words, all
> containers, etc (like displaying the source of a web
> page).
> 
> Let's also assume this file is either a static HTML page
> or
> a template containing HTML.
> 
> How would I go about replacing the < with &lt; if that
> file
> was loaded as a template before writing the template to
> the
> web page?  
> 
> Now, changing the context type is not an option.
>  (besides,
> it doesn't work with IE anyhow... LOL!)  You have to
> change
> all occurances of < to &lt;, but you can't change the
> original document.
> 
> Just looking for a way to do this with CGIDEV2.
> _______________________________________________
> 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.
> 
> 
> 
> _______________________________________________
> 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.
> 

Bradley V. Stone
BVS.Tools
www.bvstools.com
_______________________________________________
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 ...

Follow-Ups:
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.