留言板

Problem to restore dockbar view jsp

Luca kk,修改在12 年前。

Problem to restore dockbar view jsp

Expert 帖子: 284 加入日期: 10-12-7 最近的帖子
Hi all,
I modified the file:

tomcat/webapps/ROOT/html/portlet/dockbar/view.jsp

cutting the following section:

<c:if test="<%= !group.isControlPanel() &amp;&amp; themeDisplay.isSignedIn() %>">
	<li class="toggle-controls" id="<portlet:namespace />toggleControls">
		<a href="javascript:;">
			<liferay-ui:message key="toggle-edit-controls" />
		</a>
	</li>
</c:if>


to eliminate the Toggle Edit Controls section.

Then I wanted to restore this section and i reinserted the above section in jsp file,
but when i reboot tomcat I can't see "Toggle Edit Controls"!!!!!!!!!!

How can I restore the initial settings?????

Thanks in advance
thumbnail
Ravi Kumar Gupta,修改在12 年前。

RE: Problem to restore dockbar view jsp

Liferay Legend 帖子: 1302 加入日期: 09-6-24 最近的帖子
Did you not achieve that using jsp-hook? If you used a hook then simply deleting the hook will restore. Or if you directly modified, then restore the same file from a fresh bundled liferay. That should work.. If not working then delete the temp, work folder from tomcat and restart tomcat then.
Luca kk,修改在12 年前。

RE: Problem to restore dockbar view jsp

Expert 帖子: 284 加入日期: 10-12-7 最近的帖子
Hi Ravi,
thanks for reply.
I restored the old file, I deleted the "tomcat/temp" content and restarded
the tomcat but the problem remains!!!!!!!!!!!

How can I do?

Regards,
luca
thumbnail
Leo Pratlong,修改在12 年前。

RE: Problem to restore dockbar view jsp

Expert 帖子: 363 加入日期: 10-7-6 最近的帖子
Hi,

Shutdown your server, delete the "work" folder in your tomcat installation: it contains the pre-compiled JSP. Then restart the server.
Everything should be OK after that.
Luca kk,修改在12 年前。

RE: Problem to restore dockbar view jsp

Expert 帖子: 284 加入日期: 10-12-7 最近的帖子
Hi Leo,
I deleted only temp content and not work directory,
If I delete work directory, it works!!!

thanks and regards