Well put it this way, if you load the page (with the button) from
http://example1.com/somewhere then you cannot have a button that interacts with
http://myiseries.com/somewhereelse and then continues to work with
http://example1.com/somewhere after the button click action is finished. That is the illegal cross-domain request we talked about earlier. You can only do that if your button click is going to navigate away to
http://myiseries.com/somewhereelse completely (i.e. waving goodbye to
http://example1.com/somewhere ) The only way I know of to circumvent this is to use web sockets to initiate the request. Without that, the domain that delivers the list of data and the button(s) must be the same domain as the one that processes the button request.
Clear as mud I guess...
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Darryl Freinkel
Sent: 10 July 2014 20:44
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Is it possible to send a call to the CGI program without
Let me try and clarify this a little more.
Firstly thanks for the comments.
We use a reporting tool on the AS/400 that displays data only. In this instance, there is a list of programs that need permission to be promoted into production. The manager will display the list on her screen, iPad or cell phone and if she approves it, she will select an approve button, which should then call something like a web service to process the approval. The button will do a "call" to a CGI program to update the new status. It would at that point return a confirmation screen from CGIDEV.
Darryl Freinkel
Assignment 400 Group, Inc.
Tel: 770.321.8562 ext 111 | Fax 770.321.8562 | 2247 La Salle Dr, Marietta GA, 30062, USA | PO Box 72556, Marietta, GA 30007-2556
--
This is the Web Enabling the IBM i (AS/400 and 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.
NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.
--------------------------------------------------------------------------------
CoralTree Systems Limited
Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton
Hampshire
SO15 2EA
VAT Registration Number 834 1020 74.
As an Amazon Associate we earn from qualifying purchases.