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

2014-03-27 Thread Howard W. Smith, Jr.
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
> JUEL.
>

+1 me too.


org.apache.myfaces.EXPRESSION_FACTORY
de.odysseus.el.ExpressionFactoryImpl



org.apache.myfaces.EL_RESOLVER_COMPARATOR

org.apache.myfaces.el.unified.OpenWebBeansELResolverComparator



org.apache.myfaces.SUPPORT_JSP_AND_FACES_EL
false



Re: How to disable label warnings?

2014-03-27 Thread Karl Kildén
Hrmm this is the debug logging from development mode right? You are
supposed to fix 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  wrote:

> 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 org.apache.myfaces.shared.renderkit.html.HtmlLabelRenderer.level
> = SEVERE would do the trick.
>
> I tried both without success.
>
> Any ideas?
>
> Thanks
>


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 org.apache.myfaces.shared.renderkit.html.HtmlLabelRenderer.level
= SEVERE would do the trick.

I tried both without success.

Any ideas?

Thanks


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<
> http://stackoverflow.com/questions/22641696/jsf-how-to-redirect-to-404-error-page-without-jstl
> >,
> but I was getting this error: HTTP Status 500 - No Factories configured for
> this Application.
>
> After a lot of search I found this
> post,
> where it's mentioned that I would need to
> set org.apache.myfaces.EXPRESSION_FACTORY. I think MyFaces documentation is
> great, much better than Mojarra's, but shouldn't be a note about this
> here<
> http://myfaces.apache.org/core22/myfaces-impl/webconfig.html#org_apache_myfaces_SUPPORT_JSP_AND_FACES_EL
> >
> ?
>
> Anyway, as I'm using Tomcat, I configured
> org.apache.myfaces.EXPRESSION_FACTORY
> with org.apache.el.ExpressionFactoryImpl. Its working fine, but I didn't
> wan't to make my webapp Tomcat dependent, so is there a MyFaces class that
> can delegate to the appropriated container class?
>
> Thanks
>


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
here,
but I was getting this error: HTTP Status 500 - No Factories configured for
this Application.

After a lot of search I found this
post,
where it's mentioned that I would need to
set org.apache.myfaces.EXPRESSION_FACTORY. I think MyFaces documentation is
great, much better than Mojarra's, but shouldn't be a note about this
here
?

Anyway, as I'm using Tomcat, I configured
org.apache.myfaces.EXPRESSION_FACTORY
with org.apache.el.ExpressionFactoryImpl. Its working fine, but I didn't
wan't to make my webapp Tomcat dependent, so is there a MyFaces class that
can delegate to the appropriated container class?

Thanks