Edit... JSPWiki v2.2.28 |
Checks the existence of a page lock. A page lock is created when an user starts editing a page. You can use this tag to warn the user, prevent the page from being modified (by removing the editor text area, for example), etc. Usage<wiki:CheckLock mode="locked|unlocked|owned" id="<variable>">
Parameters
Example<wiki:CheckLock mode="locked" id="lock"> <P CLASS="locknote">User '<%=lock.getLocker()%>' has started to edit this page, but has not yet saved. I won't stop you from editing this page anyway, BUT be aware that the other person might be quite annoyed. It would be courteous to wait for his lock to expire or until he stops editing the page. The lock expires in <%=lock.getTimeLeft()%> minutes. </P> </wiki:CheckLock> The PageLock classThe PageLock class has the following methods you can use:
Earthdawn (R) ist ein eingetragenes Warenzeichen der FASA Corporation. Barsaive (TM) ist ein Warenzeichen der FASA Corporation. Copyright (c) 2015 by FASA Corporation. Copyright der deutschen Ausgabe (c) 2015 by Ulisses Spiele GmbH, Waldems. www.ulisses-spiele.de. Diese Webseite unterliegt keiner Abnahme oder Genehmigung durch Ulisses Spiele oder FASA.
|