Re: Performance issue with component bindings and Ajax requests

2014-09-02 Thread Leonardo Uribe
Hi I checked the algorithm and I have also fixed the problem (committed in 2.0.x, 2.1.x and 2.2.x). See: https://issues.apache.org/jira/browse/MYFACES-3918 I think the solution is ok, but an extra test could be also helpful. regards, Leonardo 2014-08-20 2:45 GMT-05:00 l.pe...@senat.fr

Re: Performance issue with component bindings and Ajax requests

2014-08-20 Thread Marc Heinz
Thanks for the quick answer! We tried disabling PSS but this actually broke several other things, so we would prefer not to touch it right now. Setting the flag org.apache.myfaces.REMOVING_COMPONENTS_BUILD however seems to do the trick... (we though about using it before but we were unsure about

Re: Performance issue with component bindings and Ajax requests

2014-08-20 Thread l.pe...@senat.fr
On 20/08/2014 09:41, Marc Heinz wrote: Thanks for the quick answer! We tried disabling PSS but this actually broke several other things, so we would prefer not to touch it right now. Setting the flag org.apache.myfaces.REMOVING_COMPONENTS_BUILD however seems to do the trick... (we though about

Performance issue with component bindings and Ajax requests

2014-08-19 Thread Marc Heinz
Hello everybody, We are currently encountering some performances issues with myfaces, and we would really appreciate some help on the subject. We are generating forms to be filled by the user dynamically (through component binding) from a set of externally managed rules. Here is a short

Re: Performance issue with component bindings and Ajax requests

2014-08-19 Thread Leonardo Uribe
Hi The problem is the call to formRoot.getChildren().clear() activates the listener for PreRemoveFromViewEvent and that one register the removed components. Since you are generating over and over components, after many requests that list becomes big. I can imagine two solutions: 1. Disable PSS