Hello,<br>You could get it using CmsRequestContext#getCurrentProject()#isOnlineProject()<br>Regards<br><br><div class="gmail_quote">On Fri, Oct 28, 2011 at 8:46 AM, 20726424 <span dir="ltr"><<a href="mailto:20726424@qq.com">20726424@qq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I want to check the project's state that is online or offline,how to get it?<br><br>Thank you<br><br>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div style="text-align:left"><img src="http://alejandroalves.files.wordpress.com/2010/10/firmamail.jpg"><br></div><br>