Accessing Query Parameters from the URL in 3.0

Started by Luís T., December 04, 2017, 03:19:31 PM

Previous topic - Next topic

Luís T.

Hi,

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:
Code (xml) Select

<APPLICATION Parent="defaultgwc">
    <EXECUTION AllowUrlParameters="TRUE">
        <PATH> [color=blue]The path where the shell script is[/color] </PATH>
        <DVM>/usr/local/bin/bash</DVM>
        <MODULE> [color=blue]The name of the shell script[/color] </MODULE>
        <PARAMETERS>
            <PARAMETER> [color=red]$(application.start.uri)[/color] </PARAMETER>
        </PARAMETERS>
    </EXECUTION>
</APPLICATION>


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.

Hi,

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,
Sisa.

Luís T.

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?

Regards
Luis