You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jorge Rodríguez Pedrianes (JIRA)" <de...@myfaces.apache.org> on 2006/06/27 19:36:31 UTC

[jira] Created: (TOMAHAWK-507) Problems whith JsValueChangeListenerRenderer

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