http://onionworks.net/2004/renderengine/web

getQueryParameter (parameterName : string) : string

Parameters sent by GET can be read out by means of “getQueryParameter”. The parameter name just needs to be specified to the method in order to obtain the value.

<xsl:value-of select="web:getQueryParameter('lang')" />

The URL is to look as follows for the example:

http://localhost/myOnionApplication/page.ashx/lang=de/140

This method can also be used for forms sent by GET, since the values are simply attached to the URL when the form is sent. This method cannot be used in the case of POST forms - either “getFormParameter” or “getParameter” are available for this.