tree2 client side JavaScript incompatible with components used prototype
javascript library
--------------------------------------------------------------------------------------------
Key: MYFACES-1122
URL: http://issues.apache.org/jira/browse/MYFACES-1122
Project: MyFaces
Type: Bug
Components: Tomahawk
Reporter: Alexandr Smirnov
for client-side toggle tree2 use cookielib.js library
part of code :
for (var name in attribMap)
{
var value = attribMap[name];
if (value != undefined && value != null && value != "")
{
if (name.indexOf(CookieLib.ATTRIB_KEYVAL) < 0 &&
value.indexOf(CookieLib.ATTRIB_KEYVAL) < 0 &&
name.indexOf(CookieLib.ATTRIB_DELIM) < 0 &&
value.indexOf(CookieLib.ATTRIB_DELIM) < 0)
{
prototype redefine method indexOf for most objects - it caused crash code above.
As a result, tree2 not worked as client-side tree with components on same page
used prototype.js : inputsuggestAjax, calendar, shedule etc
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira