Generic value for org.apache.myfaces.EXPRESSION_FACTORY?

2014-03-27 Thread 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 herehttp://stackoverflow.com/questions/22641696/jsf-how-to-redirect-to-404-error-page-without-jstl, but I was getting this error: HTTP Status 500 - No

How to disable label warnings?

2014-03-27 Thread Felipe Jaekel
I'd like to disable label warnings like this: Advertência: Attribute 'for' of label component with id form:j_id_8n is not defined Searching google I saw some mentioning that changing the project stage to production would solve. Others mentioned that creating a logging.properties file with

Re: How to disable label warnings?

2014-03-28 Thread Felipe Jaekel
the problems and not change the logging properties. The logging is very useful for development. Paste web.xml contents. On 27 March 2014 22:04, Felipe Jaekel fkjae...@gmail.com wrote: I'd like to disable label warnings like this: Advertência: Attribute 'for' of label component with id

DefaultContextAwareELException serialization problem

2014-04-04 Thread Felipe Jaekel
I'm eventually seeing this in my Tomcat 7 logs: *IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.myfaces.view.facelets.el.DefaultContextAwareELException.* I'm using MyFaces 2.2.2. Shouldn't

Re: DefaultContextAwareELException serialization problem

2014-04-09 Thread Felipe Jaekel
. 2014-04-04 11:42 GMT-03:00 Leonardo Uribe lu4...@gmail.com: Hi An exception shouldn't be serializable. I can't find any line of code in MyFaces that serialize and exception, so I suppose you are doing it manually somehow. regards, Leonardo 2014-04-04 15:43 GMT+02:00 Felipe Jaekel fkjae

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

2014-04-09 Thread Felipe Jaekel
Is it reliable? Are there any migration notes? Thanks 2014-03-27 19:37 GMT-03:00 Howard W. Smith, Jr. smithh032...@gmail.com: On Thu, Mar 27, 2014 at 8:22 AM, Thomas Andraschko andraschko.tho...@gmail.com wrote: I just deliver JUEL in all my apps and setting the EXPRESSION_FACTORY to

ViewExpiredException, but session hasn't timed out

2014-04-09 Thread Felipe Jaekel
I'm getting view expired exceptions if the user tries to perform an action in a page that isn't fully loaded. javax.faces.application.ViewExpiredException: /page/plano/plano.jsfNo saved view state could be found for the view identifier: /page/plano/plano.jsf at

Re: ViewExpiredException, but session hasn't timed out

2014-04-10 Thread Felipe Jaekel
. Would be nice to have a list of steps how you duplicate this in your app, definitely and always. I definitely suggest you use OmniFaces restore view component to avoid this exception. On Apr 9, 2014 1:41 PM, Felipe Jaekel fkjae...@gmail.com wrote: I'm getting view expired exceptions

Re: ViewExpiredException, but session hasn't timed out

2014-04-10 Thread Felipe Jaekel
create an issue in MyFaces issue tracker as improvement. regards, Leonardo 2014-04-10 14:05 GMT+02:00 Felipe Jaekel fkjae...@gmail.com: It's necessary to have a slow internet connection to reproduce this, so I can't test locally. While the page is loading the user hits a command

Start MyFaces on demand?

2014-04-17 Thread Felipe Jaekel
I'm working in a JAX-RS project, it has a configuration page in JSP that I would like to change to JSF. As this page is rarely used, basically only when the project is first deployed, I'd like to be able to start MyFaces only when this paged is accessed to avoid unnecessary server resources

PrimeFaces 4.0.14 + MyFaces 2.2.3: ClassCastException in ConfigContainer

2014-06-05 Thread 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 make it work again. Problem happens in a PrimeFaces class, but as the value is retrieved from JSF I'd like to check here too. Jun 05, 2014 8:06:47 AM

Re: PrimeFaces 4.0.14 + MyFaces 2.2.3: ClassCastException in ConfigContainer

2014-06-05 Thread Felipe Jaekel
...@gmail.com : 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 fkjae...@gmail.com: Hi, I'm eventually getting a ClassCastException in my production server. All pages stop

Help with java.lang.IllegalStateException: Cannot change buffer size after data has been written

