Hi,
I've encountered some ordering problems between primefaces and seam-faces phaselisteners and I've noticed that primefaces config doesn't have a name. This makes nearly impossible to control the order of the primefaces faces-config.xml file.
So, is it possible to officially name it and maybe give it some default relative order?
At the moment I've named it "primefaces" and I've put it on the last place with absolute ordering. I was guessing that because of PrimeFacesPhaseListener (rendering ajax requests) it should be last, but on the other hand I'm not sure for the other two of the primefaces phaselisteners. I would appreciate if someone could confirm that this ordering is ok and that it won't break anything else.
name and ordering of faces-config.xml
Hi,
Please, vote this issue which I reported a couple of month ago http://code.google.com/p/primefaces/iss ... ail?id=532
I needed this issue in my projects because there were compatibility issue with other libraries (inkl. own libs). At the moment I don't use other libs, but ordering is a very useful feature for JSF 2.
Best regards.
Please, vote this issue which I reported a couple of month ago http://code.google.com/p/primefaces/iss ... ail?id=532
I needed this issue in my projects because there were compatibility issue with other libraries (inkl. own libs). At the moment I don't use other libs, but ordering is a very useful feature for JSF 2.
Best regards.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
Actually, I explained in this post http://primefaces.prime.com.tr/forum/vi ... f=3&t=1417 why we need the ordering. It's easy to fix and will allow us a smart overwriting / extending of PrimeFaces components.
Cagatay, can you put a name in the faces-config.xml for the upcoming release please? This is a question related to core technology and should be anwered with high precedence
Thanks.
Cagatay, can you put a name in the faces-config.xml for the upcoming release please? This is a question related to core technology and should be anwered with high precedence
Thanks.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
JAR files are loaded in alphabetically order pre default. Normally
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
But, if I force loading of primefaces config to happen last (via absolute ordering of faces-config for example), will it affect correct functioning of primefaces?
Are there any known ordering requirements for primefaces phaselisteners, etc?
primefaces-2.0.2 / mojarra-2.0.2 / glassfish v3.0.1
I would say you should force loading of PrimeFaces artifacts as first and not as last.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin