Re: How to decrease the timeout in Jakarta EE 9.1 CDI Convesation Scope (MyFaces 3.0)

2022-09-01 Thread Thomas Andraschko
Hi, Conversations are controlled by CDI/openwebbeans, so better ask there fernando cesar de lima schrieb am Do., 1. Sept. 2022, 16:59: > Hi, this is Fernando, > > > I am using JSF 3.0 and Conversation Scope in some Managed Beans. The > problem I am facing is to configure the timeout to expire a

Re: MyFaces Release Soon?

2022-05-27 Thread Thomas Andraschko
Only 2.3-next runs in quarkus When they migrate to Jakarta namespace, we can also port 4.0 Tony, feel free to promote it! That woumd be great! I did the plugin for fun, i even dont use quarkus Tony Herstell schrieb am Do., 26. Mai 2022, 21:47: > This sounds awesome. > > As a user, creating sma

Re: Huge amount of "SessionScope not active" since upgrade to 2.3.8

2021-03-08 Thread Thomas Andraschko
null) > +if (facesContext.getExternalContext().getSession(false) != > null && CDIUtils.isSessionScopeActive(beanManager)) > { > if (isViewScopeBeanHolderCreated(facesContext)) > > Cheers, > > Juri > > On 3/5/21 2:54 P

Re: Huge amount of "SessionScope not active" since upgrade to 2.3.8

2021-03-05 Thread Thomas Andraschko
mpl/CDIManagedBeanHandlerImpl.java#L113>onSessionDestroyed should check if SessionScoped exists before getting the bean holders. A PR would be great and a test on your side if it works. Am Fr., 5. März 2021 um 14:45 Uhr schrieb Thomas Andraschko < andraschko.tho...@gmail.com>: > the problem a

Re: Huge amount of "SessionScope not active" since upgrade to 2.3.8

2021-03-05 Thread Thomas Andraschko
getViewScopeBeanHolder().destroyBeans(); but the ViewScopeBeanHolder is SessionScoped, which doesnt exist in MyFaces HttpSessionListener#onSessionDestroyed. i think thats just a bug. Am Fr., 5. März 2021 um 14:21 Uhr schrieb Thomas Andraschko < andraschko.tho...@gmail.com>: > This could be the reason

Re: Huge amount of "SessionScope not active" since upgrade to 2.3.8

2021-03-05 Thread Thomas Andraschko
This could be the reason: https://issues.apache.org/jira/browse/MYFACES-4353 Am Fr., 5. März 2021 um 14:19 Uhr schrieb Thomas Andraschko < andraschko.tho...@gmail.com>: > Can you try to find the version which introduced it? > > Am Fr., 5. März 2021 um 13:57 Uhr schrie

Re: Huge amount of "SessionScope not active" since upgrade to 2.3.8

2021-03-05 Thread Thomas Andraschko
Can you try to find the version which introduced it? Am Fr., 5. März 2021 um 13:57 Uhr schrieb Juri Berlanda < juri.berla...@tuwien.ac.at>: > Hello, > > we recently upgraded to MyFaces 2.3.8 due to the CSRF vulnerability > reported here late February. We were on 2.3.4 before. Since then we see >

Re: using DeltaSpike and JSF2.2 ExternalContext.redirect results in two requests

2021-02-05 Thread Thomas Andraschko
In general DeltaSpike needs to verify, depending on the ClientWindowMode, if the windowId is valid and sends a redirect. Please come back if you know exactly where the redirect will be triggered - AND - check the DS docs. Am Fr., 5. Feb. 2021 um 15:07 Uhr schrieb DevNews : > Hallo, > > in our we

Re: Licensing info for XSD files

2020-12-03 Thread Thomas Andraschko
Hi, maybe someone of the "older" committers can help you. IMO its just a comment and everything should be licensed under Apache2.0. Best regards, Thomas Am Mi., 2. Dez. 2020 um 15:16 Uhr schrieb Gaertner, Stefan < sgaert...@cgs-online.de>: > Hello, > > I've been tasked with looking into licens

Re: Override the JSF Standard Converter for java.util.Date.class

2020-11-16 Thread Thomas Andraschko
Hi, i think @FacesConverter should work the same as #addConverter. Could you do us a favor, and check if Mojarra does the same as MyFaces? Am Mo., 16. Nov. 2020 um 10:48 Uhr schrieb DevNews : > Hallo, > > in order to convert inputs in h:inputtext from the WebPage to the class > java.util.Date >

[ANNOUNCE] MyFaces Core v2.3-next-M4 Release

2020-09-04 Thread Thomas Andraschko
und in the following link: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10600&version=12348458 Regards, Thomas Andraschko <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virenfrei. www.avast.com

[ANNOUNCE] MyFaces Core v2.3-next-M3 Release

2020-07-05 Thread Thomas Andraschko
sitory under Group ID "org.apache.myfaces.core". Release Notes - MyFaces Core - Version 2.3-next-M3 can be found in the following link: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10600&version=12347873 Regards, Thomas Andraschko

Re: Session creation due to session-map access

2020-06-15 Thread Thomas Andraschko
just found that myself as well. What is the reason for forcing > the session creation by default even if the view is transient? Since > most views are probably non-transient, I'd guess that in these cases > session will be created anyway. > > Am 15.06.2020 um 20:57 schrieb Thom

Re: Session creation due to session-map access

2020-06-15 Thread Thomas Andraschko
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 statem

[ANNOUNCE] MyFaces Core v2.3-next-M2 Release

2020-04-06 Thread Thomas Andraschko
und in the following link: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10600&version=12346645 Regards, Thomas Andraschko <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virenfrei. www.avast.com

Re: How to make submit button only work if connection is available?

2020-01-19 Thread Thomas Andraschko
Hi, I never needed something similar but i would do it the same. Maybe there are nicer ways, i would try to Google about it first. Mark Struberg schrieb am So., 19. Jan. 2020, 16:34: > Hi folks! > > I'm right now designing a small only survey form with JSF-2.3. The problem > is that the survey

Re: Is Tomahawk21

2019-09-04 Thread Thomas Andraschko
Hi, JFYI: there are probably no active tomahawk devs here anymore. Also saveState was developed long time before CDI was available. If you would still like to use it, i think you have to check the implementation details. I would also need to check everything in detail. Sorry. Best regards, Thom

Re: CDI-Bean in myfaces2.2 is not resolved

2019-08-29 Thread Thomas Andraschko
e > Internet: https://www.safir-wid.de > > safir Wirtschaftsinformationsdienst GmbH > Sitz der Gesellschaft: Möllendorffstr.49, 10367 Berlin > Geschäftsführer: Thilo Kind > Registergericht: Amtsgericht Berlin Charlottenburg, HRB 66681 > USt-ID: DE 193584747 > > > >

Re: CDI-Bean in myfaces2.2 is not resolved

2019-08-28 Thread Thomas Andraschko
Hi, in generell it's up to the container or the CDI impl, to add CDI support to JSF =< 2.2 via a ELResolver. In JSF 2.3 the direct support of the BeanManager#getELResolver was added (see MyFaces' 2.3 ResolverBuilderForFaces). In OpenWebBeans we did it within a wrapped JSF Application-Object: http

Re: NoClassDefFoundError: org/apache/tomcat/InstanceManager when using myfaces with wildfly

2019-08-16 Thread Thomas Andraschko
I think you can set something like: org.apache.myfaces.config.annotation.LifecycleProvider org.apache.myfaces.config.annotation.NoInjectionAnnotationLifecycleProvider Virenfre

Re: Websockets with Tomcat 9

2019-04-25 Thread Thomas Andraschko
Hi, Can you create a issue and provide a reproducer maven sample project + steps to reproduce? So i can have a Look at it and fix it. kel...@jsonar.com schrieb am Fr., 26. Apr. 2019, 01:06: > Hi folks, > > I have a small project which uses JSF 2.3, CDI and Tomcat 9.0.17. > > I am trying to use

Re: Resource not loaded after upgrade from 2.3.2 to 2.3.3

2019-03-24 Thread Thomas Andraschko
any update? Am Mi., 27. Feb. 2019 um 11:53 Uhr schrieb Thomas Andraschko < andraschko.tho...@gmail.com>: > Hi > > Can you provide a small reproducer as maven Project, which i can simply > run via mvn jetty:run? > Also please create a issue. > > milovd...@gmail.com sc

Re: Resource not loaded after upgrade from 2.3.2 to 2.3.3

2019-02-27 Thread Thomas Andraschko
Hi Can you provide a small reproducer as maven Project, which i can simply run via mvn jetty:run? Also please create a issue. milovd...@gmail.com schrieb am Mi., 27. Feb. 2019, 11:32: > Hello, > > I upgraded from 2.3.2 to 2.3.3 and now my resource is not loaded anymore. > > I'm using RichFaces

