CODI/ExtVal Add-Ons

2011-10-11 Thread Thomas Andraschko
Hi, is there a list with all CODI and ExtVal Add-Ons available? Especially i'm interested in the CODI Boos Add-On. Is there also an Maven Repository for this stuff? Thanks and best regards Thomas

Re: CODI/ExtVal Add-Ons

2011-10-17 Thread Thomas Andraschko
in English and German Professional Support for Apache MyFaces 2011/10/11 Thomas Andraschko zoi...@googlemail.com Hi, is there a list with all CODI and ExtVal Add-Ons available? Especially i'm interested in the CODI Boos Add-On. Is there also an Maven Repository for this stuff

NPE with CODI, OWB and JUNIT

2011-10-17 Thread Thomas Andraschko
Hi, my junit tests extends from AbstractCdiAwareTest and i'm trying to inject one of my DAO's. The NPE occurs in TestContainerFactory.isServletContextAwareContainer because testContainer is null. Here is my list with depenedencies: artifactIdjunit/artifactId

Re: NPE with CODI, OWB and JUNIT

2011-10-17 Thread Thomas Andraschko
Also i don't want to include jsf/web dependencies to this module, i only need a CDI aware test. This is just for my business logic layer. 2011/10/17 Thomas Andraschko zoi...@googlemail.com Hi Gerhard, do i really need this when i just want to test my business logic without web and jsf

Re: NPE with CODI, OWB and JUNIT

2011-10-18 Thread Thomas Andraschko
and Courses in English and German Professional Support for Apache MyFaces 2011/10/17 Thomas Andraschko zoi...@googlemail.com Also i don't want to include jsf/web dependencies to this module, i only need a CDI aware test. This is just for my business logic layer. 2011/10/17 Thomas Andraschko zoi

Warning with CODI and MyFaces

2011-10-28 Thread Thomas Andraschko
Hi, i get following warning from OWB: WARNUNG: No suitable constructor found for injection target class : [class org.apache.myfaces.shared.context.SwitchAjaxExceptionHandlerWrapperImpl]. produce() method does not work! 28.10.2011 14:00:42

Re: Warning with CODI and MyFaces

2011-10-28 Thread Thomas Andraschko
? LieGrue, strub - Original Message - From: Thomas Andraschko zoi...@googlemail.com To: MyFaces Discussion users@myfaces.apache.org Cc: Sent: Friday, October 28, 2011 2:05 PM Subject: Warning with CODI and MyFaces Hi, i get following warning from OWB: WARNUNG

Re: Warning with CODI and MyFaces

2011-10-28 Thread Thomas Andraschko
(navigation = NavigationMode.REDIRECT). Navigation Rules for example works without problems :) 2011/10/28 Thomas Andraschko zoi...@googlemail.com Hi Mark! I using CODI 1.0.1 with OWB 1.1.2. It's almost a clean project! I just added a ViewConfig (like [1]) and these warnings occured. Without

Re: Warning with CODI and MyFaces

2011-10-30 Thread Thomas Andraschko
/28 Thomas Andraschko zoi...@googlemail.com Are there also any limitations which ajax and redirects or could the warning break this functionality? I tried a simple redirect with ajax and the action attribute of p:commandButton but this does not work if i use the page class as return

Re: Warning with CODI and MyFaces

2011-10-30 Thread Thomas Andraschko
powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2011/10/30 Thomas Andraschko zoi...@googlemail.com Hi Gerhard, thanks for your answer. I tried to reproduce the warning at home and it does not occur. I will try this next

Re: Warning with CODI and MyFaces

2011-10-31 Thread Thomas Andraschko
Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2011/10/30 Thomas Andraschko zoi...@googlemail.com Hi Gerhard, your example works without problems after adding a beans.xml. But i really do not understand why my small example does not work

Re: Warning with CODI and MyFaces

2011-10-31 Thread Thomas Andraschko
Professional Support for Apache MyFaces 2011/10/31 Thomas Andraschko zoi...@googlemail.com Hi Gerhard, thanks, you are right! I added a package and it works now. I currently try to reproduce the warnings, that i mentioned in the first mail, within a clean project but somehow i can't

Best practices for validating an complete object/entity

2011-11-16 Thread Thomas Andraschko
Hi, i have some input fields for an entity and i want to check if the entered name does already exist. So i tried to create an BV constraint for the name property but i also need the parent entity object (for checking if the entity is transient or not). In a BV validator i can't get the the

Validating an complete object

2011-11-16 Thread Thomas Andraschko
Hi, i have some input fields for an entity and i want to check if the entered name does already exist. So i tried to create an BV constraint for the name property but i also need the parent entity object (for checking if the entity is transient or not). In a BV validator i can't get the the

Re: Best practices for validating an complete object/entity

2011-11-16 Thread Thomas Andraschko
/confluence/display/EXTCDI/BV+Usage#BVUsage-DependencyInjectioninConstraintValidators http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2011/11/16 Thomas Andraschko zoi...@googlemail.com Hi

Re: Best practices for validating an complete object/entity

2011-11-16 Thread Thomas Andraschko
in the 2nd thread you opened. regards, gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2011/11/16 Thomas Andraschko zoi...@googlemail.com Hi Gerhard, thanks for your reply

Re: Validating an complete object

2011-11-16 Thread Thomas Andraschko
in). You can do it with a Bean Validation constraint (put it on the class level) or a Custom ExtVal constraint (also on class level) If you need more help, let us know. Regards -- Rudy De Busscher http://www.c4j.be On 16 November 2011 17:20, Thomas Andraschko zoi...@googlemail.com wrote

Multiple test methods in AbstractCdiAwareTest

2011-11-22 Thread Thomas Andraschko
Hi, i trying to use multiple test methods in my JUnit testcase. The problem is, on the second method call, a exception will be thrown by CODI. AFAICS CODI will initialize the ViewConfig a second time. Is this a known limitation? A example: public class MyTest extends AbstractCdiAwareTest {

Re: Multiple test methods in AbstractCdiAwareTest

2011-11-22 Thread Thomas Andraschko
-modules/jsf-module/impl/src/test/java/org/apache/myfaces/extensions/cdi/jsf/test/impl/config/view/ViewConfigTest.java http://www.irian.at Your JSF/JEE powerhouse - JEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2011/11/22 Thomas

Re: comment block within panelGrid, unexpected result - MyFaces Core 2.0

2011-12-23 Thread Thomas Andraschko
Hi, we noticed the same behavior. If you set javax.faces.FACELETS_SKIP_COMMENTShttp://myfaces.apache.org/core21/myfaces-impl/webconfig.html#javax_faces_FACELETS_SKIP_COMMENTSto true, all comments will be skipped. 2011/12/23 Ibra ibra...@gmail.com Hello team, I am working with MyFaces Core

Weird PlexusContainer object in ViewRoot

2011-12-27 Thread Thomas Andraschko
Hi, i'm trying to use the statelessjsf addon (It's a addon developed by industrieit from rudy but the link is currently offline) for my application. In a basic sample application it works with myfaces (with some modification) and mojarra. Somehow in my real project, i get an exception when the

Re: Weird PlexusContainer object in ViewRoot

2011-12-30 Thread Thomas Andraschko
martin.kocicak.k...@gmail.com Hi, Plexus container is a IoC container used by Maven, so this must be bug/feature in maven jetty plugin in combination with statelessjsf. Do you deploy it with mvn jetty:run? Regards, Kočičák Thomas Andraschko píše v Út 27. 12. 2011 v 15:00 +0100: Hi, i'm trying

Re: Weird PlexusContainer object in ViewRoot

2011-12-30 Thread Thomas Andraschko
% improvement: did you get similar results with myfaces? Regards, Kočičák [1] https://issues.apache.org/jira/browse/MYFACES-3266 [2] http://industrieit.com/blog/2011/11/stateless-jsf-high-performance-zero-per-request-memory-overhead/ Thomas Andraschko píše v Pá 30. 12. 2011 v 12:43 +0100: Hi

Re: MyFaces installation help

2011-12-30 Thread Thomas Andraschko
Hi, @Named is only supported with CDI, it's not in the JSF API. You need a CDI implementation like OpenWebBeans or Weld. Best regards, Thomas 2011/12/30 jiminssy jiminpa...@gmail.com Hi, Thanks for taking the time to respond. See... I have only worked on small projects in school where I

Re: Weird PlexusContainer object in ViewRoot

2011-12-30 Thread Thomas Andraschko
for stateless views. How does your plugin work? Some details would be great :) Best regards Thomas 2011/12/30 Thomas Andraschko zoi...@googlemail.com Hi, yep, thanks! I completly redeveloped it (i also contributed the new code back) and i just test it but the improvement is similar - it's much faster

Re: Weird PlexusContainer object in ViewRoot

2012-01-05 Thread Thomas Andraschko
be great :) Best regards Thomas 2011/12/30 Thomas Andraschko zoi...@googlemail.com Hi, yep, thanks! I completly redeveloped it (i also contributed the new code back) and i just test it but the improvement is similar - it's much faster! I can post the detail later

Re: Weird PlexusContainer object in ViewRoot

2012-01-10 Thread Thomas Andraschko
could i share it? I could add it as submodule to primefaces-extensions but it has nothing to do with primefaces... MyFaces Extension or else would be great :D 2012/1/5 Thomas Andraschko zoi...@googlemail.com Hi Mark, thanks for sharing your request times! don't know but it's really that slow

Re: Weird PlexusContainer object in ViewRoot

2012-01-11 Thread Thomas Andraschko
for your interest about doing these comparisons. 2012/1/10 Thomas Andraschko zoi...@googlemail.com: So, here are finally some results from JMeter for 600 requests. Both MyFaces and Mojarra runs on Jetty8. http://img59.imageshack.us/img59/4720/stateless.jpg AFAICS MyFaces performs better

Re: Weird PlexusContainer object in ViewRoot

2012-01-26 Thread Thomas Andraschko
. @Thomas Andraschko : It could be great if you have some time to try the code and share your findings. You can find 2.1.6-SNAPSHOT or 2.0.12-SNAPSHOT snapshots here: https://repository.apache.org/content/repositories/snapshots/org/apache/myfaces/core regards, Leonardo Uribe 2012/1/11 Thomas

Pluggable serialization

2012-01-26 Thread Thomas Andraschko
Hi, i know, there already is an wiki entry which explains how to use JBoss Serialization. I tried this in our application but unfortunately there is mem leak which occurs after some jetty or tomcat restarts. We don't use client side state saving but AFAIK it will also be used for

Re: Pluggable serialization

2012-01-27 Thread Thomas Andraschko
it is the container, not the application itself who defines which serialization provider should use. regards, Leonardo Uribe 2012/1/26 Thomas Andraschko zoi...@googlemail.com Hi, i know, there already is an wiki entry which explains how to use JBoss Serialization. I tried this in our

Re: Myfaces 2.1.6 change of behaviour for h:outputScript

2012-02-09 Thread Thomas Andraschko
Hi, why you can't use the directory in the name attribute? h:outputScript library=javascript name=mysuperlibrary/mysuperscript.js / Regards, Thomas 2012/2/9 Bruno Aranda brunoara...@gmail.com Hi, I can see there are some improvements related to the resource handling and to fix a security

[CODI] Injection in PhaseListener

2012-02-20 Thread Thomas Andraschko
Hi, i tried to use injection in a PhaseListener, which is registered via: f:phaseListener type= / but it does not work. Isn't this supported with CODI? Best regards, Thomas

Weird partial-response behavior with 2 partial-response tags

2012-02-23 Thread Thomas Andraschko
Hi, i have a weird behavior on some partial requests/responses. If i get a exception a partial request, my ExceptionHandler will be called and a redirect to my own error page will be done. However, PrimeFaces throws an FacesException if a component can not be found (I think this is the same

Re: Weird partial-response behavior with 2 partial-response tags

2012-02-23 Thread Thomas Andraschko
...@gmail.com Hi, your exception comes from render response phase, right? see [1]. It is a know problem but not solveable know - it requires specification change I think. Regards, Kočičák [1] https://issues.apache.org/jira/browse/MYFACES-3191 Thomas Andraschko píše v Čt 23. 02

Re: Weird partial-response behavior with 2 partial-response tags

2012-02-23 Thread Thomas Andraschko
getter - in 99.9% is there no exception. Do you have a use case which needs some complex (potentionally buggy) processing in render response phase? Thomas Andraschko píše v Čt 23. 02. 2012 v 16:40 +0100: Hi, yep it comes from render reponse phase. Hmm is see. But how can i catch

[CODI] ThreadScoped / EntityManager in a new Thread

2012-03-15 Thread Thomas Andraschko
Hi, In our webapp, we have an asynchronous XML sender and receiver and we also need db access with transactions in this thread. Currently, our EntityManager is procuded in RequestScoped and will not work in a new thread. How can i solve this? Does any ThreadScoped implementation exists? Thanks

Re: [CODI] ThreadScoped / EntityManager in a new Thread

2012-03-15 Thread Thomas Andraschko
-deltaspike.git;a=blob;f=deltaspike/cdise/api/src/main/java/org/apache/deltaspike/cdise/api/CdiContainer.java;h=dc8be0b87f4d350ce0539eec2a43590eeb13e88b;hb=HEAD - Original Message - From: Thomas Andraschko zoi...@googlemail.com To: MyFaces Discussion users@myfaces.apache.org Cc: Sent

AJAX Request - No Cache

2012-04-03 Thread Thomas Andraschko
Hi, as far as i can see, the PartialViewContextImpl sets No-Cache to all AJAX requests. Is this required in all cases? We have an application with nearly static data which will changed only at night. Our search queries are implemented via URL params and the cache-header is set to expires at

[EXTVAL] @Column.lenght - h:inputText

2012-04-12 Thread Thomas Andraschko
Hi, we have a value binding on an h:inputText. The binded variable has @Column and the default value of length is 255. I try to overwrite this via maxlength attribute on the h:inputText but the rendered maxlenght is 255. How can disable this behavior for a single input field? Best regards,

Re: [EXTVAL] @Column.lenght - h:inputText

2012-04-12 Thread Thomas Andraschko
://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2012/4/12 Thomas Andraschko zoi...@googlemail.com Hi, we have a value binding on an h:inputText. The binded variable has @Column

Re: [EXTVAL] @Column.lenght - h:inputText

2012-04-12 Thread Thomas Andraschko
and override #configureMaxLengthAttribute) - register it via an extval startup listener. 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/4/12 Thomas Andraschko

Re: problem compatibility Myfaces/Spring

2012-04-13 Thread Thomas Andraschko
The Spring-JSF-Integration is very limited, i think all (maybe not 1.0-beta...) versions should be compatible. 2012/4/13 ayouB __ ayb-2...@hotmail.fr Thanks for your reply Denis, but i'm asking what versions of Myfaces are completely compatible with Spring 3.0.0 exactely not any other version

Re: OWB

2012-04-24 Thread Thomas Andraschko
Hi, it's very easy. Just add the dependencies (impl,resource,jsf,web,spi) and configure this listener in your web.xml: listener listener-classorg.apache.webbeans.servlet.WebBeansConfigurationListener/listener-class /listener Regards, Thomas 2012/4/24 José

Re: OWB

2012-04-24 Thread Thomas Andraschko
annotations??? do you know what i mean??? Works with the same annotations from WELD? that's the point i cant find basic information anywhere 2012/4/24 Thomas Andraschko zoi...@googlemail.com Hi, it's very easy. Just add the dependencies (impl,resource,jsf,web,spi) and configure

Re: OWB

2012-04-24 Thread Thomas Andraschko
its an extension!!! Thanks 2012/4/24 Thomas Andraschko zoi...@googlemail.com You use it like WELD. You can use all the stuff from the javax.enterprise.context package. CDI is an API and WELD or OWB is an implementation :) 2012/4/24 José Luis Cetina maxtorz...@gmail.com

Re: Switch state saving method per page

2012-05-09 Thread Thomas Andraschko
I tried it but somehow it does not work and i get an new or empty ViewState field on postbacks. Would be cool if anyone could guide me before i must read and understand the complete state saving code :-) 2012/5/9 Thomas Andraschko zoi...@googlemail.com Hi, is it possible to switch client

Re: Switch state saving method per page

2012-05-09 Thread Thomas Andraschko
2012/5/9 Thomas Andraschko zoi...@googlemail.com: I tried it but somehow it does not work and i get an new or empty ViewState field on postbacks. Would be cool if anyone could guide me before i must read and understand the complete state saving code :-) 2012/5/9 Thomas Andraschko zoi

Re: commandlink not working in panelgrid

2012-05-09 Thread Thomas Andraschko
I also had this problem month's ago and i don't like :) Maybe it would be better if rendered attribute evaluation would be skipped for the action-source component. But don't know if this would have some side effects. 2012/5/9 Lim Hock-Chai lim.hock-c...@usamobility.com Finally got it to work

Re: Switch state saving method per page

2012-05-11 Thread Thomas Andraschko
. The problem is according to the method used (client side or server side) there are some small details that makes too difficult to create a clean API, so in that sense the spec looks good. regards, Leonardo Uribe 2012/5/9 Thomas Andraschko zoi...@googlemail.com: Hi Leonardo, i already checked

Re: Conversation Scope in JSF 2.0

2012-05-16 Thread Thomas Andraschko
I use CODI in an clustered environemnt, no problems till now :) 2012/5/16 tclam tc...@hkeaa.edu.hk I am trying to implement conversation scope in backing bean of JSF for our application. At first, I am trying to use MyFaces Orchestra. It seems to work well. However, I am concerning the case

Re: Conversation Scope in JSF 2.0

2012-05-16 Thread Thomas Andraschko
Thank you. Have you test the conversation during session replication? Anyone try MyFaces Orchestra? Thomas Andraschko-2 wrote: I use CODI in an clustered environemnt, no problems till now :) 2012/5/16 tclam tc...@hkeaa.edu.hk I am trying to implement conversation scope

Re: Weird partial-response behavior with 2 partial-response tags

2012-06-11 Thread Thomas Andraschko
Hi, Any news about this issue? One developer from the primefaces-extensions team created an ajaxErrorHandler and a PrimeFaces user would like to use this but the same error occurs: http://forum.primefaces.org/viewtopic.php?f=14t=22598p=69185#p69185 Regards, Thomas 2012/2/23 Thomas Andraschko

Re: Weird partial-response behavior with 2 partial-response tags

2012-06-11 Thread Thomas Andraschko
() in ViewDeclarationLanguage.renderView(), but we can ignore it or find a workaround for that. Thomas Andraschko píše v Po 11. 06. 2012 v 12:43 +0200: Hi, Any news about this issue? One developer from the primefaces-extensions team created an ajaxErrorHandler and a PrimeFaces user would like to use

Re: Weird partial-response behavior with 2 partial-response tags

2012-06-11 Thread Thomas Andraschko
Hi, it does not work in Mojarra, too. Mojarra does not have handled or unhandles exception in my custom ExceptionHandler. So it would be an cool feature in MyFaces :) Regards, Thomas 2012/6/11 Thomas Andraschko zoi...@googlemail.com Hi, don't know, will test it today :) Regards, Thomas

Re: h:outputStylesheet

2012-06-12 Thread Thomas Andraschko
Hi, don't know exactly anymore but could you try: outputStylesheet library=css name=test/my.css ? Regards, Thomas 2012/6/12 José Luis Cetina maxtorz...@gmail.com If i use outputStylesheet library=css name=my.css (in my h:head tag) works ok with this structure folder resources/ css/

Process ViewParams on AJAX request?

2012-06-13 Thread Thomas Andraschko
Hi, we introduced an global ajax poll (p:ajax) which possible polls several minutes over several pages. On some pages, we have viewParams and a registered preRenderView event. The poll triggers the preRenderView but does not process the viewParams again. Our viewParams are mapped to an

[CODI] redirect to ErrorView instead of Forward

2012-06-19 Thread Thomas Andraschko
Hi, is it possible to send a redirect instead of forward for the ErrorView? We cache some of our pages and sometimes the ErrorView will be cached instead of the real view. Regards, Thomas

Re: [CODI] redirect to ErrorView instead of Forward

2012-06-19 Thread Thomas Andraschko
which does a forward. Thanks, Thomas 2012/6/19 Gerhard Petracek gerhard.petra...@gmail.com hi thomas, you can use: @Page(navigation = Page.NavigationMode.REDIRECT) for any view-config. regards, gerhard 2012/6/19, Thomas Andraschko zoi...@googlemail.com: Hi, is it possible to send

Re: [CODI] redirect to ErrorView instead of Forward

2012-06-19 Thread Thomas Andraschko
it. regards, gerhard 2012/6/19, Thomas Andraschko zoi...@googlemail.com: Hi Gerhard, yes i know but i mean: @Secured(value = LoginAccessDecisionVoter.class, errorView = SessionExpired.class) I can't define if redirect or forward should be used for this error view. Right? AFAICS

Re: [CODI] redirect to ErrorView instead of Forward

2012-06-19 Thread Thomas Andraschko
do something about it: it would be nice if you just remove the check of 'allowNavigation' in SecurityUtils#processApplicationSecurityException and test it with your application. regards, gerhard 2012/6/19, Thomas Andraschko zoi...@googlemail.com: Hi Gerhard, why isn't possible

Re: [CODI] redirect to ErrorView instead of Forward

2012-06-19 Thread Thomas Andraschko
Hi Gehard, created! https://issues.apache.org/jira/browse/EXTCDI-296 Thanks! Regards, Thomas 2012/6/19 Gerhard Petracek gerhard.petra...@gmail.com hi thomas, yes - that's what i had in mind. please create a jira ticket (improvement). thx regards, gerhard 2012/6/19, Thomas Andraschko

Re: [EXTVAL] @Column.lenght - h:inputText

2012-06-25 Thread Thomas Andraschko
2012/4/12 Thomas Andraschko zoi...@googlemail.com Hi, ok cool - i will try it! Thanks! 2012/4/12 Gerhard Petracek gerhard.petra...@gmail.com hi thomas, that isn't supported by default (intentionally). however, you can provide a custom ComponentInitializer. (implement the interface

Re: [EXTVAL] @Column.lenght - h:inputText

2012-06-26 Thread Thomas Andraschko
- JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2012/6/25 Thomas Andraschko zoi...@googlemail.com Hi Gerhard, i implemented this in my app but without an custom ComponentInitializer. I just overwritten

[EXTVAL] Disable ExtVal for specific pages

2012-07-10 Thread Thomas Andraschko
Hi, is it possible to disable ExtVal for specific pages? We have some lists with ~2000 items in ui:repeat, without inputs and without any ExtVal feature. The rendertime with ExtVal is arround 1,2seconds, without ~800ms. Thanks! Regards, Thomas

Re: [EXTVAL] Disable ExtVal for specific pages

2012-07-10 Thread Thomas Andraschko
Hi, I created EXTVAL-145 and EXTVAL-146 with patch and the overhead is now ~100-150ms instead of ~400ms. Regards, Thomas 2012/7/10 Thomas Andraschko zoi...@googlemail.com Hi, is it possible to disable ExtVal for specific pages? We have some lists with ~2000 items in ui:repeat, without

Cannot reset buffer after response has been committed JspViewDeclarationLanguageStrategy

2012-07-25 Thread Thomas Andraschko
Hi, i get following error if i try to open a page, which does not exist: Cannot reset buffer after response has been committed As far as i can see, the JspViewDeclarationLanguageStrategy handles the null viewId and if i return false in #isHandle, it works without problems. Why

Re: Cannot reset buffer after response has been committed JspViewDeclarationLanguageStrategy

2012-07-25 Thread Thomas Andraschko
Ah, sorry! I got another exception now: javax.faces.FacesException: Cannot find a valid PDL for view id null. So the third question is, isn't there any viewId == null check? 2012/7/25 Thomas Andraschko zoi...@googlemail.com Hi, i get following error if i try to open a page, which does

Re: Cannot reset buffer after response has been committed JspViewDeclarationLanguageStrategy

2012-07-25 Thread Thomas Andraschko
I created an issue after analzing the original problem: https://issues.apache.org/jira/browse/MYFACES-3587 Should i also create an issue because disable SUPPORT_JSP_AND_FACES_EL requires to set the EXPRESSION_FACTORY? Or is it be design? 2012/7/25 Thomas Andraschko zoi...@googlemail.com Ah

Re: Migrating to CDI: @Asynchronous

2012-11-20 Thread Thomas Andraschko
Sorry for the off topic, but if you think that your biggest bottleneck is in your data-layer, you should give batoo jpa a try ;) 2012/11/20 Howard W. Smith, Jr. smithh032...@gmail.com Well, you and others 'sold' me onto TomEE, so here I am. If I can get this migration to TomEE and CDI

Re: Migration to TomEE/CDI complete, regression testing, ViewAccessScoped

2012-11-21 Thread Thomas Andraschko
migrate from Glassfish 3.1.2.2 and JSF Managed beans to TomEE and CDI managed beans. I think the migration is complete. I am in regression testing phase/mode now. :) Special shout out to Thomas Andraschko, as his inputs in PrimeFaces forums and blogs, lead/motivated me to migrate from Mojarra

Re: Migration to TomEE/CDI complete, regression testing, ViewAccessScoped

2012-11-21 Thread Thomas Andraschko
forward to the performance advantages/gains of OpenWebBeans. :) Also, this Batoo JPA that you mentioned earlier, because EclipseLink/Derby and Google Calendar requests/updates are the only 2 bottlenecks in the app. Thanks, Howard On Wed, Nov 21, 2012 at 4:47 AM, Thomas Andraschko

Re: TomEE/OpenEJB (OpenWebBeans) with Apache MyFaces CODI

2012-11-21 Thread Thomas Andraschko
Maybe you should look at the CODi wiki and understand what CODI provides. If you don't like it, don't use it. This isn't a required lib. 2012/11/21 Howard W. Smith, Jr. smithh032...@gmail.com Is it really necessary or encouraged to use Apache MyFaces CODI with TomEE 1.5 (SNAPSHOT)? Any

Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?

2013-02-22 Thread Thomas Andraschko
This isn't exactly stateless, the viewRoot needs still to be created every request. The state just won't be saved anymore. This can be done via UIViewRoot#setTransient(true) with MyFaces, too. 2013/2/22 Howard W. Smith, Jr. smithh032...@gmail.com Mark Struberg, and to whom this may concern,

Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?

2013-02-22 Thread Thomas Andraschko
AFAIK UIViewRoot#setTransient(true) is defined in the specs. Maybe they implemented more features dependent on this flag, don't know. Someone should check there code :) 2013/2/22 Howard W. Smith, Jr. smithh032...@gmail.com On Fri, Feb 22, 2013 at 7:55 AM, Thomas Andraschko andraschko.tho

Re: config web.xml myfaces for use with primefaces

