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



If you're talking about templates, I'd store them in the IFS instead of PFs.
But, with CGIDEV2 there isn't a way I know of to set a "default" directory
for an environment.

So, what I would probably do is create your own. Create a data area or file
that stores the main path to the templates. then in each CGI program
retrieve it (great use for ILE here). Take it onto the subprocedure to load
it and you're all set.

You'll want two environments anyhow, so test points to the test directory,
then prod points to prod. This means a file holding the default location in
each CGIDEV2 library/development environment.

Please note our change of address! Our new address is as follows:

201 Mapleridge Drive
Mankato, MN 56001

Bradley V. Stone
BVSTools - www.bvstools.com
eRPG SDK - www.erpgsdk.com

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]On
Behalf Of Bob P. Roche
Sent: Wednesday, October 31, 2007 3:01 PM
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] HTML storage


We are just starting to create CGI programs at my company. One problem I
am trying to get past is, how to determine where the HTML source is for
the GETHTML call. When developing I can hard code my development library
until I think the program is ready. Then the programs object will get
moved to test and later to production. In the past, source only went into
the "implement" library to be archived when the project was complete. How
are other people handling the GETHTML call when the source may get moved
around from testing to production?
--
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.