[Enh] PRCommandLink

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Enh] PRCommandLink

keith1y
PRCommandLink allows the following syntax *command:PULogin* to generate
a link which performs that command. If the user is not authorized the
link does not show.

Alias's are supported in the normal manner: *Register
Here>command:PRRegisterUserCommand*
 
As an advanced example you can include command links in the dialogs of
other commands by adding a PRComponentDecoration's to the description.

e,g.

PUMyLogin-description

       (super description)
             componentDecorations: (Array with: PRComponentDecoration);
             preAnnotation: 'If you do not have an account *Register
Here>command:PRRegisterUserCommand*';
          yourself.

best regards

Keith



_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki