Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
visuval formatter or restart problem
nagendra
Hi,
we are getting following error when we try to use external command functionality in visualformatter.
Previously this was working fine, becuase of some other reasons we restarted our server and from that onwards
we last this functionality. In external command we showed file paths.
servletd.log
2004-12-01 05:37:09 - Ctx( /iw/webdesk ): Exception in: R( /iw/webdesk + /WorkareaBrowser + null) - java.lang.IllegalArgumentException: WorkArea iw_which_ui=webdeskpro does not exist
at com.interwoven.framework.widgets.hierbrowser.TSWorkareaBrowserServlet.getArea(TSWorkareaBrowserServlet.java:68)
at com.interwoven.framework.widgets.hierbrowser.TSWorkareaBrowserServlet.getDataTreeInstance(TSWorkareaBrowserServlet.java:124)
at com.interwoven.framework.widgets.hierbrowser.TSFileSystemBrowserServlet.doGet(TSFileSystemBrowserServlet.java:368)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at com.interwoven.framework.base.FrameworkServlet.service(FrameworkServlet.java:66)
at com.interwoven.framework.auth.AuthServlet.service(AuthServlet.java:96)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:423)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
access_log
172.24.45.145 - - [01/Dec/2004:05:34:07 +0000] "GET /iw-bin/bt_cgi/internal_link.ipl?link_type=/binaries&iw_editor=Body_0_Content&iw_callback=opener.eWebEditPro.Body_0_Content.InternalBinaryLinkCallback&workarea=iw_which_ui=webdeskpro;%20JSESSIONID=i1ymdnjfz1;%20iw_user=iwadmin;%20iw_role=master;%20sid=532906f093253b6eb92ec83a50a784bd;%20IWAUTH=52616e646f6d49567f944a6c09603f642eb2eb44df0d3b689bb3f
37e0baa21a95ec23d891b1e50eb6a892e52cbaae035d9e92da05e841ed5;%20IWPROXY_PATHTRACK=/iw-mount HTTP/1.1" 200 300
172.24.45.145 - - [01/Dec/2004:05:34:10 +0000] "GET /iw/webdesk/WorkareaBrowser?allownewfiles=n&location=/binaries&topdir=/binaries&callback=opener.eWebEditPro.Body_0_Content.InternalBinaryLinkCallback&iw_area=iw_which_ui=webdeskpro&show_thumbnail=true HTTP/1.1" 500 1542
visualformatconfig.xml
<?xml version="1.0"?>
<config product="eWebEditPro">
<interface name="iw" allowCustomize="false">
<menu name="editbar" newRow="false" showButtonsCaptions="false" wrap="false" tooltips="true">
<caption localeRef="mnuEdit"/>
<button command="intbinarylink"/>
</menu>
</interface>
<features>
<external enabled="true">
<command name="intbinarylink" enabled="true">
<image src="/iw/bt/visualformat/int_binary_link.gif"/>
</command>
</external>
</features>
</config>
ewebeditproevents.js
======================
// internal binary link functions.
function InsertInternalBinaryLink(editor, binaryId)
{
var path = "/content" + binaryId.substring(binaryId.indexOf("/binaries"));
editor.pasteHTML('<a class="secondaryNavLink" href="'+escape(path)+'" target="_blank" >'+editor.getSelectedText()+'</a>');
}
function InternalBinaryLink(sEditorName)
{
eWebEditPro[sEditorName].InternalBinaryLinkCallback = new Function("InsertInternalBinaryLink(this, arguments[1]);");
var cook = document.cookie;
var workarea = cook.substring(cook.indexOf("/default/main"), cook.indexOf("/css"));
window.open("/iw-bin/bt_cgi/internal_link.ipl?link_type=/binaries&iw_editor="+sEditorName+"&iw_callback=opener.eWebEditPro."+sEditorName+".InternalBinaryLinkCallback&workarea=" + workarea, "", "width=500,height=300,resizable=yes");
}
function eWebEditProExecCommand(sEditorName, strCmdName, strTextData, lData)
{
if ("intbinarylink" == strCmdName)
{
InternalBinaryLink(sEditorName);
}
}
in above access url
.......&workarea=iw_which_ui=webdeskpro;.....
should be
.......&workarea=/data/software/branch/WORKAREA/content&iw_which_ui=webdeskpro;.....
Any idea why its not working now
and how to reslove it.
advance thanks for ur help
nagendra
Find more posts tagged with
Comments
There are no comments yet