Difference: ControlledTopicExample ( vs. 1)

Revision 115 May 2011 - TWikiGuest

Line: 1 to 1
Added:
>
>
Below is the setting that places this topic under approval control.

We can now use any of the %APPROVAL{...}% tags in this topic:

  • Show the state message
    • %APPROVAL{"statemessage"}%
    • %APPROVAL{"statemessage"}%

  • Show a preference setting defined in the definition topic
    • %APPROVAL{"pref" name="MYPREF"}%
    • %APPROVAL{"pref" name="MYPREF"}%

  • Show the transition form
    • %APPROVAL{"transition"}%
    • %APPROVAL{"transition"}%

We can also set a preference for the history format in the following way:

  • Set APPROVALHISTORYFORMAT = "| $state | $wikiusername | $date |"

The history is displayed by using the %APPROVAL{"history"}% variable.

State Name Date
%APPROVAL{"history"}%
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback