|
Captures the browser output until the end tag, and save it into a variable.
Sometimes we deal with functions that output directly to the screen. By capturing the output in a variable, it is possible to pass the results to another function or save the output to a file. Attributes
SyntaxExample:
<MvCAPTURE VARIABLE = "l.output_variable">
text, expressions, etc.
</MvCAPTURE>
In this example we capture the html output of a function that creates a dropdown list of states. Example:
<MvCAPTURE VARIABLE = "l.state_selbox">
<MvCOMMENT> Outputs a select box to the browser. </MvCOMMENT>
<MvEVAL EXPR="{ State_Select(g.ShipTo_State) }">
</MvCAPTURE>
|