0 Replies Latest reply on Jun 5, 2012 3:05 PM by dhoffman

    Request:  Ability to evaluate <when> tags when rendering (tertiary) UI components in Admin Console

    dhoffman

      My current goal is to add a new text link to the left-hand column nav bar under Spaces->Management that will appear only when the current user is a member of a certain permissions group.

       

      I have successfully added the component by adding its definition to plugin.xml as a <component>, as below:

       

      <item id="endorsement-details"
              role="Manage System, Manage Community"
             url="admin-endorsement-details.jspa"
                name="Endorsement Management"
                description="admin.decorator.menu.system.endorsement.details">
            <when><![CDATA[jiveContext.getGroupManager().getGroup(JiveGlobals.getJiveLongProperty("endorsements.management.group.id", -1)).isMember(user)]]></when>
      </item>
      

       

      When viewing the Spaces page in the Admin Console, however, the <when> is not being evaluated.