2013-04-09 Thread Thomas Andraschko
1) it's necessary 2) Just use google... It's a EL Implementation 2013/4/8 maurojava mauro2java2...@gmail.com tank you for your response. When i create a new project with netbeans 7.3 and tomee server, and i add the JSF framework, i get automatically into web.xml the following configuration

component with duplicate id exception since 2.1.11

2013-04-10 Thread Thomas Andraschko
Hi, i get following exception after upgrading from 2.1.10 to 2.1.11: java.lang.IllegalStateException: component with duplicate id j_id__md_1 found at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:100) at

Re: component with duplicate id exception since 2.1.11

2013-04-10 Thread Thomas Andraschko
is rendered. Could you provide a test case to reproduce it? The strange part is I used a similar test case for this one and there was no bug. regards, Leonardo Uribe 2013/4/10 Howard W. Smith, Jr. smithh032...@gmail.com On Wed, Apr 10, 2013 at 8:42 AM, Thomas Andraschko andraschko.tho

Re: component with duplicate id exception since 2.1.11

2013-04-11 Thread Thomas Andraschko
Thomas 2013/4/10 Thomas Andraschko andraschko.tho...@gmail.com Hi Leonardo, on the first GET request. I will provide the example + issue later. Ok, I'll review it as soon as it is available. regards Leonardo Thanks. Regards, Thomas 2013/4/10 Leonardo

composite-library-name and subfolders?

2013-04-25 Thread Thomas Andraschko
Hi, when i use composite-library-name with only one folder composite-library-namecomponents/composite-library-name and src/main/resources/META-INF/components, its working fine. But when i use it with a subfolder: composite-library-namecomponents/common/composite-library-name and

Re: composite-library-name and subfolders?

2013-04-25 Thread Thomas Andraschko
#org_apache_myfaces_STRICT_JSF_2_ALLOW_SLASH_LIBRARY_NAME Greetings dennis Am 25.04.2013 09:26, schrieb Thomas Andraschko: Hi, when i use composite-library-name with only one folder composite-library-name**components/composite-library-**name and src/main/resources/META-INF/**components, its working fine. But when i use

Unwrap CC ValueExpression?

2013-05-13 Thread Thomas Andraschko
Hi, is it possible unwrap a CC ValueExpresion? i found a bug with PrimeFaces p:media inside a composite component and i would like to fix it. If you pass the EL via a CC attr (e.g. #{myController.content}) and attach it to p:media (e.g. #{cc.attrs.content}), p:media gets the ValueExpression and

Re: Unwrap CC ValueExpression?

2013-05-13 Thread Thomas Andraschko
: * http://blogs.jsfcentral.com/JSFNewscast/ * * JSFCentral Interviews Podcast: http://www.jsfcentral.com/resources/jsfcentralpodcasts/ * Sign up for the JSFCentral Newsletter: http://oi.vresp.com/?fid=ac048d0e17 On Mon, May 13, 2013 at 7:17 AM, Thomas Andraschko andraschko.tho

Re: Unwrap CC ValueExpression?

2013-05-13 Thread Thomas Andraschko
{ super.handleResourceRequest(context); } } } This at least works for me, hope it can help you too. 2013/5/13 Thomas Andraschko andraschko.tho...@gmail.com Hi Kito, CC

Re: Unwrap CC ValueExpression?

2013-05-13 Thread Thomas Andraschko
status or so to evaluate the expression to a meaningful value or is it completely independent of the view? What scope has the myController? 2013/5/13 Thomas Andraschko andraschko.tho...@gmail.com Hi Christian, i don't understand your solution exactly. Whats the difference? It would

Re: Unwrap CC ValueExpression?

2013-05-13 Thread Thomas Andraschko
3.5.4 but thats indepenent :) 2013/5/13 Christian Beikov christian.bei...@gmail.com What PF version are you using? 2013/5/13 Thomas Andraschko andraschko.tho...@gmail.com It's really view independent and my Controller is RequestScoped. The only problem is that currently graphicImage

Re: Unwrap CC ValueExpression?

2013-05-13 Thread Thomas Andraschko
cases. Maybe there exists a better and cleaner solution? 2013/5/13 Thomas Andraschko andraschko.tho...@gmail.com 3.5.4 but thats indepenent :) 2013/5/13 Christian Beikov christian.bei...@gmail.com What PF version are you using? 2013/5/13 Thomas Andraschko andraschko.tho...@gmail.com

Re: Unwrap CC ValueExpression?

2013-05-13 Thread Thomas Andraschko
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...@gmail.com What PF

Re: Text must not be null

