![]() |
||||||||||||
Go ![]() | New ![]() | Search ![]() | Notify ![]() | Tools ![]() | Reply ![]() | ![]() |
Master |
Greetings all, MAINTAIN is running as a servlet now and I am trying to call it via a url on a web page. I need to be able to extract fields from the url string, and finding that impossible. I have tried both the old and new options presented in the manuals: Various URLs I have tried: http://aidsdb:8080/ibi_apps/WFServlet?IBIF_cmd=MNTCON%2...IBIC_server=MAINTAIN http://aidsdb:8080/ibi_apps/WFServlet?SITE_NUMBER=0009&...IBIC_server=EDASERVE Note that adding the -v into the string crashes. The Top case in the MAINTAIN file: Case Top Declare Posvar/i2 = sys_mgr.GET_inputparams_count(); type "posvar " | Posvar; SITER/A10 = IWC.GetAppCgiValue("SITENAME"); type "SITER = " | SITER; Infer site.SITE.SITE_NUMBER into SiteStk; Winform Show_and_exit Site_Record_Edit_Form; EndCase Neither Posvar or Siter end up with value (Posvar is zero). Much of the material for the urls is generated by WebFOCUS via the drill-down, though I have to change things a bit because I am running across two reporting servers. The MAINTAIN stuff is out of the books and from previous successes. Any help you can provide . . . ![]() | ||
|
Virtuoso |
You are using: ...WFServlet?IBIF_cmd=MNTCON%20EX%20Site_Record_Editor&IBIS_passthru=on&IBIS_connect=on&IBIAPP_app=aidsmaintenance&SITE_NUMBER=0009&IBIC_server=MAINTAIN with SITE_NUMBER as a parameter but using: SITER/A10 = IWC.GetAppCgiValue("SITENAME"); Use SITE_NUMBER in the GetAppCgiValue. Should work every time. Alan. WF 7.705/8.007 | |||
|
Master |
Doh! I owe you a beer! ![]() | |||
|
Powered by Social Strata |
![]() | Please Wait. Your request is being processed... |
|