Problems whith JsValueChangeListenerRenderer
--------------------------------------------

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

    Versions: 1.1.3    
 Environment: jboss-4.0.3SP1
myfaces 1.1.3
tomahawk 1.1.3
facelets 1.1.10
    Reporter: Jorge Rodríguez Pedrianes


Hi!!!  the new implementation of JsValueChangeListenerRenderer has a important 
problem:
   When the page is rendered for second time (without navigate to another 
page), the onchange javascript indicated on jsvaluechangelistener component is 
added to parent component twice, althought that was added before. In the 
version of tomahawk 1.1.1 this bug dont exist because, have code that prevent 
this:
            
            //check if method call has already been added...
                    if(oldValueStr.indexOf(value)!=-1)
                           return;

     And in the new version this code was deleted.

   Thanks

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

Reply via email to