2014-07-16 Thread Felipe Jaekel
Not sure if this is this a MyFaces issue, but as I don't remember having it when my projects were running with with Mojarra, I'd like to see if you can help me. I'm eventually seeing this exception in my Tomcat 7.0.47 log: java.lang.IllegalStateException: Cannot change buffer size after data has

Re: Help with java.lang.IllegalStateException: Cannot change buffer size after data has been written

2014-07-24 Thread Felipe Jaekel
The 64K buffer didn't worked. Any other idea? Thanks 2014-07-16 11:33 GMT-03:00 Howard W. Smith, Jr. smithh032...@gmail.com: On Wed, Jul 16, 2014 at 7:52 AM, Felipe Jaekel fkjae...@gmail.com wrote: Not sure if this is this a MyFaces issue, but as I don't remember having it when my

Re: Old data diplayed after x minutes of inactivity

2014-08-18 Thread Felipe Jaekel
Maybe user agent is caching the result page. I use this in my main facelets template: meta http-equiv=cache-control content=max-age=0 / meta http-equiv=cache-control content=no-cache / meta http-equiv=expires content=0 / meta http-equiv=expires content=Tue, 01 Jan 1980 1:00:00 GMT / meta

Re: How to investigate reasons for NullPointer and ViewExpired exceptions?

2014-10-22 Thread Felipe Jaekel
Recently I had a hard time to figure out some NPE with ViewScoped beans. In my case some actions on the bean were not fired, so subsequent actions ended in a NPE because required objects where not initialized. Problem was happening only in Firefox in case the user pressed F5 after doing some

Re: How to investigate reasons for NullPointer and ViewExpired exceptions?

2014-10-22 Thread Felipe Jaekel
they occur in MyFaces code, not in my code. -Original Message- From: Felipe Jaekel [mailto:fkjae...@gmail.com] Sent: Wednesday, October 22, 2014 2:30 PM To: MyFaces Discussion Subject: Re: How to investigate reasons for NullPointer and ViewExpired exceptions? Recently I had a hard time

Re: How to investigate reasons for NullPointer and ViewExpired exceptions?

2014-10-29 Thread Felipe Jaekel
org.apache.myfaces.RENDER_FORM_VIEW_STATE_AT_BEGIN should be present in all JSF applications, isn't it? -Original Message- From: Felipe Jaekel [mailto:fkjae...@gmail.com] Sent: Wednesday, October 22, 2014 4:06 PM To: MyFaces Discussion Subject: Re: How to investigate reasons for NullPointer and ViewExpired

Re: c:forEach issue in JSF 2

2015-07-01 Thread Felipe Jaekel
Hi khush, I had issues with c:forEach when I migrated from Mojarra to MyFaces. It was a plain html table similar to the example in your first message, and it worked correctly changing to ui:repeat, so I suggest you to try it. 2015-07-01 5:23 GMT-03:00 khush N kbnavl...@gmail.com: Yep. I do

Exception with c:forEach after upgrading from 2.1 to 2.2

2015-07-30 Thread Felipe Jaekel
Hi, I have this implementation (JSTL 1.2, PrimeFaces 5.1.20): c:forEach items=#{avaliacaoController.prova.perguntas} var=perguntaProva varStatus=status pm:page id=pergunta#{status.index} h:form id=perguntaForm#{status.index} pm:content pm:field h:outputText value=#{perguntaProva.numero + 1})

Re: Exception with c:forEach after upgrading from 2.1 to 2.2

2015-07-31 Thread Felipe Jaekel
context-param param-nameorg.apache.myfaces.STRICT_JSF_2_FACELETS_COMPATIBILITY/param-name param-valuetrue/param-value /context-param to web.xml Greetings, Alexey Am 30.07.2015 um 21:48 schrieb Felipe Jaekel: Hi, I have this implementation (JSTL 1.2, PrimeFaces 5.1.20

Re: viewParam and INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL

2019-03-21 Thread Felipe Jaekel
Maybe this helps: http://balusc.omnifaces.org/2015/10/the-empty-string-madness.html Em sáb, 16 de mar de 2019 às 16:29, Erick de Oliveira Leal < erickdeoliveiral...@gmail.com> escreveu: > I forgot to add bean and xhtml: > > > http://www.w3.org/1999/xhtml; >