Re: Download Apache Tomahawk 1.1.6

2018-12-21 Thread Thomas Andraschko
maven.org/search?q=g:org.apache.myfaces.tomahawk%20AND%20a:tomahawk12&core=gav > > It is just that when I download from Apache website, I am assured because I > know that I can trust Apache. But I am not sure about the above link. So > want to check with you. > > Thanks. > > On

Re: Download Apache Tomahawk 1.1.6

2018-12-21 Thread Thomas Andraschko
anks. > > On Fri, Dec 21, 2018 at 3:07 PM Thomas Andraschko < > andraschko.tho...@gmail.com> wrote: > > > No idea, sorry. > > It seems that the latest version in maven repo is also 1.1.7: > > > > > https://search.maven.org/search?q=g:org.apache.my

Re: Download Apache Tomahawk 1.1.6

2018-12-21 Thread Thomas Andraschko
No idea, sorry. It seems that the latest version in maven repo is also 1.1.7: https://search.maven.org/search?q=g:org.apache.myfaces.tomahawk%20AND%20a:tomahawk12&core=gav Could you try to get the tag from SVN. Am Fr., 21. Dez. 2018 um 10:35 Uhr schrieb Awadhoot Aphale : > From where can I downl

Re: error messages lack debug information

2018-12-15 Thread Thomas Andraschko
sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> Am Sa., 15. Dez. 2018 um 16:47 Uhr schrieb Matthew Broadhead : > perfect! thanks. would be really helpful if it could output that info > when the error occurs > > On 15/12/2018 12:45, Thomas Andraschk

Re: error messages lack debug information

2018-12-15 Thread Thomas Andraschko
thats probably in LocationValueExpression#location Am Sa., 15. Dez. 2018 um 12:43 Uhr schrieb Matthew Broadhead : > i suppose the line number that is failing in the xhtml... > i don't really understand what EL is trying to compare and why > > On 15/12/2018 12:39, Thomas

Re: error messages lack debug information

2018-12-15 Thread Thomas Andraschko
valent to > BillTemplateSection. is it possible to get a line number? > > On 15/12/2018 11:48, Thomas Andraschko wrote: > > Try to debug the getExpressionString in the ValueExpression classes > > So you should be able to find the causing el > > > > Am Sa., 15. Dez. 2018, 11

Re: error messages lack debug information

2018-12-15 Thread Thomas Andraschko
Try to debug the getExpressionString in the ValueExpression classes So you should be able to find the causing el Am Sa., 15. Dez. 2018, 11:07 hat Matthew Broadhead geschrieben: > occasionally i get error messages that are very hard to debug because > they don't give enough detail about where the

Re: [ANNOUNCE] MyFaces Core v2.3.2 Release

2018-09-12 Thread Thomas Andraschko
Thanks paul! Matthew: Please open a new topic in the Dev mailing list with more details, whats not working for you ;) Matthew Broadhead schrieb am Do., 13. Sep. 2018, 00:38: > thank you for the new release. however i am still waiting for TomEE 8 to > get the new features of 2.3 (TomEE 7.0.5 s

Re: [MyFaces 2.3.X] Weird error on InternetExplorer 11

2018-05-09 Thread Thomas Andraschko
Hey, There already is a ticket about it, it will be fixed in the next release. Am Mittwoch, 9. Mai 2018 schrieb Juri Berlanda : > Hello, > > I noticed a very weird error affecting MyFaces 2.3.0 and 2.3.1 in > combination with IE 11 (and maybe other IEs, we only test against IE 11). > Chrome, Fir

Re: NullPointer on managed FacesConverters if both forClass and value is set

2018-04-23 Thread Thomas Andraschko
Hi, seems like a bug, yes. It would be great if you could create a jira + attach a unit test. Even better would be if you can provide a patch to solve the issue. Regards, Thomas 2018-04-23 16:23 GMT+02:00 Juri Berlanda : > Hello, > > we recently upgraded to MyFaces 2.3.0 from 2.2.12 and after a

Re: [ANNOUNCE] MyFaces Core v2.3.0 Release

2018-03-15 Thread Thomas Andraschko
Just try it ;) As tomahawk isn't active in development anymore, i don't think that someone tried it. Even not sure if it works fine on JSF 2.2. 2018-03-15 15:34 GMT+01:00 DevNews : > Hallo Eduardo, > > do You have information about compatibility of this new Version with > Tomahawk? > Can I use My

Re: [ANNOUNCE] MyFaces Core v2.3.0 Release

2018-03-12 Thread Thomas Andraschko
Thanks Eduardo! Will also twitter it! 2018-03-12 14:28 GMT+01:00 Eduardo B : > The Apache MyFaces team is pleased to announce the release of MyFaces Core > 2.3.0. > > MyFaces Core is a JavaServer(tm) Faces 2.3 implementation as specified by > JSR-372. > > MyFaces Core 2.3.0 is available in both b

Re: Reverse proxy and jsf, virtual host mapping to subdirectory

2018-02-24 Thread Thomas Andraschko
Hi, i don't think we have a way to overwrite this behavior. I would try virtual hosts. 2018-02-24 15:35 GMT+01:00 Jan Michael Greiner < jan0mich...@yahoo.com.invalid>: > Dear all, > > I have a reverse proxy, that maps https://www.somedomain.com/ to my > internal Tomcat, to https://192.168.0.5:

Re: ui repeat fails to reflect collection after render

2018-01-29 Thread Thomas Andraschko
ld report this over there? > > > On 26/01/2018 10:38, Thomas Andraschko wrote: > >> Yep, a small as possible example (without JPA and other not-related stuff) >> would be great! >> >> 2018-01-26 9:45 GMT+01:00 Matthew Broadhead < >> matthew.broadh...@nbmla

Re: ui repeat fails to reflect collection after render

2018-01-26 Thread Thomas Andraschko
ed >> item", null)); >> >> i don't know if this is supposed to be like that but it lost me some time >> trying to figure it out >> >> On 25/01/2018 17:07, Thomas Andraschko wrote: >> >>> Yep you are right. Not sure if there is one availab

Re: ui repeat fails to reflect collection after render

2018-01-25 Thread Thomas Andraschko
ces maybe a bare bones project with > jetty-maven-plugin, jpa and jsf all preconfigured ready to create a > sample... > > On 25/01/2018 16:28, Thomas Andraschko wrote: > >> In our JIRA: https://issues.apache.org/jira/projects/MYFACES/issues/ >> >> A small maven ap

Re: ui repeat fails to reflect collection after render

2018-01-25 Thread Thomas Andraschko
In our JIRA: https://issues.apache.org/jira/projects/MYFACES/issues/ A small maven application with jetty-maven-plugin would be a great example! 2018-01-25 16:24 GMT+01:00 Matthew Broadhead : > ok i will do that. where do i create an issue? > > > On 25/01/2018 16:20, Thomas Andr

Re: ui repeat fails to reflect collection after render

