Hi,
I am using a Sideview Utils (2.2) Table module whose columns are only shown if selected by the user. Each column has an associated checkbox; if selected, the column is shown in the table. For that, the param hiddenFields comes in very handy. Unfortunately, it does not seem to work when I pass the value from the checkbox, as in the snippet below. The 'variable' $ColHost$ is not substituted by its actual value.
< module name="Checkbox" layoutPanel="panel_row1_col1" >
< param name="name">ColHost< /param >
< param name="label">Host< /param >
< param name="checked">True< /param >
< param name="offValue">Host< /param >
< param name="onValue">< /param>
< module name="Search" layoutPanel="panel_row3_col1" autoRun="True">
< param name="search">< ![CDATA[
sourcetype=MRS_MESSAGES | search messageID NOT null |
table Host Application ...
]]>< /param>
< param name="earliest">-5h< /param>
< param name="latest">now< /param>
< module name="Pager" layoutPanel="panel_row3_col1">
< module name="Table">
< param name="hiddenFields">$ColHost$< /param>
< param name="rowClass">$row.fields.Severity$< /param>
....
I have tried using the column name directly (Host) and that works correctly. But when I use $ColHost$, then the column is always shown, even when $ColHost$ holds the value Host.
... View more