You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Zied Hamdi <ja...@gmail.com> on 2008/08/28 11:28:41 UTC
[tomahawk][tobago] js error on mouse move
Hi,
I have the following js error on mouse move:
event is not defined
http://localhost:8080/IntoServicesWeb/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/12199126/schedule.HtmlSchedule/javascript/domLib.js
Line 535
This happens on any mouse move on the page, so I cumulate thousands of
occurences of the error on each page. Is there a known bugfix or workaround
with that?
Here is my page:
<!--
schedule : ScheduleManager
controller : controller.selectEntryCmd
-->
<tc:panel
xmlns="http://www.w3.org/1999/xhtml"
xmlns:t="http://myfaces.apache.org/tomahawk"
xmlns:tc="http://myfaces.apache.org/tobago/component"
xmlns:tx="http://myfaces.apache.org/tobago/extension"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
id="schedulePanel">
<f:facet name="layout">
<tc:gridLayout rows="fixed;*" />
</f:facet>
<tc:panel>
<f:facet name="layout">
<tc:gridLayout
marginRight="0px"
marginLeft="10px"
columns="7*;9*" />
</f:facet>
<tc:panel>
<f:facet name="layout">
<tc:gridLayout
columns="18px;18px;140px;fixed"
marginRight="15px" />
</f:facet>
<tc:link
image="icons/e_back.gif"
action="#{schedule.back}">
<tc:attribute
name="renderedPartially"
value="schedulePanel" />
</tc:link>
<tc:link
image="icons/e_forward.gif"
action="#{schedule.next}">
<tc:attribute
name="renderedPartially"
value="schedulePanel" />
</tc:link>
<tc:label value="#{schedule.currentState}" />
<tc:link
image="icons/elcl16/select_next.gif"
action="#{schedule.today}"
tip="#{i18n.today}">
<tc:attribute
name="renderedPartially"
value="schedulePanel" />
</tc:link>
</tc:panel>
<tc:selectOneRadio
value="#{schedule.mode}"
inline="true"
id="selectMode">
<tc:selectItems value="#{schedule.modes}" />
<f:facet name="click">
<tc:command>
<tc:attribute
name="renderedPartially"
value="schedulePanel" />
</tc:command>
</f:facet>
</tc:selectOneRadio>
</tc:panel>
<t:schedule
id="schedule"
value="#{schedule.model}"
action="#{controller.selectEntryCmd}"
rendered="true"
tooltip="true"
entryRenderer="#{schedule.renderer}"
headerDateFormat="EEE dd"
hourNotation="24"
splitWeekend="false" />
</tc:panel>
And here is an example of how I invoke it:
<tc:tab id="personWorkTasks" label="#{i18n.personWorkTasks}"
rendered="#{!personCtrl.transientPerson}">
<ui:include src="/contract/workSchedule.xhtml">
<ui:param name="schedule" value="#{personCtrl.scheduleModel}" />
<ui:param name="controller" value="#{personCtrl}" />
</ui:include>
</tc:tab>
Best regards,
Zied
--
Zied Hamdi
www.into-i.fr
(previously in 2003)
zatreex.sf.net