2015-09-09, 11:21
On Isengard - I just noticed that if using IsEmpty to check if a $PARAM has a value it has the opposite behaviour from what is expected.
For instance if I have in my include:
And then I check within the include definition if the value is not empty:
I will get the opposite of the expected behaviour -- IsEmpty will return true and !IsEmpty will return false when it should be the other way around.
For instance if I have in my include:
Code:
<param name="foo" value="bar" />
And then I check within the include definition if the value is not empty:
Code:
<control type="label">
<label>$PARAM[foo]</label>
<visible>!IsEmpty($PARAM[foo])</visible>
</control>
I will get the opposite of the expected behaviour -- IsEmpty will return true and !IsEmpty will return false when it should be the other way around.