[opencms-dev] How to get the project's state? online or offline?

Alejandro Alves alejandro.alves at opencmshispano.es
Fri Oct 28 08:55:28 CEST 2011


Hello,
You could get it using
CmsRequestContext#getCurrentProject()#isOnlineProject()
Regards

On Fri, Oct 28, 2011 at 8:46 AM, 20726424 <20726424 at qq.com> wrote:

> I want to check the project's state that is online or offline,how to get
> it?
>
> Thank you
>
> _______________________________________________
> 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/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>


--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20111028/6ff6ed47/attachment.htm>


More information about the opencms-dev mailing list