|
Nope. Ok, people are kinda missing my point here. I am putting together docs on my eRPG SDK and CGIDEV2 and how certain things are done. My "replace" subprocedure doesn't look for specifically tagged data like CGIDEV2, so I do: #replaceData('/%field%/':data) CGIDEV2 does: #updHTMLVar('field':data) So, with what I want to do, with eRPGSDK I can do: #loadTemplate('anyfile.ext') #replaceData('<':'<') #writeSection and I'm done. What I'm doing is showing _why_ in the eRPG SDK I chose to not use delimited tags for replacement fields. But, I want to show how to do the same thing as shown above with CGIDEV2... so I was hoping someone who's used it more than me could share a trick. :) Brad www.bvstools.com On Thu, 2 Dec 2004 16:39:11 -0600 "joe" <as400@xxxxxxx> wrote: > is defining the file as *.txt an option? > If I click on a url link pointing to a *.txt file the > browser should > display it as is within the browser. > > joem > > ----- Original Message ----- > From: "Brad Stone" <brad@xxxxxxxxxxxx> > To: "Web Enabling the AS400 / iSeries" > <web400@xxxxxxxxxxxx> > Sent: Thursday, December 02, 2004 1:42 PM > 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 < 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 <, 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
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.