Introduction
  Publishing web pages
  RXML
  Information tags
  String tags
  Variable tags
  URL tags
  If tags
  Graphics tags
  Database tags
  LDAP
  Programming tags
  SSI tags
  Image maps
  IntraSeek
  LogView
  Templates
  Navigation
  SiteBuilder tags
    <sb-if>
    <sb-login>
    <sb-menu>
    <sb-output>
  Supports system
  Security
  Appendix
 
<sb-if> </> SiteBuilder tags

 

Works like the <if> tag, but for SiteBuilder related data. It can currently be used to test if the user has access to one of the RXML protection points. The RXML protection points can be listed, created and edited under the configuration tab.

 

Attributes

ppoint=RXML protection point
The protection point to check.

none
The check will be true if the user has no permission to the protection point.

read
The check will be true if the user has read permission to the protection point.

write
The check will be true if the user has write permission to the protection point.

not
Negate the test.

Note that the none, read and write attributes can be combined. <sb-if ppoint=foo read write> could be used to give access to everyone that has either read or write access to the RXML protection point foo.

 

Example


<debug>

<set variable=var value=Hello>

<sb-if ppoint=var read>
The value is <insert variable=var>.
</sb-if>

<sb-if ppoint=var write>
  <wizard name=Test>
    <page>
      Change the value to <var name=var size=20>.
    </page>
  </wizard>
</sb-if>

The value is Hello.