Javascript error in event handler! Event Type = element [edge.2.0.0.min.js:162]
I'm doing a little edge project (now in beta version) for my girlfriend (she hates the code), with examples of the animate() method and other functions like setInteval(), but when I run I get the following error in Chrome console:
Javascript error in event handler! Event Type = element [edge.2.0.0.min.js:162]
But this library is global for all projects, how is possible that trigger an error?
Example here:
https://app.box.com/s/m7nof4al6597gfn47jlu
Thanks.
you dont need to import java ease !!
it's already included in edge animate, remove that yepnope completely your problem will gone
Zaxist
Similar Messages
-
Javascript error in event handler event type = timeline
Hi,
I have a small EdgeAnimate projekt with version 1.5.0 and the local export works fine... I must include the package at a CMS and I update all paths to absolute paths and all files are loading...
but I the animation dont play - I see at the javascript console the follow output
javascript error in event handler event type = timeline edge.1.5.0.min.js:143
Springender Punkt: Rettungswagen - Der springende Punkt
I dont found any solution... :-((Hi Scott,
I have gone through your shared composition created in older verion of Edge.
If you open the older composition html page in browser, there already have some of the error messages in the console as you mentioned above like
Javascript error in event handler! Event Type = timeline.
And as you said with the latest Edge, when you upgrade the old composition, some new error messages gets added to the existing ones.
As in the latest Edge, the whole of runtime has been shake-up, some of the attributes has been removed and are added in different way.
Example: To access timelines of a symbol:
Old way: sym.timelines['Default Timeline']
New way: sym.data[sym.name].timeline
You need to make some modifications in index_edgeActions.js file like:
1. Search & Replace "timelines['Default Timeline']" with "data[sym.name].timeline"
2. And in the code taken from EdgeCommons.js, replace "getVariable("symbolSelector")" with "_variables["symbolSelector"]".
Hope, these changes will remove the new JS issues you mentioned.
hth,
Vivekuma -
Sm21 log 000 sapsys event handler: event #### is not defined !!
hello ,
when i schedule job in background it's stauts gets in ready state and job doesn't start .and in sm21 i see a message
sapsys event handler:event ##### is not defined.
kindly help me out
thanks
jaseHi,
Did you try to see ST22 transaction for any short dump?
Regards,
Aravinda Sarma M. -
Javascript error when editing an Event Template
I'm currently evaluating Adobe Connect to determine if it will work well for our company's webinars. As part of the evaluation, I attempted to create a custom event template. The first thing I did was to apply a custom background (using an image) to the template. The next thing I did was attempt to change the time zone from U.S./Michigan to U.S./Eastern. When the page refreshed, I got the error message included below. After that, every time I attempted to edit any template, I got the sam error message. I am accessing Adobe Connect using the Google Chrome browser Version 32.0.1700.107 m. I tried loggin in with Internet Explorer 9 version 9.0.8112.16421. At first, it seemed to work, but then I went to edit something in the catalog (adding a graphic), and, suddenly, I got the error again.
I tried to contact Support through chat, but they don't support trials. Can anyone help me with this issue?
Error during include of component '/apps/connect/components/eventlandingpage'
Error Message:
org.apache.sling.api.scripting.ScriptEvaluationException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script head.jsp
Processing Info:
Page
=
/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing
Resource Path
=
/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing/jcr:content
Cell
=
eventlandingpage
Cell Search Path
=
eventlandingpage|page
Component Path
=
/apps/connect/components/eventlandingpage
Sling Request Progress:
0 (2014-02-22 17:16:17) TIMER_START{Request Processing} 0 (2014-02-22 17:16:17) COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message> 0 (2014-02-22 17:16:17) LOG Method=GET, PathInfo=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing.html 0 (2014-02-22 17:16:17) TIMER_START{ResourceResolution} 0 (2014-02-22 17:16:17) TIMER_END{0,ResourceResolution} URI=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing.html resolves to Resource=JcrNodeResource, type=cq:Page, superType=null, path=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing 0 (2014-02-22 17:16:17) LOG Resource Path Info: SlingRequestPathInfo: path='/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing', selectorString='null', extension='html', suffix='null' 0 (2014-02-22 17:16:17) TIMER_START{ServletResolution} 0 (2014-02-22 17:16:17) TIMER_START{resolveServlet(JcrNodeResource, type=cq:Page, superType=null, path=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing)} 0 (2014-02-22 17:16:17) TIMER_END{0,resolveServlet(JcrNodeResource, type=cq:Page, superType=null, path=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing)} Using servlet /libs/foundation/components/primary/cq/Page/Page.jsp 0 (2014-02-22 17:16:17) TIMER_END{0,ServletResolution} URI=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing.html handled by Servlet=/libs/foundation/components/primary/cq/Page/Page.jsp 0 (2014-02-22 17:16:17) LOG Applying Requestfilters 0 (2014-02-22 17:16:17) LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter 0 (2014-02-22 17:16:17) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter 0 (2014-02-22 17:16:17) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet 0 (2014-02-22 17:16:17) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter 0 (2014-02-22 17:16:17) LOG RedirectFilter did not redirect (MobileUtil.isMobileResource() returns false) 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.wcm.core.impl.warp.TimeWarpFilter 0 (2014-02-22 17:16:17) LOG Applying Componentfilters 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter 0 (2014-02-22 17:16:17) TIMER_START{/libs/foundation/components/primary/cq/Page/Page.jsp#0} 0 (2014-02-22 17:16:17) LOG Including resource JcrNodeResource, type=connect/components/eventlandingpage, superType=null, path=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing/jcr:content (SlingRequestPathInfo: path='/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing/jcr:content', selectorString='null', extension='html', suffix='null') 0 (2014-02-22 17:16:17) TIMER_START{resolveServlet(JcrNodeResource, type=connect/components/eventlandingpage, superType=null, path=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing/jcr:content)} 0 (2014-02-22 17:16:17) TIMER_END{0,resolveServlet(JcrNodeResource, type=connect/components/eventlandingpage, superType=null, path=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing/jcr:content)} Using servlet /libs/foundation/components/page/page.jsp 0 (2014-02-22 17:16:17) LOG Applying Includefilters 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter 0 (2014-02-22 17:16:17) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter 0 (2014-02-22 17:16:17) TIMER_START{/libs/foundation/components/page/page.jsp#1} 0 (2014-02-22 17:16:17) LOG Including script head.jsp for path=/content/connect/c1/1127732221/en/events/event/shared/1127913809/event_landing/jcr:content, type=connect/components/eventlandingpage: /apps/connect/components/page/head.jsp 0 (2014-02-22 17:16:17) TIMER_START{/apps/connect/components/page/head.jsp} 16 (2014-02-22 17:16:17) LOG SCRIPT ERROR: javax.servlet.ServletException: java.lang.Exception: unable to initialize connect properties 16 (2014-02-22 17:16:17) LOG SCRIPT ERROR: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script head.jsp 16 (2014-02-22 17:16:17) TIMER_END{16,/libs/foundation/components/page/page.jsp#1} 16 (2014-02-22 17:16:17) LOG Found processor for post processing ProcessorConfiguration: {contentTypes=[text/html],order=-1, active=true, valid=true, processErrorResponse=true, pipeline=(generator=Config(type=htmlparser, config={}), transformers=(Config(type=linkchecker, config={}), Config(type=mobile, config=org.apache.sling.jcr.resource.JcrPropertyMap@139256bf), Config(type=mobiledebug, config=org.apache.sling.jcr.resource.JcrPropertyMap@aa7fc53), Config(type=contentsync, config=org.apache.sling.jcr.resource.JcrPropertyMap@36182d6f), serializer=Config(type=htmlwriter, config={}))} 16 (2014-02-22 17:16:17) TIMER_END{16,Request Processing} Dumping SlingRequestProgressTracker Entries
Full Exception:
org.apache.sling.api.scripting.ScriptEvaluationException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script head.jsp at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:385) at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170) at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:456) at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500) at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64) at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:183) at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:150) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:219) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:257) at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProcessorImpl.java:297) at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatcher.java:216) at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatcher.java:103) at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponentFilter.java:381) at org.apache.jsp.libs.foundation.components.primary.cq.Page.Page_jsp._jspService(Page_jsp.java:106) at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:420) at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter.java:59) at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:233) at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:85) at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:453) at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358) at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170) at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:456) at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500) at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64) at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:147) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:308) at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:141) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:257) at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64) at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:106) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:296) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:59) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.java:220) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:76) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:89) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServletStarterFilter.java:135) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcessorImpl.java:153) at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:206) at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96) at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79) at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:179) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:238) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48) at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39) at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.java:250) at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:315) at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:334) at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:377) at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:351) at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:625) at java.lang.Thread.run(Thread.java:662) Caused by: org.apache.sling.api.SlingException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script head.jsp at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:563) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:499) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443) at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter.java:59) at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:233) at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:85) at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:453) at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358) ... 93 more Caused by: org.apache.sling.api.SlingException: javax.servlet.ServletException: java.lang.Exception: unable to initialize connect properties at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:563) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:499) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443) at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter.java:59) at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:233) at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:85) at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:453) at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358) at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170) at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:456) at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167) at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87) at org.apache.jsp.libs.foundation.components.page.page_jsp._jspx_meth_cq_005finclude_005f0(page_jsp.java:178) at org.apache.jsp.libs.foundation.components.page.page_jsp._jspService(page_jsp.java:148) at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:420) ... 98 more Caused by: java.lang.Exception: unable to initialize connect properties at org.apache.jsp.apps.connect.components.page.head_jsp._jspService(head_jsp.java:337) at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:420) ... 112 more Caused by: javax.jcr.PathNotFoundException: /content/connect/connectinfo at org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:192) at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361) at org.apache.jackrabbit.core.SessionImpl.getNode(SessionImpl.java:1109) at org.apache.jsp.apps.connect.components.page.head_jsp._jspService(head_jsp.java:328) ... 115 more
Day Communique 5 WCM Core Implementation / 5.5.6 ( (c) Day Management AG ) running on ApacheSling/2.2 (Day-Servlet-Engine/4.1.24, Java HotSpot(TM) 64-Bit Server VM 1.6.0_37, Windows Server 2008 R2 6.1 amd64)Hi tonua.carano,
As you mentioned that editing was working first time but after changing the template and then when you refreshed the page it shows error. So can you check the following steps and see if editing works -
1. Please ensure that the user should be member of Event Magnager group to edit the template.If the user who is getting error while editing is not a member of that group then please add this role to the user.
2. How are you changing the page background color ? There is component available in sidekick to change the page background. Are you using the same component ?
If still you are getting the same erro while editing the template with this user, then create a new user and provide this user Event Manager and Event Adminitrator group membership and try to edit the template using this user.
It should work fine and you should not get any error while editing. Please let me know if you face any issue.
Thanks,
Vikash Acharya -
Onresize event handling for DIV element
How can I handle onresize event in safari. for example following script doesn't work
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head></head>
<body>
resize
<script type="text/javascript" language="javascript">
function OnResizeFunc() {
alert('resize');
document.getElementById('resizableDiv').onresize = OnResizeFunc;
</script>
</body>
</html>Hi,
<html>
<body>
<form name="n1" action="next.htm" method="get">
Male:<input type="radio" name="r1" value="Male" checked="checked"/>
Female:<input type="radio" name="r1" value="Female"/>
<input type=submit value="submit"/>
</form>
</body>
</html>
In above code when you click the RB the control will pass to next page 'next.htm' in that do ur requirement...
If it is helpful reward points..
Thanks,
Sri
Edited by: srividya s on Sep 12, 2008 9:31 AM -
Cellphone event handler (event when phone disconnected from charger?)
I need to know what event_ is called when a cellphone is disconnected from a power source_.
I have looked for hours for a list of methods, properties and events for java and midp with no luck. If such a file exists I would love to know where to find it.
Edited by: Danstarlight on Oct 7, 2007 9:59 AM
Edited by: Danstarlight on Oct 7, 2007 10:00 AMI have noticed that on all cell phones there is a battery state animation which starts when connected to a charger which shows the phone is charging, and usually a light turns on and a message which says something like "Charging" shows up. This animation stops as soon as the phone is disconnected.
If this is hardware programming is there any way to use listeners to look for a change in the relevant variables? -
Help with Javascript error in event handler slowing animation down.
Hi all--
I did an animated book cover for my publisher, Baen Books, but an error keeps coming up in my animation. The actual animating can be viewed here:
http://baen.com/310x204/A_CallToDuty.html
As you can see, when the error pops up, the animation grinds to a halt, an it has to recover. I am not well enough versed in javascript to know what is going on. The error code below repeats over and over again as it plays.
6Javascript error in event handler! Event Type = timeline edge.3.0.0.min.js:171
3
<error> VM26:184
Javascript error in event handler! Event Type = timeline edge.3.0.0.min.js:1714Javascript error in event handler! Event Type = timeline edge.3.0.0.min.js:1713
<error>
If anyone has an idea what is causing this, I would be extremely grateful for any help.
David MattinglyHi Hemanth--
I put it in a dropbox folder for you here:
Dropbox - EdgeAnimation
This contains 2 versions--a small one for the preview, and then a larger one when people click on the cover preview. Thanks in advance for your help.\
David Mattingly -
How to throw and handle event defined in component interface
Hi folks,
I have defined a component interface with an event 'open_info'
I have some sub components which are implementing that component interface. I also get the two events generated (the interface check box is not marked)
I use those sub components and try to handle the event. but unfortunately the event is not handled.
I'm not sure if I do everything right. I checked the interface checkbox at the events tab of the controller of the sub component. I then may handle the event in the embedding main component. but it appears to be a different event.
probably I eed to access the interface controller and throw the event there, but I don't know how.
I couldn't fnd documentation or wdr* components which deal with that issue. do you have any suggestions?
regards
stefanHi Stefan,
Do the following in the component being used:
say component name is ZCMP_01
go to COMPONENTCONTROLLER
Create an Event with necessary parameters if needed, say Event name is EVNT_01 and has an importing parameter, say PARAM_01 type char10,
Make sure you have set the interface check box. Now this event is available in the INTERFACECONTROLLER.
Say ZCMP_01 has a view with a button, on click of the button, call a method in the COMPONENTCONTROLLER.
Perform all the required operations, At the required point, fire EVNT_01
wd_this->fire_EVNT_01_evt(
PARAM_01 = 'sample' ).
Now the other component that has to use ZCMP_01, say ZCMP_02
In the component properties od ZCMP_02, add usage for ZCMP_01, say USG_CMP_01
Go to the view in ZCMP_02 where you wish to handle the event EVNT_01 of ZCMP_01,
Go to Methods tab, create an event hadler, say EVNT_01_HNDLR ... method type = Event Handler,
Event = EVNT_01, Controller = INTERFACECONTROLLER, Component Use, USG_CMP_01.
Now your event handler will have foll parametrs: WDEVENT .. type ref to CL_WD_CUSTOM_EVENT,
PARAM_01 type CHAR10
Handle the event as required.
Regards,
Reema. -
JavaScript error: unknown jsval type
Almost every time I save after making a change in
Dreamweaver, I get this message:
"The following translators were not loaded due to errors:
The following JavaScript error(s) occurred:
unknown jsval type ----- for XDR."
Where those hyphens are in the last line are two boxes and an
uppercase A with an umlaut (two dots) above it -- in other words,
some strange characters.
Does anyone know what this means? I can't reproduce the
message now, but the new content is not appearing.
Thanks,
Ellen
P.S. I posted this a while ago but no one answered and I'd
really like to know what's causing it.You can try this simple fix (if Windows) -
Quit DW.
Find this folder -
C:\Documents and Settings\<username>\Application
Data\Macromedia\Dreamweaver
8\Configuration\WinFileCache-*.dat
(these folders are normally hidden - you may have to use
Explorer > Tools >
Folder Options to unhide them)
and delete it.
Restart DW. Works better?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Ellen Finkelstein" <[email protected]>
wrote in message
news:edvp0d$1l4$[email protected]..
> Almost every time I save after making a change in
Dreamweaver, I get this
> message:
> "The following translators were not loaded due to
errors:
> The following JavaScript error(s) occurred:
>
> unknown jsval type ----- for XDR."
> Where those hyphens are in the last line are two boxes
and an uppercase A
> with
> an umlaut (two dots) above it -- in other words, some
strange characters.
>
> Does anyone know what this means? I can't reproduce the
message now, but
> the
> new content is not appearing.
> Thanks,
> Ellen
> P.S. I posted this a while ago but no one answered and
I'd really like to
> know
> what's causing it.
> -
JavaScript error "unknown fsval type" in template
I recemtly added an image and some text to a template. The
new stuff has some simple links, that's all. I updated all the
files based on it and uploaded them, but they don't shown the new
content.
However, sometimes in Dreamweaver, I get this message:
"The following translators were not loaded due to errors:
The following JavaScript error(s) occurred:
unknown jsval type ----- for XDR."
Where those hyphens are in the last line are two boxes and an
uppercase A with an umlaut (two dots) above it -- in other words,
some strange characters.
Does anyone know what this means? I can't reproduce the
message now, but the new content is not appearing.
Thanks,
EllenYou can try this simple fix (if Windows) -
Quit DW.
Find this folder -
C:\Documents and Settings\<username>\Application
Data\Macromedia\Dreamweaver
8\Configuration\WinFileCache-*.dat
(these folders are normally hidden - you may have to use
Explorer > Tools >
Folder Options to unhide them)
and delete it.
Restart DW. Works better?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Ellen Finkelstein" <[email protected]>
wrote in message
news:edvp0d$1l4$[email protected]..
> Almost every time I save after making a change in
Dreamweaver, I get this
> message:
> "The following translators were not loaded due to
errors:
> The following JavaScript error(s) occurred:
>
> unknown jsval type ----- for XDR."
> Where those hyphens are in the last line are two boxes
and an uppercase A
> with
> an umlaut (two dots) above it -- in other words, some
strange characters.
>
> Does anyone know what this means? I can't reproduce the
message now, but
> the
> new content is not appearing.
> Thanks,
> Ellen
> P.S. I posted this a while ago but no one answered and
I'd really like to
> know
> what's causing it.
> -
Site
Hello everyone. I get an error in my chrome cosole, what can I do about this?
I dont have this problem in all browsers, just in chrome, and in some versions of Firefox.
The problem occurs when I click any label in the iframe (see website, speaks for itself).
line 5838 window.console.log("Javascript error in event handler! Event Type = " + eventType);
does anyone know how to fix this?
And why do I only have this problem in some browsers?I basically want the labels in the Iframe to make the parent page animate to a specific anchor tag.
ps. This is what I posted on the jquery forum as well:
I tried to do this by letting the iframe .trigger a .click to a button on the .parent page.
I did this in two ways.
one: the click is triggerd in (/by) the iframe
two: the click is triggerd by a script in the parent window, that script is launched by the iframe
Here's the thing:
this is what one of the <a>'s that the iframe will click looks like:
<a class="nonblock nontext anim_swing" id="u185" href="index.html#contact"><!-- simple frame --></a>
The code is generated by adobe muse which has a function to smoothly scroll to a location on the page, and I am guessing the "anim_swing" class takes care of that.
I would like the colorful labels in the iframe to do the same thing as the <a> above.
and it works in some browsers on some computers but somehow not on all of them (with method two the adblocker doesn't seem to be an issue ).
I also tried to let the parent page scroll directly with the jquery .scrollto function. That did not work either (see the jquery forum). -
Using yepnope, getting error in event handler.
Recently discover yepnope and started to implement it into my project to keep common functions in one file. The first set of functions worked fine when I moved them over, but with the last one I'm unable to control a symbol. It's calling the function fine, it's just wont play the symbol timeline.
-------Here's the function in the external file
//Function for audio button
// Tests the paused attribute and set state.
voButton = function (){
if ($('#voiceOver')[0].paused) {
console.log("play");
$('#voiceOver')[0].play();
sym.getComposition().getStage().getSymbol("btnSound").stop(1000);
else {
console.log("pause");
$('#voiceOver')[0].pause();
sym.getComposition().getStage().getSymbol("btnSound").stop(0);
-------Here's the call to the function
Symbol.bindElementAction(compId, symbolName, "${_btnSound}", "click", function(sym, e) {
voButton();
//Edge binding end
Calling the function plays the audio but doesn't change the symbol. Getting the error message:
functions.js (line 39)
Javascript error in event handler! Event Type = element
I've tried different combinations of getComposition() or getSymbol(), nothing. I read a post somewhere that said I needed to prefix my function creation with sym. and call it the same way. This didn't work either and caused the function to stop working, but with a new error: sym is not defined in the external file.
Like I said the function works when I call it, but I can't access the symbol's timeline for some reason.I'm trying to include a custom js file to an Edge project, and I'm getting the same "sym is not defined" error. have you found a workaround for this problem?
can't we just use "sym" or methods like "getSymbol()" in the js loaded by yepnope?
I can't find any sources about this.
And I can't find an easy way to substitute "sym"...
Thanks in advance -
CSS issues....get Javascript error on click event
Trying to finish up this navbar. Got it where my navigation works pretty much great. However, the code I expected to work when I fire a click event on the logo (represnted currently by a gray circle) causes a 'Javascript error in event handler! Event Type = element' error instead. Not sure why. I know I had an issue with one of my button references (spelling issue) but beyond that, everything seems to be in order.
This is the code I'm using. The first five lines work right. The second series does not.
sym.getSymbol("btnVision").$("back").css({opacity: 0})
sym.getSymbol("btnIndustires").$("back").css({opacity: 1})
sym.getSymbol("btnResp").$("back").css({opacity: 1})
sym.getSymbol("btnCommunity").$("back").css({opacity: 1})
sym.getSymbol("btnDiscovery").$("back").css({opacity: 1})
var stage = sym.getComposition().getStage()
stage.$("navVision").css({top: 65});
stage.$("navIndustries").css({top: 65});
stage.$("navResp").css({top: 65});
stage.$("navCommunity").css({top: 65});
stage.$("navDiscovery").css({top: 65});
I should mentioned I tried sym.getSymbol for the bottom entries but that simply produced the same exact error. Sign.
Anyone know what might be causing this? It doesn't seem to make sense to me. Here's the files.
https://www.dropbox.com/s/xo90u6hvj65ix78/nav.zipHi ladobeugm,
The error message is rather cryptic, but this occurs when trying to access something not defined, as you already experienced with your misspelling.
You should use Firebug to localize the error via step by step execution. There is a Scripts tab. In its menu, select <youProject>Actions.js. Then, define a breakpoint by clicking in the line number of statement var stage= etc. In the Spies area, you can look for the offending statement by monitoring variable values.
Gil -
The following code is being executed three times in the
following sequence:
1) On initialization of my Flex application, initCallback()
is called
2) When I broadcast a 'getUserPreferencesFromCookie' event,
handleGetUserPreferenceCookie() is called.
3) When I broadcast a 'writeUserPreferencesCookie' event,
handleWriteUserPreferenceCookie() is called.
// Callback when flash is initialized
var initCallback = function()
// Add all event listeners
FABridge.flash.root().getPreferences().addEventListener(
"getUserPreferencesFromCookie",
handleGetUserPreferenceCookie);
FABridge.flash.root().getPreferences().addEventListener(
"writeUserPreferencesCookie",
handleWriteUserPreferenceCookie);
FABridge.flash.root().getPreferences().faBridgeInitialized();
// Listen for flash initialization (i.e. the Main application
is created)
FABridge.addInitializationCallback("flash", initCallback);
// Event handler for Get User Preferences Cookie Events
events
var handleGetUserPreferenceCookie = function(readEvent)
alert("Getting Cookie for user: " +
readEvent.getUsername());
if (readEvent.getUsername())
var theCookie = readCookie(readEvent.getUsername());
alert("Returned from readCookie: '" + theCookie + "'");
var preference = FABridge.flash.root().getPreferences();
if (preference)
if (preference.setPreferenceCookie)
preference.setPreferenceCookie(theCookie);
else
FABridge.flash.root().getPreferences().setPreferenceCookie(null);
// Event handler for Write User Preferences Cookie Events
events
var handleWriteUserPreferenceCookie = function(writeEvent)
alert("Creating Cookie for User");
if (writeEvent)
alert("Write event is defined");
var username = writeEvent.getUsername();
if (username)
// Create a cookie given the username and the XML
createCookie(writeEvent.getUsername(),
writeEvent.getData());
alert("Returned from creating cookie");
else
alert("Write event is undefined");
alert("Write cookie method completed");
Here is the problem:
handleGetUserPreferences() completes as expected (i.e. the
cookie string is set into my preferences object). The readEvent is
a custom event that extends flash.events.Event. However, when
writeUserPreferenceCookie is called, the line
writeEvent.getUsername() fails. writeEvent is the same type of
event as readEvent. And when I say 'fails' I mean that the method
goes no further. I never see the 'Write cookie method completed'
alert. There are no errors in the Javascript Error Console.
I've checked the writeEvent on the action script side. The
username has been set into the event the same way that it was set
into the readEvent. I cannot see why I can get data out of the
readEvent but not the writeEvent.
ANY help would be much appreciated.
-JulieJust because the forums are a little slow on a weekend...
JavaScript functions should be declared in the HEAD of an HTML page. I wasn't aware that a function declared in the BODY writes to a new document, so I've also learned something out of this.
Take this and work on it to place the output where you want it:<html><head><script type="text/javascript"><!--
function clickfunction()
//if (registration.purpose[0].checked==true)
document.getElementById("stuffHere").innerHTML = "Name of School/ College: <input type=text name=sname><br>Grade / Year:<input type=text name=grade>";
!--></script></head>
<body>
<table>
<tr>
<td><font size = "" color="purple">Age:</font></td>
<td><input type = "text" name = "age" size = "10" maxlength = "3"></td>
</tr>
<tr>
<td><font size = "" color = "purple">Select the best reason
<br>to use the Library:</font></td>
<td><input type = "radio" name = "purpose" value = "school" onClick = "clickfunction()">
<font size = "" color = "purple" >School / College</font><br>
<input type = "radio" name = "purpose" value="work">
<font size = "" color = "purple">Work</font><br>
<input type = "radio" name="purpose" value="personal">
<font size = "" color = "purple">Personal</font>
</td>
<!--// SET AN ID ON THE ELEMENT! //-->
<td id="stuffHere"></td>
</tr>
</table><br>
<form>
<input type="Submit" name="register" value="Register" align="MIDDLE">
<input type="reset" name="clear" value="Clear Form" align="MIDDLE">
</form>
</body></html>db
-- next time, no JavaScript questions, please!
edit What you wanted to do was<div id="div1" style = 'display:none;'>and in the functiondocument.getElementById("div1").style.display = "block";Edited by: Darryl.Burke -
Populating database tables in event handler method - error
Friends,
I am trying to insert values into ztable in an event handler method in a WDA application.
This is the code. ZDATA1 is a ztable with two fields: MANDT and ZKTOKD of data element char01.
types: begin of zs,
zktokd type char01,
end of zs.
data: zitab type table of zs,
zstruct like line of zitab.
zstruct-zktokd = 's'.
append zstruct to zitab.
INSERT zdata1 FROM TABLE zitab.
I am getting the error: "The Work area "ZITAB" is not long enough...
Please let me know what is missing.
Thanks and Regards.Hi,
The error is here
types: begin of zs,
zktokd type char01,
end of zs.
data: zitab type table of zs ,
zstruct like line of zitab.
"passed the Internal table name which is wrong
Correct one
data:
zitab type table of zs,
zstruct like line of ZS. " Here we have to give the type you have declared above.
" Zstruct acts like a workarea.
Regards
Lekha
Maybe you are looking for
-
My screen was frozen and now it won't do anything.
I've had my ipod touch for a week now. It's been working completely fine.... until about 30 minutes ago. It froze while on facebook and then the screen went completely white. I tried to hold down the sleep/wake button for a minute - nothing. Held
-
Not all calendar entries sync with desktop & Outlook
I'm running V5 of the DM and the OS on my 8900. I have 4 different email addresses on by blackberry - 2 regular internet email, 1 gmail and 1 facebook. Calendar entries from only one of my internet email address will sync back to Outlook. I just trie
-
Hey guys i have an ipad 2 that wont reboot after i restored it
hey guys my ipad 2 wont restart after restored it it seems to be stuck on a loop can anyone please help me ?
-
How to insert "%" into the report figure in report painter/ drill down
Please kindly advice how to insert "%" in the calculated amount in the report painter/ drill down report. Thank you Sirirak
-
Forum not integrated with portal content
Hi All, I like the new forum functionality in the NetWeaver Portal 2004s SPS 12. But I expect the integration of the forum and the protal environment. But I cannot create links to files that still exist in the portal. I can only adding new files, whe