AW: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-17 Thread Thomas Kernstock
] Gesendet: Donnerstag, 16. Februar 2012 17:09 An: MyFaces Discussion Betreff: Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression Thank you very much gerhard! I just implemented a test for the problem I face and in fact, primefaces did something very wrong. Even the standard

Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-17 Thread Christian Beikov
-Ursprüngliche Nachricht- Von: Christian Beikov [mailto:c.bei...@curecomp.com] Gesendet: Donnerstag, 16. Februar 2012 17:09 An: MyFaces Discussion Betreff: Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression Thank you very much gerhard! I just implemented a test

AW: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-17 Thread Thomas Kernstock
in resource loading request. best regards Thomas -Ursprüngliche Nachricht- Von: Christian Beikov [mailto:c.bei...@curecomp.com] Gesendet: Donnerstag, 16. Februar 2012 17:09 An: MyFaces Discussion Betreff: Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression Thank

Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-17 Thread Gerhard Petracek
not only me but a couple of other people :-)) best regards Thomas -Ursprüngliche Nachricht- Von: Christian Beikov [mailto:c.bei...@curecomp.com] Gesendet: Freitag, 17. Februar 2012 09:31 An: MyFaces Discussion Betreff: Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating

Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-17 Thread Christian Beikov
Discussion Betreff: Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression Hi Thomas! This is probably already out of topic, but the main reason for the problem is, that the scope is just not available if the view restore phase is not completed. My current solution is: * Own

Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-17 Thread Gerhard Petracek
:31 An: MyFaces Discussion Betreff: Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression Hi Thomas! This is probably already out of topic, but the main reason for the problem is, that the scope is just not available if the view restore phase is not completed. My current

AW: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-17 Thread Thomas Kernstock
] Gesendet: Freitag, 17. Februar 2012 09:31 An: MyFaces Discussion Betreff: Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression Hi Thomas! This is probably already out of topic, but the main reason for the problem is, that the scope is just not available if the view

CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-16 Thread Christian Beikov
Hello there! I have a problem with the CODI JSF Scope ViewAccessScope and the PrimeFaces ResourceHandler. Primefaces evaluates a value expression within the resource handler to retrieve dynamic content, why and how is not important. The fact is, that the ResourceHandler is called before

Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-16 Thread Gerhard Petracek
hi christian, a workaround would be an own ConversationFactory - but that means a lot of work. since the myfaces codi conversation scopes (the view-access scope is just a special conversation type) are bound to jsf by default, it wasn't intended to support access outside of the jsf

Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-16 Thread Christian Beikov
The more concrete question on the problem i face would probably be: Is the ViewAccessScope designed to work for a JSF ResourceHandler which is called instead of the normal JSF Lifecycle? None of the JSF Phases is executed when a ResourceHandler is invoked, so would it actually be possible

Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-16 Thread Gerhard Petracek
hi christian, the short answer is: no - it was never intended to support it. however, if you provide an use-case which isn't supported, we will discuss it. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German

Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-16 Thread Christian Beikov
Thank you very much gerhard! I just implemented a test for the problem I face and in fact, primefaces did something very wrong. Even the standard ViewScope is, as expected, not supported. I appreciate your fast response time, CODI FTW! ;) Am 16.02.2012 17:05, schrieb Gerhard Petracek: hi

Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-16 Thread Gerhard Petracek
you are welcome! :) regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2012/2/16 Christian Beikov c.bei...@curecomp.com Thank you very much gerhard! I just implemented

Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-16 Thread Mark Struberg
Petracek gerhard.petra...@gmail.com To: MyFaces Discussion users@myfaces.apache.org Cc: Sent: Thursday, February 16, 2012 5:05 PM Subject: Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression hi christian, the short answer is: no - it was never intended to support

Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-16 Thread Gerhard Petracek
Subject: Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression hi christian, the short answer is: no - it was never intended to support it. however, if you provide an use-case which isn't supported, we will discuss it. regards, gerhard http

RE: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-16 Thread Carlson, John W.
Uh, are you guys saying the FacesContext isn't available in a ResourceHandler? If it's not available, this is a major pain for people with dynamic resource generation. Essentially, one would have to pass all the necessary information through the URL, or through a non-JSF session. I realize

RE: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-16 Thread Carlson, John W.
Struberg Cc: Java Programmers List Subject: [java] RE: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression Uh, are you guys saying the FacesContext isn't available in a ResourceHandler? If it's not available, this is a major pain for people with dynamic resource generation

Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-16 Thread Mark Struberg
Subject: RE: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression Uh, are you guys saying the FacesContext isn't available in a ResourceHandler?  If it's not available, this is a major pain for people with dynamic resource generation.  Essentially, one would have to pass all