2013-05-15 Thread Thomas Andraschko
I believe a label on a selectItem is null. 2013/5/15 Howard W. Smith, Jr. smithh032...@gmail.com On Wed, May 15, 2013 at 6:46 AM, Georg Portwich portw...@blueskye.de wrote: Hi, we get sometimes a ‘Text must not be null’ exception from the HtmlResponseWriterImpl. We see the

Re: javax.faces.partial.execute=@none still executes decode

2013-05-27 Thread Thomas Andraschko
@none, nothing should be processed. Regards, Thomas 2013/5/27 Werner Punz werner.p...@gmail.com Am 22.05.13 16:05, schrieb Thomas Andraschko: Hi, i found a weird issue that if i use p:ajax on inputText with process=@none, the InputTextRenderer#decode method will be still invoked. This works

Re: JSF 2.2 status snapshot usage

2013-09-26 Thread Thomas Andraschko
Hi Karl, AFAICS in JIRA, 2.2 should be feature complete. Maybe Leo can give a small update about the status :) Regards, Thomas 2013/9/26 Karl Kildén karl.kil...@gmail.com Hello, First off what's the recommended way to get a hold of a current myfaces snapshot, preferably with maven? I am

Re: CDI event propagation to ViewAccessScoped/ConversationScoped classes

2013-10-08 Thread Thomas Andraschko
Hi, did you already try to set the reception on the @Observers annotation? 2013/10/8 Boris Brönner borisbroen...@gmail.com Hello, I have a database layer, that can be accessed by JSF and by REST. The backing beans for JSF are ViewAccessScoped. The services for REST are RequestScoped.

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Thomas Andraschko
Hey, JFYI: MyFaces+OWB on Tomcat with MSM is working fine. Don't know about TomEE. Regards, Thomas 2013/10/20 Karl Kildén karl.kil...@gmail.com Hello! I am also very interested in having more i.e. docs, examples and stuff for clustering across the tomee stack. The discussion came up on a

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Thomas Andraschko
for tomcat Le 20 oct. 2013 11:35, Thomas Andraschko andraschko.tho...@gmail.com a écrit : Hey, JFYI: MyFaces+OWB on Tomcat with MSM is working fine. Don't know about TomEE. Regards, Thomas 2013/10/20 Karl Kildén karl.kil...@gmail.com Hello! I am also very interested

Re: Performance params

2013-11-01 Thread Thomas Andraschko
AFAIR you must set org.apache.myfaces.EXPRESSION_FACTORY because the EL Factory can't be extraced from JSP anymore. 2013/11/1 José Luis Cetina maxtorz...@gmail.com I didnt have any of this performance parameters in my webapps, now im trying to use them (i have any other params), im trying one

Re: Performance params

2013-11-01 Thread Thomas Andraschko
It depends on your AS or EL Implementation. If you use JUEL, its: de.odysseus.el.ExpressionFactoryImpl 2013/11/1 José Luis Cetina maxtorz...@gmail.com And what is the value of org.apache.myfaces.EXPRESSION_FACTORY ? 2013/11/1 Thomas Andraschko andraschko.tho...@gmail.com AFAIR you must

Re: Performance params

2013-11-01 Thread Thomas Andraschko
http://lmgtfy.com/?q=tomcat+ExpressionFactoryImpl 2013/11/1 José Luis Cetina maxtorz...@gmail.com I use tomee with the default EL 2013/11/1 Thomas Andraschko andraschko.tho...@gmail.com It depends on your AS or EL Implementation. If you use JUEL, its

Re: JSF 2.3

2014-01-14 Thread Thomas Andraschko
If they add support for such actions with @RequestMapping, then it should also be possible to declare request params as method params. e.g. @RequestMapping(...) public void doSomething(@RequestParameter(name=..) private String test) And of course conversion/validation of the request parameters.

Re: JSF 2.3

2014-01-14 Thread Thomas Andraschko
14.01.2014 12:02, schrieb Thomas Andraschko: If they add support for such actions with @RequestMapping, then it should also be possible to declare request params as method params. e.g. @RequestMapping(...) public void doSomething(@RequestParameter(name=..) private String test

Re: MyFaces 2.2.0 ViewScoped

2014-01-15 Thread Thomas Andraschko
http://jsflive.wordpress.com/2013/07/17/jsf22-cdi-view-scope/ 2014/1/15 José Luis Cetina maxtorz...@gmail.com Hi im currently using org.omnifaces.cdi.ViewScoped for my @Named beans, now with MyFaces 2.2.0 which package do i have to use for @ViewScoped and @Named for work togheter. Thanks

  1   2   >