Dynamic web publishing (None Specified)
At 01 JUN 1998 11:43:57AM Ken Sewell wrote:
I have working my way through Chapter 17 : Internet Publishing with some frustration.
1) Page 638 describes a procedure for submitting an oicgi request and obtaining and html document in exchange. I have found that it does not work unless the "&DOC_TYPE=DOC*HTML" in the example is changed to "&DOC_TYPE=DOC*HTML*HRM"
2) Page 643 refers to a procedure for obtaining a dynamic report. If you submit the form in the example the INET_GATEWAY adds extra arguments such as the Button_1 id and Form_Id and the request fails. If you physically type in in the Browser command line after INET_RLIST an additional ?REPORT_ID=xxxxxx where xxxxxx is the name of the report registered, it works.
I am using 3.61 to process the requests running on an NT4 workstation using a Domino server.
At 02 JUN 1998 08:12AM Ken Sewell wrote:
On writing a custom internet stored procedure I find that if I use a submit button from a form it doesn't work, but if I type exactly the same message received in the INET_GATEWAY in the browser line it does:
e.g INET_ACCOUNTINFO?ACCOUNT=010460&FORM_ID=HRM&BUTTON_1=Submit
Do you have any idea why?
At 02 JUN 1998 09:18AM Gene Gleyzer wrote:
Ken,
1) Page 638 describes the correspondance between parameters of the SUBMIT event and HTML tags that are generated. You may have noticed that the script at the bottom of the page doesn't have the tag. I replaced the second static control with the push button (I named it CB_CLICK with label "Click here…"), saved the form under name TEST used HTML Publisher. The generated HTML looked like:
HR Application
HR Application
Then I started this form with the URL:
/cgi-bin/oicgi/INET_REPOS?DOC_ID=TEST&DOC_TYPE=DOC*HTML that worked just fine, as well as the form itself. 2) I repeated the steps on pages 640 - 643 and everything worked. Make sure you do name your list box as REPORT_ID (see page 640). The FORM_ID argument generation had been added in OI 3.5. The NAME attribute (BUTTON_1) for INPUT TYPE=submit" is required by HTML but is not used in our case. Hope this helps, Gene </QUOTE> —- === At 02 JUN 1998 10:56AM Ken Sewell wrote: === <QUOTE>Gene, Thanks for your message. I tried it with following results. HTM page looks exactly like yours (except I suspect DOC_ID Value should be "TEST" not "HTM". Command line from Browser works fine. Press Click here button fails. I logged the Oengine messages as follows: Start OpenEngine log - 6/2/1998 15:44:39 ** Begin processing time: 6/2/1998 15:45:08 RUN RUN_INET_REQUEST "DOC_ID=TEST </QUOTE> —- === At 02 JUN 1998 12:12PM Ken Sewell wrote: === <QUOTE>If you manually edit the HTM file and change the "post" to "get" it works from the submit button. Also custom Inet routines now work. Is this something peculiar to my setup or is this a general bug? Rgds to all </QUOTE> —- === At 02 JUN 1998 04:00PM Gene Gleyzer wrote: === <QUOTE>Ken, it does look quite strange. I suspect the client side (you use IE 3.03 on Window 3.1). Could you try to specify the "finalization" procedure (see INET_EQUATES, value CFG_FN_FINALIZE$), stop in the debugger and see what HTML script is coming back (it should be identical to the first successful request, because the DOC_ID is the same). Gene </QUOTE> —- === At 02 JUN 1998 04:30PM Gene Gleyzer wrote: === <QUOTE>Ken, this is clearly not a general bug, because exactly the same scenario works just fine for me (IE 4.0 on Win95) gene </QUOTE> View this thread on the Works forum...