You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "sean schofield (JIRA)" <de...@myfaces.apache.org> on 2006/05/16 15:56:33 UTC
[jira] Commented: (TOMAHAWK-52) tree2 client side JavaScript
incompatible with components used prototype javascript library
[ http://issues.apache.org/jira/browse/TOMAHAWK-52?page=comments#action_12411971 ]
sean schofield commented on TOMAHAWK-52:
----------------------------------------
I'm not too familiar with the prototype library but this would seem to be a problem with prototype library instead of tree2.
> tree2 client side JavaScript incompatible with components used prototype javascript library
> --------------------------------------------------------------------------------------------
>
> Key: TOMAHAWK-52
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-52
> Project: MyFaces Tomahawk
> Type: Bug
> Components: Tree2
> 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