Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Hiding URL parameters without GET or POST

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Hiding URL parameters without GET or POST
 Login/Join
 
Member
posted
To all..
I build my own location.href from inside of a FOCEXEC. This allows me to navigate through a GDG library stored on a mainframe and WebFOCUS acts as a viewer to the GDG file.

However, this technique shows the entire URL with all the parameters exposed. Is there a technique to hide the parameters like a ACTION=POST would do if this FOCEXEC was being called from a form.

My Javascript function that calls webfocus is shown below.

function vinbrowse(n)
{
var curindx = "!IBI.AMP.GDG;";
if (n=="P"){ curindx = --curindx };
if (n=="N"){ curindx = ++curindx };
var pth = "ibiweb.exe";
var app = "?IBIAPP_app=";
var srvr = "!IBI.AMP.AMP;"+"IBIC_server=";
var srvrid = "WFOMHXTL";
var prog = "!IBI.AMP.AMP;"+"IBIF_ex=";
var exec = "ADIX0091";
var utyp="!IBI.AMP.AMP;"+"USER_TYPE="+"!IBI.AMP.USER_TYPE;";
var atyp="!IBI.AMP.AMP;"+"ACCS_TYPE="+"!IBI.AMP.ACCS_TYPE;";
var scac="!IBI.AMP.AMP;"+"SCAC_LIST="+"!IBI.AMP.SCAC_LIST;";
var gdg="!IBI.AMP.AMP;"+"GDG="+curindx;
var loa="!IBI.AMP.AMP;"+"LOA="+"!IBI.AMP.LOA;";
var rtyp="!IBI.AMP.AMP;"+"RTYP="+"!IBI.AMP.RTYP;";
var ttle="!IBI.AMP.AMP;"+"TITLE=Vin Grounding Report Viewer";
location.href=path+app+"ADI"+srvr+srvrid+prog+exec+scac+gdg+rtyp+loa+utyp+atyp+ttle;
}

RichD
 
Posts: 19 | Location: Omaha, NE | Registered: July 23, 2003Report This Post
<Grzegorz>
posted
Use the html form with hidden parameters, and submit the form within the javascript function.

An example:
<html><br /><head><br /><script type="text/javascript"><br />function runForm(form) {<br /> form.action="ibi_apps/WFServlet";<br /> form.IBIF_ex.value = 'carinst';<br /> form.submit();<br />}<br /></script>	<br /></head><br /><body><br /><form method="post"><br /><input type="hidden" name="IBIF_ex"/><br /><input type="button" name="run" onclick="runForm(this.form)"/><br /></form><br /></body><br /></html>
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Hiding URL parameters without GET or POST

Copyright © 1996-2020 Information Builders