Details
-
Bug
-
Resolution: Not an issue
-
Major
-
None
-
3.5.8
-
None
-
weblogic 9.2
Description
We have a requirement where when a page is activated by the author, it should appear in the Inbox of a selected list of users and not to all the users in the system for activation.
We looked at the following wiki page.
And used the following syntax provided by the page to determine which page is currently activated.
<if test="true == {$call:matches(' ${field:path}','website/advisers/.*')}">
<set variable="/level2" value="advisers"/>
</if>
<if test="true == ${call:matches('${field:path}','/website/marketing/.*')}">
<set variable="/level2" value="marketing"/>
</if><if>
<undefined variable-value="/level2"/>
<set variable="/level2" value="default"/>
</if>
But the "if" condition does not recognize the current page and the value of "level2" variable is always set to "default" after the execution of the above code.
Can you please provide the correct syntax to check which page is activated. Your help is greatly appreciated.