Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Accessing Query Parameters from the URL in 3.0  (Read 3947 times)
Lu?s T.
Posts: 29

« on: December 04, 2017, 03:19:31 pm »


In Genero 2.4/2.5 you can instruct the httpdispatcher to pass the full URL as a parameter when calling the application.

You do so putting the following in XCF file:
  1. <APPLICATION Parent="defaultgwc">
  2.    <EXECUTION AllowUrlParameters="TRUE">
  3.        <PATH> [color=blue]The path where the shell script is[/color] </PATH>
  4.        <DVM>/usr/local/bin/bash</DVM>
  5.        <MODULE> [color=blue]The name of the shell script[/color] </MODULE>
  6.        <PARAMETERS>
  7.            <PARAMETER> [color=red]$(application.start.uri)[/color] </PARAMETER>
  8.        </PARAMETERS>
  9.    </EXECUTION>

Now, in 3.0, if you use the GWC that does not work.

Can anyone tell me how to do it in Genero 3.0 for the GWC?

PS: In 3.1 is already possible but I can't yet update to 3.1
Sisavanh S.
Four Js
Posts: 67

« Reply #1 on: December 06, 2017, 05:27:38 pm »


I've tested on GAS 3.00.31.
It works for me.
May I ask you to open a support case at your local support center ?

Thanks in advance.
Best regards,
Lu?s T.
Posts: 29

« Reply #2 on: December 07, 2017, 09:19:16 am »

Thanks Sisa,

In here it works with HTML5, but not with GWC. So it works if I call the app with /wa/r/APP but not if I call it with /ua/r/APP.

Does it work with you for /us/r/APP?

Pages: [1]
  Reply  |  Print  
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines