Re: Session creation due to session-map access

2020-06-15 Thread Christian Beikov
ium=email_source=link_campaign=sig-email_content=webmail> Virenfrei. www.avast.com <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> Am Mo., 15. Juni 2020 um 21:10 Uhr schrieb Christian Beikov < chris

Re: Session creation due to session-map access

2020-06-15 Thread Christian Beikov
: Hi, Please see https://issues.apache.org/jira/plugins/servlet/mobile#issue/MYFACES-4297 Christian Beikov schrieb am Mo., 15. Juni 2020, 20:19: Hello, during debugging, I found out that in org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage#getResponseEncoding the statement sm.put

Session creation due to session-map access

2020-06-15 Thread Christian Beikov
Hello, during debugging, I found out that in org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage#getResponseEncoding the statement sm.put(CHARACTER_ENCODING_KEY, encoding); creates a session if none exists. I doubt that this is desired, at least in my case it isn't. Also, I don't

Re: JSF 2.3

2014-01-14 Thread Christian Beikov
Could you explain what the actual benefits of the action based programming style are? I am missing the purpose/use cases for the actual need of such a feature. Thanks in advance! Mit freundlichen Grüßen, *Christian

Re: JSF 2.3

2014-01-14 Thread Christian Beikov
is the wrong way. Maybe some real use cases can convince me of the opposite, but for now I can't think of any. On Tue, Jan 14, 2014 at 6:24 AM, Christian Beikov christian.bei...@gmail.com wrote: Could you explain what the actual benefits of the action based programming style are? I am missing the purpose

Re: Unwrap CC ValueExpression?

2013-05-13 Thread Christian Beikov
I'd rather say this should be fixed by restoring the view before accessing the expression. I have done something like that for DynamicContentResourceHandler which probably is used in this case here too. Basically you need to save the viewId and the expression together in the session so you are

Re: Unwrap CC ValueExpression?

2013-05-13 Thread Christian Beikov
. Whats the difference? It would still store the #{cc.attrs.xxx} expression and #{cc} cant be evaluated without #pushComponentToEL(cc). Also #createView should be avoided for such a request IMO because of performance. Regards, Thomas 2013/5/13 Christian Beikov christian.bei...@gmail.com

Re: Unwrap CC ValueExpression?

2013-05-13 Thread Christian Beikov
/13 Christian Beikov christian.bei...@gmail.com The difference is that it can handle the view based scopes where the primefaces impl can't. But as I just realize this won't help you at all. Sorry but for now I can't think of a reliable general purpose way to retrieve the contents without

Re: Unwrap CC ValueExpression?

2013-05-13 Thread Christian Beikov
of PF. I didn't use the media component before, but if the content is really stateless why don't you provide it via something like: #{resource['library:file']} ? 2013/5/13 Thomas Andraschko andraschko.tho...@gmail.com 3.5.4 but thats indepenent :) 2013/5/13 Christian Beikov christian.bei

Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

2013-03-20 Thread Christian Beikov
on this? Mit freundlichen Grüßen, *Christian Beikov* Am 20.03.2013 10:04, schrieb Adrian Gonzalez: Hi Christian, Thanks for the update. I'm also testing on JBoss 7.1.0.Final. I've modified [1] with your remarks (except

Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

2013-03-19 Thread Christian Beikov
Hey, I had the same problem a time ago. Just add following jboss-deployment-structure.xml into META-INF of the EAR: ?xml version=1.0 encoding=UTF-8? jboss-deployment-structure !-- Make sub deployments isolated by default, so they cannot see each others classes without a

Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

2013-03-19 Thread Christian Beikov
? De : Christian Beikov c.bei...@curecomp.com À : users@myfaces.apache.org Envoyé le : Mardi 19 mars 2013 17h18 Objet : Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x Hey, I had the same problem a time ago. Just add following jboss-deployment-structure.xml

Re: CODI ViewAccessScoped issue with EAR on JBoss 7.1.x

2013-03-19 Thread Christian Beikov
dependentWarExcludes in the war plugin config so you can also exclude the jar from overlay projects. Tested with JBoss AS 7.1.0 Final Mit freundlichen Grüßen, *Christian Beikov* Am 19.03.2013 22:51, schrieb Adrian Gonzalez: Hi

Re: [CODI] CODI v1.0.5 + WebSphere v8.5.0.1 problem

2012-12-12 Thread Christian Beikov
also be to move the beans into the web application, but I am not sure if that will work 100% and I also discourage that. Mit freundlichen Grüßen, *Christian Beikov* Am 12.12.2012 22:39, schrieb Denis Forveille: Bad news

Re: [CODI] CODI v1.0.5 + WebSphere v8.5.0.1 problem

2012-12-12 Thread Christian Beikov
on this..lol About what exactly? Again I don't follow you in your answer (Usage of ConversationScope etc..) vs my initial post You wrote that it worked with the CDI conversation scope but not with the codi conversation scope. Cheers Le 2012-12-12 17:28, Christian Beikov a écrit : Why do you want

Re: [CODI] CODI v1.0.5 + WebSphere v8.5.0.1 problem

2012-12-12 Thread Christian Beikov
Am 13.12.2012 00:45, schrieb Denis Forveille: Le 2012-12-12 18:27, Christian Beikov a écrit : Sorry I mixed up your 3 emails a bit. Answers inline. Am 13.12.2012 00:01, schrieb Denis Forveille: This is the pattern defined by Seam 2 all the way and the assumption on which it has been

Re: MyFaces CODI within EAR

2012-09-07 Thread Christian Beikov
in place. I sense some more problems will hit you in this case. What JBossAS version do you use exactly? I would report this issue to the JBoss team. Guess they are happy about such a feedback! LieGrue, strub - Original Message - From: Christian Beikov christian.bei...@gmail.com To: users

MyFaces CODI within EAR

2012-09-06 Thread Christian Beikov
Hello! I am trying to package the codi jsf 2 bundle 1.0.5 within my ear but I am getting some exceptions like: java.lang.NoClassDefFoundError: javax/faces/bean/ViewScoped I have placed the bundle in EAR/lib since I have 2 Webapps that use CODI. Is it even possible to use CODI in such a

Re: MyFaces CODI within EAR

2012-09-06 Thread Christian Beikov
this scenario running over here with 12 webapps in an EAR (with ClassLoader isolation). LieGrue, strub - Original Message - From: Christian Beikov christian.bei...@gmail.com To: MyFaces Discussion users@myfaces.apache.org Cc: Sent: Thursday, September 6, 2012 10:06 PM Subject: MyFaces CODI

Re: MyFaces CODI within EAR

2012-09-06 Thread Christian Beikov
on the classpath. I have this scenario running over here with 12 webapps in an EAR (with ClassLoader isolation). LieGrue, strub - Original Message - From: Christian Beikov christian.bei...@gmail.com To: MyFaces Discussion users@myfaces.apache.org Cc: Sent: Thursday, September 6, 2012 10:06

Apache CODI Bug in version 1.0.5

2012-08-28 Thread Christian Beikov
Hello guys! I just found a bug in the CODI code and wanted to report that to you. In The attachment you can find a maven WAR project that will show the error when you try to access the page. This occurs, because the session cookie of the webapp is configured to be secure, but if you don't

OWB Decorators

2012-04-02 Thread Christian Beikov
Hello there! I have just found out something that really scared me! I am using for this example 2 Decorators for one Interface and a simple implementation, like this: interface Service extends Serializable{ public Object getSomething(int value); public boolean test(String text); }

Re: Clear Input Components after validation or conversion error with JSF 2.1

2012-03-28 Thread Christian Beikov
any sense to keep the local/submitted values after a conversion/validation error occured and after the response is rendered? Thanks again, Michael Am 26.03.2012 17:35, schrieb Christian Beikov: Hey, the following PhaseListener implementation will do the trick, at least this is what I

Re: Clear Input Components after validation or conversion error with JSF 2.1

2012-03-26 Thread Christian Beikov
, Michael -- Mit freundlichen Grüßen, *Christian Beikov*

Re: CODI within EAR with 2 web applications

2012-03-09 Thread Christian Beikov
Hey gerhard, I just tested it with 1.0.4 but the same error occurs. Here again my EE Stack: Websphere 8.0.0.2(JSF2 and the OWB version shipped with websphere) Codi 1.0.4(extcdi-jsf2-bundle) Here is the stacktrace, i hope it will help to resolve the problem. [09.03.12 21:31:30:489 CET]

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

Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating ValueExpression

2012-02-17 Thread Christian Beikov
.+ :-( I really would appreciate if you could post your solution for that problem (and I guess 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

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 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 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

IBM RAD with JUnit and AbstractCdiAwareTest

2011-11-24 Thread Christian Beikov
Hello! I finally got myself to try out the JUnit-CDI tests but the actual result is dissappointing. I added the following libraries to the build path of a project: myfaces-extcdi-base-test-infrastructure-1.0.1.jar myfaces-extcdi-bundle-jsf20-1.0.1.jar

Re: IBM RAD with JUnit and AbstractCdiAwareTest

2011-11-24 Thread Christian Beikov
Am 24.11.2011 13:12, schrieb Gerhard Petracek: hi christian, you need additional test-dependencies. you can have a look at a working config at [1]. regards, gerhard [1] http://code.google.com/a/apache-extras.org/p/myfaces-codi-examples/source/browse/community/pom.xml http://www.irian.at

Re: IBM RAD with JUnit and AbstractCdiAwareTest

2011-11-24 Thread Christian Beikov
I already tried to get Arquillian to work but it seems to be very hard to get it working in IBM RAD without maven. Just right now I am trying to get all libs I need to successfully run a test, but as I said, without maven it's a pain... I still don't understand why these CdiAware tests throw a

OWB Decorator problem

2011-11-07 Thread Christian Beikov
Hello there! I have a problem with OWB that does not occur on WELD and I wasn't able to find a solution for that yet. I am using OWB 1.0 shipped with IBM WAS 8.0.0.1 and the scenario is like this: class A implements Service{} class ADecorator implements Service{} class InterceptorImpl{} Now

Re: OWB Decorator problem

2011-11-07 Thread Christian Beikov
Am 07.11.2011 20:33, schrieb Mark Struberg: hi Christian! guess this was meant for u...@openwebbeans.apache.org? :) LieGrue, strub - Original Message - From: Christian Beikovchristian.bei...@gmail.com To: users@myfaces.apache.org Cc: Sent: Monday, November 7, 2011 7:16 PM Subject: