The lsWrite macro specifies text for the list section of a list (the portion between the <pdm_list> and the </pdm_list> tags). Text specified for the text argument of this macro is deferred, and not written to the output HTML until the lsEnd macro.
lsWrite [both=no|yes]
text=”xxx”
Specifies that the text operand is to be written both immediately to the output HTML and to the deferred text buffer. This can be useful to output JavaScript to conditionally bypass both the setup and the list information output by a subsequent lsCol macro. Optional; defaults to no.
Specifies the text generated by this macro. Text specified is deferred until the lsEnd macro.
It is often desirable to include pdm tags and references to form variables in the text output by an lsWrite macro. To prevent these from being interpreted by the web engine during parsing of the lsWrite macro itself, follow these syntax rules:
<PDM_MACRO NAME=lsWrite text=”pdm_else”>
The web engine automatically inserts the “<” and “>” before producing the text when it detects that the first four characters are “pdm_” (or “PDM_”).
<PDM_MACRO NAME=lsWrite text=”@list.persistent_id”>
The web engine automatically converts the “@” to “$” before producing the text. To produce a literal @ sign, precede it with a backslash.
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |