[jira] Created: (TOMAHAWK-427) Error in parsing cookie

2006-05-10 Thread Guillaume Doumenc (JIRA)
Error in parsing cookie
---

 Key: TOMAHAWK-427
 URL: http://issues.apache.org/jira/browse/TOMAHAWK-427
 Project: MyFaces Tomahawk
Type: Bug

  Components: Tree2  
Versions: 1.1.1
 Environment: Firefox v1.0.7
Reporter: Guillaume Doumenc


I get a strange behavior when getting attribMap name in cookie.js (line 103)

The behavior is fixed when I replace the line

for (var name in attribMap)
{
var value = attribMap[name];
  
by

for (var i=0;ihttp://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (TOMAHAWK-427) Error in parsing cookie

2006-05-10 Thread Guillaume Doumenc (JIRA)
[ 
http://issues.apache.org/jira/browse/TOMAHAWK-427?page=comments#action_12378848 
] 

Guillaume Doumenc commented on TOMAHAWK-427:


In fact, using an array as a map seems to not work on my Javascript version

> Error in parsing cookie
> ---
>
>  Key: TOMAHAWK-427
>  URL: http://issues.apache.org/jira/browse/TOMAHAWK-427
>  Project: MyFaces Tomahawk
> Type: Bug

>   Components: Tree2
> Versions: 1.1.1
>  Environment: Firefox v1.0.7
> Reporter: Guillaume Doumenc

>
> I get a strange behavior when getting attribMap name in cookie.js (line 103)
> The behavior is fixed when I replace the line
> for (var name in attribMap)
> {
> var value = attribMap[name];
>   
> by
> for (var i=0;i {
>   var name = attribMap[i];
> var value = attribMap[name];
> In some case I got the "contains" method in name in the fist case ??
> Don't find any issue in bugzilla for the for in statement in javascript, but 
> I had other strange issue on this last version of Firefox/Javascript and 
> Firefox plugin installed as JavaScript debugger.

-- 
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



[jira] Commented: (TOMAHAWK-1) Unusefull code

2006-02-21 Thread Guillaume Doumenc (JIRA)
[ 
http://issues.apache.org/jira/browse/TOMAHAWK-1?page=comments#action_12367186 ] 

Guillaume Doumenc commented on TOMAHAWK-1:
--

Can you cancel it.. Sorry misunderstanding the calling context..

> Unusefull code
> --
>
>  Key: TOMAHAWK-1
>  URL: http://issues.apache.org/jira/browse/TOMAHAWK-1
>  Project: MyFaces Tomahawk
> Type: Improvement
>   Components: Tree
> Reporter: Guillaume Doumenc
> Priority: Trivial

>
> Not sure this code is usefull in HtmlTreeRenderer line 489
> List componentChildren = null;
> if (null != component)
> {
> componentChildren = component.getChildren();
> }

-- 
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



[jira] Created: (TOMAHAWK-1) Unusefull code

2006-02-21 Thread Guillaume Doumenc (JIRA)
Unusefull code
--

 Key: TOMAHAWK-1
 URL: http://issues.apache.org/jira/browse/TOMAHAWK-1
 Project: MyFaces Tomahawk
Type: Improvement
  Components: Tree  
Reporter: Guillaume Doumenc
Priority: Trivial


Not sure this code is usefull in HtmlTreeRenderer line 489

List componentChildren = null;
if (null != component)
{
componentChildren = component.getChildren();
}




-- 
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



[jira] Commented: (MYFACES-1131) HtmlTree : Cookie value retrieving issue

2006-02-17 Thread Guillaume Doumenc (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-1131?page=comments#action_12366770 
] 

Guillaume Doumenc commented on MYFACES-1131:


This is due to the fact that for root (is state not transient) then there is 
not path. To fix it, just validate the value is not empty...

> HtmlTree : Cookie value retrieving issue
> 
>
>  Key: MYFACES-1131
>  URL: http://issues.apache.org/jira/browse/MYFACES-1131
>  Project: MyFaces
> Type: Bug
>   Components: Tomahawk
> Versions: 1.1.1
> Reporter: Guillaume Doumenc

>
> In HtmlTreeRenderer I get an index Exception when retrieving the cookie value 
> when this value is empty

-- 
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



[jira] Created: (MYFACES-1131) HtmlTree : Cookie value retrieving issue

2006-02-17 Thread Guillaume Doumenc (JIRA)
HtmlTree : Cookie value retrieving issue


 Key: MYFACES-1131
 URL: http://issues.apache.org/jira/browse/MYFACES-1131
 Project: MyFaces
Type: Bug
  Components: Tomahawk  
Versions: 1.1.1
Reporter: Guillaume Doumenc


In HtmlTreeRenderer I get an index Exception when retrieving the cookie value 
when this value is empty

-- 
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