• How do un-closed documents get unlocked?

    By Steve Smillie 1 decade ago

    I have downloaded this but not looked at it yet somaybe this is more clear in the usage.

    But say a document is locked by someone and then that person closes the browser or it crashes.
    When will that document be released from lock? Is there a lock timeout?
    Can the user who had a document locked, still edit the document as well as unlock it?

    • There are several ways

      By Fredrik Norling 1 decade ago

      The bean doesn't do anything, it enables you to implement document locking. The bean is cleared when the application scope is cleared.

      In my implementations I have an unlock button for the author of the document, so if the author has closed the document by accident. They can unlock it, I have also added a log to the document to see who has unlocked the document.