Access queryString of an URL inside ftl templates

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Access queryString of an URL inside ftl templates

dierka
This post has NOT been accepted by the mailing list yet.
Hello,

I have a problem and need help to achieve following goal:

Alternative 1:
- Access current Url parameters (query string of current/request url) inside login template (Freemarker)

Alternative 2:
- Access a cookie inside login template (Freemarker)

I tried some approachs like:

<#assign something= request.getParameter("something")!/>

${something}

<#/if>


or

${RequestParameters.something}. But it does not work.

Thank you in advance!