myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <>
Subject [jira] Commented: (TOMAHAWK-929) Error javascript with <t:inputDate< and <t:schedule>
Date Thu, 12 Mar 2009 06:10:50 GMT


Leonardo Uribe commented on TOMAHAWK-929:

Really this is not an easy problem. It seems to be a problem not related to the components,
rather an incompatibility between javascript libraries.

I receive this error on Firebug:

"Hash is not a constructor"

on function:

function domLib_getEventPosition(in_eventObj)
   var eventPosition = new Hash('x', 0, 'y', 0, 'scrollX', 0, 'scrollY', 0);

It is possible that some object is overwritten by two different javascript libraries.

 The javascript libraries of schedule component are:


and inputCalendar


In this case the problem is between domLib.js and prototype.js (both javascript libraries
use Hash name as variable).

The solution is change in my opinion domLib.js, domTT.js and domTT_drag.js "Hash" name to
DomHash or something more unique (since schedule component is the only one that use these
javascript files). 

> Error javascript with <t:inputDate< and <t:schedule>
> ----------------------------------------------------
>                 Key: TOMAHAWK-929
>                 URL:
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Date, Schedule
>    Affects Versions: 1.1.5-SNAPSHOT
>         Environment: IE 7
>            Reporter: Auger Fran├žois
>            Priority: Minor
> If <t:inputDate> and <t:schedule> exist in the same jsp page, an javascipt
error appears

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message