|
Strona główna Zbieranina Serwisy Porady Projekty Humor sektora IT TODO Nowości Ostatnie zmiany Kontakt Find pages
Set your name in
UserPreferences Referenced by
JSPWiki v2.2.33
|
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:
|
||||||