2018-01-25 Thread Thomas Andraschko
Could you please provide a mvce and create a issue? Otherwise it's almost impossible to help you. 2018-01-25 16:14 GMT+01:00 Matthew Broadhead : > hi, > i just posted this question on stack overflow. but then i tested > switching to mojarra and that solved my problem so i guessed i would report

Re: JSF 2.3

2017-11-18 Thread Thomas Andraschko
1) I think we can ship 2.3.0 this year, there are only some issues left. 2) I would ask that the TomEE guys ;) I also think that TomEE is not ready for a 8.0 release yet ;) 2017-11-18 12:43 GMT+01:00 Matthew Broadhead : > Hi, > When is 2.3 moving out of beta? https://github.com/apache/tome > e/bl

Re: OmniFaces CombinedResourceHandler

2017-11-09 Thread Thomas Andraschko
gt; > > On 09/11/2017 17:38, Thomas Andraschko wrote: > >> You can also create a issue on their github project. >> >> Yes, "more or less" :D >> Not every small bit is defined in the specs, so in some parts their might >> be some small differences.

Re: OmniFaces CombinedResourceHandler

2017-11-09 Thread Thomas Andraschko
ust be something fundamentally different between Mojarra and MyFaces > for this to be happening? shouldn't they behave more or less the same? > > > On 09/11/2017 16:58, Thomas Andraschko wrote: > >> Hi, >> >> i would ask the omnifaces guys about that - they k

Re: OmniFaces CombinedResourceHandler

2017-11-09 Thread Thomas Andraschko
Hi, i would ask the omnifaces guys about that - they know their CombinedResourceHandler better then we do ;) Regards, Thomas 2017-11-09 16:51 GMT+01:00 Matthew Broadhead : > Hi, > > I am using TomEE 7.0.3 Plus (MyFaces 2.2.11). I have tried different > OmniFaces versions particularly 1.14 and

Re: Orchestra future

2017-05-02 Thread Thomas Andraschko
Hi, i would choose CDI and DeltaSpike. Orchestra is currently in maintenance mode and DeltaSpike offers even a better multi window handling. Regards, Thomas 2017-05-02 8:51 GMT+02:00 Adam Jenkins : > Hi All, > > I read somewhere that much of CDI conversation scope was modelled upon > Orchestra.

Re: [COMMUNITY] Henning Nöth - Committer

2017-03-31 Thread Thomas Andraschko
welcome!:) 2017-03-31 21:03 GMT+02:00 Mike Kienenberger : > The MyFaces PMC is proud to announce a new addition to our community. > > Please welcome Henning Nöth as the newest MyFaces committer! > Henning is an active member of the MyFaces community, especially in > MyFaces Tobago. > > Welcome &

Re: [COMMUNITY] Dennis Kieselhorst - PMC member

2017-02-06 Thread Thomas Andraschko
Welcome! :) Am Montag, 6. Februar 2017 schrieb Mike Kienenberger : > The MyFaces PMC is proud to announce an addition to our project > management committee. > > Please welcome Dennis Kieselhorst as the newest MyFaces PMC Member! > Dennis has been an active committer and community member in the >

Re: Reg vulnerability for Server State saving

2016-12-23 Thread Thomas Andraschko
Hi, i don't think there is any other way to configure it but you can still check the sources: http://svn.apache.org/viewvc/myfaces/core/branches/1.1.x/ Regards, Thomas 2016-12-23 11:21 GMT+01:00 karthik kn : > Hi All, > Any thoughts on the below ? > > On Wed, Dec 21, 2016 at 10:22 AM, karthik k

Re: No saved view state could be found in tomcat cluster

2016-01-27 Thread Thomas Andraschko
You probably need to set some myfaces params to serialize the state in the session. If you enabled encryption, you also need to set the encryption keys cause otherwhise they are generated randomly on startup on each node. Am Mittwoch, 27. Januar 2016 schrieb Romain Manni-Bucau : > Hi > > TomEE ha

Re: c:forEach issue in JSF 2

2015-07-01 Thread Thomas Andraschko
Which version are u using? MyFaces 2.2 fixed many c:forEach issues. Maybe you should try to use ui:repeat instead c:forEach, too. You can google about the differences. 2015-07-01 9:42 GMT+02:00 khush N : > Hi, > > I am upgrading my application from JSF 1.2 to JSF 2. > > I am trying a below simpl

Re: sendRedirect is not working in JSF 2.2

2015-06-22 Thread Thomas Andraschko
Do you try to redirect in the RENDER_RESPONSE phase? If yes, you propably need to increase the buffer size via web.xml. 2015-06-22 11:09 GMT+02:00 RICARD MORE FARRES : > Hi, > > Try using > FacesContext.getCurrentInstance().getExternalContext().redirect("any_url"); > > Regards, > Ricard > > -

Re: hidden input not refreshed

2015-01-02 Thread Thomas Andraschko
er.html), JUG Leader ( > http://www.ankarajug.org), Author (http://www.amazon.com/author/mert) > > > > On Friday 2 January 2015 at 11:51, Thomas Andraschko wrote: > > > Hey Romain, > > > > AFAIR the default for the render attribute of f:ajax is @none, so > therefo

Re: hidden input not refreshed

2015-01-02 Thread Thomas Andraschko
Hey Romain, AFAIR the default for the render attribute of f:ajax is @none, so therefore it's expected. You would need to set it to e.g. render="@form" 2015-01-02 10:33 GMT+01:00 Romain Manni-Bucau : > Hi guys, > > > in cdi tcks there is: > > > id="conversationId" /> > > value="Begin con

Re: ViewScoped bean created multiple times?

2014-11-07 Thread Thomas Andraschko
Constructor is called multiple times by design - thats how object serialization works. Serislization is enabled by default in myfaces to support clustering/failover. No clue about viewaction - i cant use jsf 2.2. Am Freitag, 7. November 2014 schrieb Bjørn T Johansen : > 2.2, like this.: > > http

Re: catch faces message with js?

2014-10-21 Thread Thomas Andraschko
Hi Karl, just have a look at p:growl - we use an own renderer there. You can also overwrite the h:message/h:messages renderer of course. Regards, Thomas 2014-10-21 13:26 GMT+02:00 Karl Kildén : > Hello, > > I want to implement my faces messages with > http://codeseven.github.io/toastr/ How can

Re: Decide what to rerender on server side?

2014-09-05 Thread Thomas Andraschko
FacesContext.getCurrentInstance ().getPartialViewContext

Re: PrimeFaces 4.0.14 + MyFaces 2.2.3: ClassCastException in ConfigContainer

2014-06-05 Thread Thomas Andraschko
Sorry, wrong URL. https://code.google.com/p/primefaces/issues/detail?id=6889 2014-06-05 15:47 GMT+02:00 Thomas Andraschko : > Hey, > > i fixed this in PF 5.0 -> > https://code.google.com/p/primefaces/issues/detail?id=688 > > Regards, > Thomas > > > 2014-06

Re: PrimeFaces 4.0.14 + MyFaces 2.2.3: ClassCastException in ConfigContainer

2014-06-05 Thread Thomas Andraschko
Hey, i fixed this in PF 5.0 -> https://code.google.com/p/primefaces/issues/detail?id=688 Regards, Thomas 2014-06-05 15:42 GMT+02:00 Felipe Jaekel : > Hi, > > I'm eventually getting a ClassCastException in my production server. All > pages stop rendering and I need to reload the application to

Re: Problem with clientWindow id and Deltaspike 0.7

2014-05-21 Thread Thomas Andraschko
Hi, could you try to use DeltaSpikes window handling? I never faced any issues with JSF 2.0/2.1 and DeltaSpike. Maybe it's some incompatibly between JSF 2.2 and DS in some cases. Maybe we should ask Gerhard, he developed the bridge for JSF 2.2. Regards, Thomas 2014-05-21 20:21 GMT+02:00 Karl Ki

Re: Generic value for org.apache.myfaces.EXPRESSION_FACTORY?

2014-03-27 Thread Thomas Andraschko
AFAIK you can't. I just deliver JUEL in all my apps and setting the EXPRESSION_FACTORY to JUEL. 2014-03-27 13:17 GMT+01:00 Felipe Jaekel : > I was trying o set org.apache.myfaces.SUPPORT_JSP_AND_FACES_EL to false. > The goal is to improve performance and solve the problem I mentioned > here< > h

Re: CODI issue with CDI Observer

2014-03-24 Thread Thomas Andraschko
JSF/JavaEE powerhouse - > JavaEE Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > > > > 2014-03-23 23:07 GMT+01:00 Thomas Andraschko >: > > > Gerhard, i would add the null check but we should do it in > Abs

Re: CODI issue with CDI Observer

2014-03-23 Thread Thomas Andraschko
Gerhard, i would add the null check but we should do it in AbstractContext. Could it break anything? 2014-03-23 22:57 GMT+01:00 Rafael Pestano : > Hi again, > > i just solved it in my custom scope by checking the null contextual: > > @Override > public T get(final Contextual contextual, fin

Re: How to survive viewscoped beans/viewmap after session destroy (using client side saving)?

2014-02-21 Thread Thomas Andraschko
It's just a map to add data - like ViewState. In JSF 2.0 and JSF 2.1, it was used to directly store the ViewScoped beans. Don't know about more internals. 2014-02-21 21:42 GMT+01:00 user 01 : > Sorry to bug you all again.. I am still seeking a clarification on above > points.. if anyone can pl

Re: Does JSF 2.2 support window scope ?

2014-02-19 Thread Thomas Andraschko
JSF only provies the ClientWindow because it's used by the faces flow. I would migrate to DeltaSpike. 2014-02-19 16:48 GMT+01:00 Stephen More : > When using JSF 2.1 in order to utilze window scope ( like a session per > window ) I was required to utilize CODI. I now see that JSF 2.2 has some > s

Re: Problems with a custom component when migrating from Glassfish(mojarra) to TomEE

2014-02-13 Thread Thomas Andraschko
I don't think that anyone will port your complete code and give you a complete solution ;) The biggest problem is AFAIR that the renderer implementations are not in the API packages. So you have to rebuild all this functionality without dependencies to the Impl. e.g. Attribute,AttributeManager ->

Re: How to survive viewscoped beans/viewmap after session destroy (using client side saving)?

2014-02-13 Thread Thomas Andraschko
>> I dont know why & how this is so implemented but It is very normal that the >> user may be busy reading some section of website or be away for 20 minutes, >> & as he comes back & interacts with opened pages, how would I make that >> work without the state ? >> I think this is a common requiremen

Re: @FlowScoped, @Named and @ManagedBean

2014-02-11 Thread Thomas Andraschko
Can't you just switch to DS? 2014-02-11 18:46 GMT+01:00 Leonardo Uribe : > Hi > > CDI implementations does not require to provide anything to JSF in > order to make @FlowScoped to work. The code has been tested against > OWB and Weld and it works in both cases. > > But the flow stuff relies on t

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

Re: JSF 2.3

2014-01-14 Thread Thomas Andraschko
------ > > *Christian Beikov* > > Am 14.01.2014 12:02, schrieb Thomas Andraschko: > > > > If they add support for such actions with @RequestMapping, then it > should > >> also be possible to decl

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: Performance params

2013-11-01 Thread Thomas Andraschko
http://lmgtfy.com/?q=tomcat+ExpressionFactoryImpl 2013/11/1 José Luis Cetina > I use tomee with the "default" EL > > > 2013/11/1 Thomas Andraschko > > > It depends on your AS or EL Implementation. > > If you use JUEL, its: de.odysseus.el.ExpressionFactor

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 > And what is the value of org.apache.myfaces.EXPRESSION_FACTORY ? > > > 2013/11/1 Thomas Andraschko > > &g

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 > 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 by one and when

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

2013-10-20 Thread Thomas Andraschko
gt; Le 20 oct. 2013 11:35, "Thomas Andraschko" a > écrit : > > > Hey, > > > > JFYI: > > MyFaces+OWB on Tomcat with MSM is working fine. > > > > Don't know about TomEE. > > > > Regards, > > Thomas > > > >

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 > 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 > jira some time ago

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 > 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. > > When creating an

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 > Hello, > > First off what's the recommended way to get a hold of a current myfaces > snapshot, preferably with maven? > > I am eager to try pa

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

2013-05-27 Thread Thomas Andraschko
with value @none, nothing should be processed. Regards, Thomas 2013/5/27 Werner Punz > 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 meth

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. > On Wed, May 15, 2013 at 6:46 AM, Georg Portwich >wrote: > > > Hi, > > > > > > > > we get sometimes a ‘Text must not be null’ exception from the > > HtmlResponseWriterImpl. > > > > We see the exception randomly. We now

Re: Unwrap CC ValueExpression?

2013-05-13 Thread Thomas Andraschko
; 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 > > > 3.5.4 but thats indepenent :) > > > > &g

Re: Unwrap CC ValueExpression?

2013-05-13 Thread Thomas Andraschko
now if it works in all cases. Maybe there exists a better and cleaner solution? 2013/5/13 Thomas Andraschko > 3.5.4 but thats indepenent :) > > > > 2013/5/13 Christian Beikov > >> What PF version are you using? >> >> >> 2013/5/13 Thomas Andraschko

