|
If you have a "current" version of client access installed you can double click on a url in the 5250 screen and it will open that url. I believe it looks for HTTP:// to indicate that something is a url. That would at least save you the strpccpmd stuff today. As for controlling the open from webfacing, since you'd then be looking at the screen from within a web browser you'd need to include the anchor tags to make the url clickable. I'm not sure if you can use webfacing to "rewrite" the screen enough that you can make the link clickable, I'd guess you can. Say you have a field that contains http://www.iseriesnation.com you'd need to show that field on the screen as: <A HREF='http://www.iseriesnation.com' target='_top'>http://www.iseriesnation.com</A> On the webfaced screen to make the link clickable. The "Target" keyword forces the window to open in a new browser page. -Walden ------------ Walden H Leverich III President Tech Software (516)627-3800 x11 WaldenL@TechSoftInc.com http://www.TechSoftInc.com -----Original Message----- From: dcolford@pathix.com [mailto:dcolford@pathix.com] Sent: Friday, December 07, 2001 08:58 To: web400@midrange.com Subject: [WEB400] URL Viewing/Printing from native AS/400 code Hi We are starting to add URL link indexes/tables to our data base design and right now we are using the STRPCO and STRPCCMD (eg. STRPCCMD 'HTTP://www.cnn.com') combo to fire off the URL from a PC connected with client access. There are a couple of problems with using this 1. STRPCO will go 'bye bye' soon 2. When we webface the command will not be able to fire from a browser 3. Right now the STRPCCMD 'HTTP://.... ' launch uses what ever window is open As you can guess I am looking for a new method to do this. It should be able to 1. Open a new browser window for URL viewing... And optionally I would like to have multiple view windows going (if the user wants to see multiple URL's at once) 2. Be able to be invoked from a browser and independent of client access 3. Ideally - and I do mean Ideally - Have a URL browser print function instead of a browser view function fire up. This will allow them to print multiple selected documents at once Anyone have an API or two or some AS/400 run Java code that does this ?? Thank you all _______________________________________________ This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/web400 or email: WEB400-request@midrange.com 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 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.