[opencms-dev] How to unlock a project/file using java class

Pam Callaway pamcallaway at pobox.com
Tue Jan 15 22:02:23 CET 2008


Here's a hint to get started...
http://opencms-wiki.org/Switch_to_the_offline_project

To unlock a file you must be logged in as an administrator, or at
least as a user that has permissions to that file.

Here's some more stuff to help, it shows you how to unlock a resource
at the very bottom:
http://opencms-wiki.org/Write_a_file_programatically

On Jan 15, 2008 1:58 PM, gsriman <gsriman at gmail.com> wrote:
>
> Hi All,
>   I am trying to write a java action class for the template and need to
> unlock the file or project before doing anything. Can you tell me how can I
> unlock the Offline project and also a file in this project?
>
> Thanks in advance
> Sriman
> --
> View this message in context: http://www.nabble.com/How-to-unlock-a-project-file-using-java-class-tp14844933p14844933.html
> Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>



More information about the opencms-dev mailing list