Re: Unwrap CC ValueExpression?

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

Re: Unwrap CC ValueExpression?

2013-05-13 Thread Thomas Andraschko
rmation like iteration 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 > > > Hi Christian, > > > > i don't understand your solut

Re: Unwrap CC ValueExpression?

2013-05-13 Thread Thomas Andraschko
)) >= 0) { > > externalContext.getResponseOutputStream().write(buffer, 0, length); > } > > externalContext.getResponseOutputStream().flush(); > context.responseComplete(); > } else { >

Re: Unwrap CC ValueExpression?

2013-05-13 Thread Thomas Andraschko
ten to the Enterprise Java Newscast: * > 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, Ma

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 s

Re: composite-library-name and subfolders?

2013-04-25 Thread Thomas Andraschko
LLOW_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 >> >> **components >> and >> src/main/resources/META-INF/**components, >&

composite-library-name and subfolders?

2013-04-25 Thread Thomas Andraschko
Hi, when i use composite-library-name with only one folder components and src/main/resources/META-INF/components, its working fine. But when i use it with a subfolder: components/common and src/main/resources/META-INF/components/common, it does not work. Isn't it possible or defined in the spe

Re: "component with duplicate id" exception since 2.1.11

2013-04-11 Thread Thomas Andraschko
ller.navigate}"/> > > > > > > … > > Deryk > > On 2013-04-10, at 8:32 AM, Leonardo Uribe wrote: > > > Hi Thomas > > > > 2013/4/10 Thomas Andraschko > > > >> Hi Leonardo, > >> &g

Re: "component with duplicate id" exception since 2.1.11

2013-04-10 Thread Thomas Andraschko
tback? ajax? or the first time the view 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. > > > On Wed, Apr 10,

"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 org.a

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 > 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 for myfaces: > > > >

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. > On Fri, Feb 22, 2013 at 7:55 AM, Thomas Andraschko < > andraschko.tho...@gm

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. > Mark Struberg, and to whom this may concern, > > Please see my questio

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. > Is it really necessary or encouraged to use Apache MyFaces CODI with TomEE > 1.5 (SNAPSHOT)? Any pros/cons, advantages/disadv

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

2012-11-21 Thread Thomas Andraschko
2.2.5. :) > > Looking 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

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 migrat

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. > Well, you and others 'sold' me onto TomEE, so here I am. If I can get this > migration to TomEE and CDI complete, and my endusers are

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 > Ah, sorry! I got anot

  1   2   >