ajaxErrorHandler - failure

Community Driven Extensions Project
Post Reply
tricky10
Posts: 79
Joined: 25 Oct 2010, 08:52
Location: Poland

07 Oct 2012, 16:34

It doesn't work with 0.6.0 - with 0.5.1 iw works properly :( - don't know why
Cache was clread but nothing helps only 0.5.1 :)
Glassfish Application Server V3.1.2.2
Primefaces Library 3.5 FINAL
Sun Mojarra 2.1.20

tricky10
Posts: 79
Joined: 25 Oct 2010, 08:52
Location: Poland

07 Oct 2012, 16:41

Ok resolved

exception-handler-factory:
Add this lines to your faces-config.xml, if you use variables {error-stacktrace} or {error-hostname}.
<factory>
<exception-handler-factory>org.primefaces.extensions.component.ajaxerrorhandler.AjaxExceptionHandlerFactory</exception-handler-factory>
</factory>

After adding this it's working with 0.6.0 . 0.5.1 was working wihtout thi .- but i don't remember if it was required ? It would be nice if you add this information in every example or at the right screen or somthing - beacuse everybody can miss this part - it's mention only in one example
Glassfish Application Server V3.1.2.2
Primefaces Library 3.5 FINAL
Sun Mojarra 2.1.20

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

07 Oct 2012, 16:52

We disabled it per default and removed the entry from our delivered faces-config.xml.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

tricky10
Posts: 79
Joined: 25 Oct 2010, 08:52
Location: Poland

08 Oct 2012, 15:52

If so you should add some description tahht it mus be added into the faces-config otherwise it will not work . Am i right ?
Glassfish Application Server V3.1.2.2
Primefaces Library 3.5 FINAL
Sun Mojarra 2.1.20

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

08 Oct 2012, 15:56

I thought we added a description to the showcase. Not?
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

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

08 Oct 2012, 15:58

Oleg wrote:I thought we added a description to the showcase. Not?
AFAICS, no :) -> http://fractalsoft.net/primeext-showcas ... andler.jsf
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

tricky10
Posts: 79
Joined: 25 Oct 2010, 08:52
Location: Poland

09 Oct 2012, 12:36

Exactly it's not - it is only in one example ! But not on the main description i think u should fix this beacuse it's very easy to miss - that's all :)
Glassfish Application Server V3.1.2.2
Primefaces Library 3.5 FINAL
Sun Mojarra 2.1.20

User avatar
Pavol Slany
Posts: 20
Joined: 11 Jun 2012, 15:38
Location: Bratislava, Slovakia
Contact:

13 Jan 2013, 14:08

Hi All,
tricky10 wrote:Exactly it's not - it is only in one example ! But not on the main description i think u should fix this beacuse it's very easy to miss - that's all :)
Actually showcase in GIT contains more information about ajaxErrorHandler (how installation, comparision what work in pe:ajaxErrorHandler without exception-handler-factory, etc). This informaion will be available on first page in showcase after next release.

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests