Samples

SamplesXml

Code

Config

API Docs

Download

Neolectric

Request Parameters

Request parameters are name/value pairs that are stored in a client request.

Initial parameters are sent by a client browser and are generally char Strings.
Parameters may be posted by a webform or appended to a url.

If you want to send a value for "firstname" you can post it here

Firstname:   - or -   select this url

You can display request parameters on a dxp page using parameter marker

${firstname} Bart

or using a dxp:Rp tag <dxp:Rp value="${firstname}"/> Bart

Once the page begins to run, some dxp tags can store Objects in the request.

<dxp:Rp value="Homer" store="firstname"/>
${firstname} Homer

Rp can assign an alternate value if the intended one is not present

<dxp:Rp value="${beer}" alt="Duff" store="item"/>
${item} Duff

There are some characters like < and > that are not legal to assign to an attribute.
The Rp tag lets you assign them in the content section. Some tags support this, other don't.

<dxp:Rp store="order">My name is ${firstname} and I want a <b>${item}</b></dxp:Rp>
${order} My name is Homer and I want a Duff

Footnotes

Rp implements the Parameter interface. Some other tags and dynamic attributes also implement this interface. The next page Using Parameters continues this topic.