| ScriptAction that submits an HTTP request with parameters in the current RESPONSE map,
and populates the RESPONSE variable map with any variables defined in meta-data
syntax in the output.
<submit [ method="..." ] [ uri="..." ]/>
The 'uri' attribute is resolved via
edu.iu.uis.eden.test.web.framework.Util.getResolvableAttribute(NodeStringPropertyScheme) ,
defaulting to literal scheme.
The meta-data syntax is:
(?i)\\[var ([\\p{Alnum}_\\.\\[\\]]+)=(.*)\\]
e.g.
<!--
let's define some variables!
[var color=green]
[var shape=square]
ok, 'color' and 'shape' will now be present in the RESPONSE map once the response is parsed!
-->
There are also some "special" variables defined:
- OUTPUT
- The literal response output before any filtering
- FILTERED_OUTPUT
- The response output after filters have been applied
The only filter applied by default at this time is the CANONICALIZE filter.
author: Aaron Hamid (arh14 at cornell dot edu) |