Re: Turn down logging in 2.0.4?

2011-03-15 Thread mraible
and not from the jdk logging or some other logging framework (ie. sl4j). You might be able to verify that the logs are indeed from log4j by changing the message Pattern layout in the log4j.xml file and see if the layout is actually changed in the logs. -Richard On 3/13/2011 8:01 PM, mraible

Re: Turn down logging in 2.0.4?

2011-03-13 Thread mraible
In src/main/resources/log4j.xml. I'm using Maven 3 and Java 6 on OS X. Richard Yee-3 wrote: What file are you putting the settings in? R Sent from my iPhone On Mar 11, 2011, at 2:44 PM, mraible m...@raibledesigns.com wrote: If I add the following: !-- Suppress invalid

Re: Turn down logging in 2.0.4?

2011-03-11 Thread mraible
mraible m...@raibledesigns.com: What's the best way to turn down logging in MyFaces 2.0.4. There's a lot of warning messages that don't seem relevant. Thanks, Matt -- View this message in context: http://old.nabble.com/Turn-down-logging-in-2.0.4--tp31068698p31068698.html Sent from

Turn down logging in 2.0.4?

2011-03-04 Thread mraible
What's the best way to turn down logging in MyFaces 2.0.4. There's a lot of warning messages that don't seem relevant. Thanks, Matt -- View this message in context: http://old.nabble.com/Turn-down-logging-in-2.0.4--tp31068698p31068698.html Sent from the MyFaces - Users mailing list archive at

Is it possible to do extensionless URLs with JSF?

2011-01-26 Thread mraible
I'm trying to integrate extensionless URLs in my app using the UrlRewriteFilter. I'm using a technique similar to the one expressed in the following blog post: http://raibledesigns.com/rd/entry/extensionless_urls_in_java_web However, I'm using path-mapping instead of suffix-mapping, but can't

Issues with MyFaces on Tomcat 7

2011-01-24 Thread mraible
I don't know if this is a MyFaces issues, but I tried upgrading from 1.2.7 to 2.0.3 today and 1) everything worked, but 2) it fails to work on Tomcat 7. Using 1.2.7 fails to work on Tomcat 7 as well. I'm using Shale's Commons Validator support to get client-side validation. From my

MyFaces 1.2.1

2008-01-04 Thread mraible
MyFaces 1.2.1 appears to be available in the Central Maven Repository but there's no indication on myfaces.apache.org on in JIRA. Was it released? If so, was there an announcement? Thanks, Matt -- View this message in context: http://www.nabble.com/MyFaces-1.2.1-tp14623072p14623072.html Sent

Re: @PostConstruct - managed properties not set first

2007-10-23 Thread mraible
init() and it didn't work - nor did it work when the method body was in edit(). The tests don't pass, so you might need to use -Dmaven.test.skip=true. Matt kace wrote: That would be fantastic. Thankyou ..kace mraible wrote: I can probably whip up an example with AppFuse Light

Re: @PostConstruct - managed properties not set first

2007-10-22 Thread mraible
on this. Thanks. ..kace mraible wrote: I never got this to work on Tomcat or Jetty, I only got it to work on GlassFish. I suspect that changing web.xml to use a Servlet 2.5 XSD might fix the problem. Matt kace wrote: Hi Matt, did you get this to work for you? Im using appfuse 2

Re: @PostConstruct - managed properties not set first

2007-10-21 Thread mraible
to switch to Suns RI to use this? ..kace mraible wrote: Is there a working example that uses @PostConstruct I can look at? Google doesn't seem to help much on this one. A bunch of folks saying it works, but no proof. ;-) Thanks, Matt mraible wrote: I'm trying to use

Re: MyFaces 1.2.0 on Resin 3.1.2

2007-09-14 Thread mraible
I don't think anyone is compatible with JSP 2.5 are they? ;-) Matt Boris Kovalenko wrote: Resin 3.1 is development release and not fully comply to JSP 2.5 for the time present. I'm getting the following error when trying to run MyFaces 1.2.0 on Resin 3.1.2. Any ideas?

Re: null EL expression - ELResolver cannot handle a null base Object with identifier 'nullValue'

2007-09-13 Thread mraible
I'm seeing this same issue with MyFaces 1.2.0 and Facelets 1.1.13. I tried the exclusion selection below and that doesn't solve anything. I've had a discussion with the Jetty folks about commons-el in Jetty 6.1.5 and they've proven it's not present.

MyFaces 1.2.0 on Resin 3.1.2

2007-09-13 Thread mraible
I'm getting the following error when trying to run MyFaces 1.2.0 on Resin 3.1.2. Any ideas? @400046e9bb65051988cc [17:36:10.302] Loading .tld files from global classpath @400046e9bb670c2104c4 [17:36:12.924] com.caucho.xml.XmlParseException:

Re: MyFaces 1.2.0 on Resin 3.1.2

2007-09-13 Thread mraible
$Item.runTasks(ThreadPool.java:685) Thanks, Matt mraible wrote: I'm getting the following error when trying to run MyFaces 1.2.0 on Resin 3.1.2. Any ideas? @400046e9bb65051988cc [17:36:10.302] Loading .tld files from global classpath @400046e9bb670c2104c4 [17:36:12.924

Re: HtmlResponseWriterImpl: HTML nesting warning on closing span

2007-08-29 Thread mraible
Adding the following to my log4j.xml fixed the problem: !-- Suppress invalid warning messages from JSF -- logger name=org.apache.myfaces.shared_impl.renderkit.html level value=ERROR/ /logger Matt mraible wrote: I get a similar error in an application that has

@PostConstruct - managed properties not set first

2007-08-27 Thread mraible
I'm trying to use @PostConstruct with MyFaces 1.2.0 as described by Jacob Hookom: http://weblogs.java.net/blog/jhook/archive/2007/05/jsf_12_ri_backi.html I added the javax.annotation dependency to my pom.xml: dependency groupIdjavax.annotation/groupId

Re: Testing JSF 1.2 Managed Beans vs. JSF 1.1

2007-08-27 Thread mraible
. mraible schrieb: I had the following BasePageTestCase class that I've been using to test my JSF 1.1 pages. Unfortunately, after upgrading to JSF 1.2, it no longer works. Here's the stack trace: ERROR - DefaultFacesInitializer.initFaces(126) | Error initializing MyFaces: null

Re: Testing JSF 1.2 Managed Beans vs. JSF 1.1

2007-08-27 Thread mraible
/FacesTestCase.java?revision=555932view=markup or, using Shale Tiger (MockFacesContext12): http://svn.apache.org/viewvc/myfaces/core/branches/1_2_1/impl/src/test/java/org/apache/myfaces/application/ApplicationImplTest.java?view=markup -M On 8/27/07, mraible [EMAIL PROTECTED] wrote: Werner - do you

HtmlResponseWriterImpl: HTML nesting warning on closing span

2007-08-27 Thread mraible
I have a custom PanelGrid component and for some reason when I use h:panelGroup, it spits out the following warning: WARN [btpool0-1] HtmlResponseWriterImpl.endElement(234) | HTML nesting warning on closing span: element input rendered by component : {Component-Path : [Class:

Re: @PostConstruct - managed properties not set first

2007-08-27 Thread mraible
Is there a working example that uses @PostConstruct I can look at? Google doesn't seem to help much on this one. A bunch of folks saying it works, but no proof. ;-) Thanks, Matt mraible wrote: I'm trying to use @PostConstruct with MyFaces 1.2.0 as described by Jacob Hookom: http

Re: HtmlResponseWriterImpl: HTML nesting warning on closing span

2007-08-27 Thread mraible
mraible wrote: I have a custom PanelGrid component and for some reason when I use h:panelGroup, it spits out the following warning: WARN [btpool0-1] HtmlResponseWriterImpl.endElement(234) | HTML nesting warning on closing span: element input rendered by component : {Component-Path : [Class

Re: Testing JSF 1.2 Managed Beans vs. JSF 1.1

2007-08-22 Thread mraible
and servlet specs, 1.2 is pure jee5 so any older version of the servlet spec or el or jsp in your runtime classpath is a source of possible problems. mraible schrieb: I had the following BasePageTestCase class that I've been using to test my JSF 1.1 pages. Unfortunately, after

Is it possible to develop a JSF application that gracefully degrades?

2007-08-10 Thread mraible
I'm trying to develop an application that gracefully degrades for users that have JavaScript turned off. We're not concerned so much about supporting non-JavaScript browsers. Rather, we want to developing using Hijax [1] so a page is enhanced by JavaScript, but continues to work if JavaScript is

Does MyFaces 1.2 require JSP 2.1?

2007-07-19 Thread mraible
From what I can tell, MyFaces 1.2 requires JSP 2.1. I developed a quick prototype using MyFaces 1.2 + Facelets 1.1.13 and I get the following error on startup: Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListener

Re: Does MyFaces 1.2 require JSP 2.1?

2007-07-19 Thread mraible
I should mention: I get the error below on startup when deploying on Tomcat 5.0.25. If I change from MyFaces to Sun's RI and deploy on Tomcat 5.0.25 again, no error. Matt mraible wrote: From what I can tell, MyFaces 1.2 requires JSP 2.1. I developed a quick prototype using MyFaces 1.2

Re: Does MyFaces 1.2 require JSP 2.1?

2007-07-19 Thread mraible
as a minimum version (servlet 2.5 support is required) On 7/19/07, mraible [EMAIL PROTECTED] wrote: I should mention: I get the error below on startup when deploying on Tomcat 5.0.25. If I change from MyFaces to Sun's RI and deploy on Tomcat 5.0.25 again, no error. Matt mraible wrote

Testing JSF 1.2 Managed Beans vs. JSF 1.1

2007-07-18 Thread mraible
I had the following BasePageTestCase class that I've been using to test my JSF 1.1 pages. Unfortunately, after upgrading to JSF 1.2, it no longer works. Here's the stack trace: ERROR - DefaultFacesInitializer.initFaces(126) | Error initializing MyFaces: null java.lang.NullPointerException

Re: MyFaces 1.2??

2007-07-11 Thread mraible
Any update on a 1.2 implementation of MyFaces? I might be prototyping an application with JSF + Facelets in the next week. I'll use MyFaces if there's a 1.2 implementation. Otherwise, I'm planning on using Sun's RI. Thanks, Matt Bruno Aranda wrote: Honestly, I have been moving so many

Using a StaticFilter and dispatching to FacesServlet doesn't work

2007-03-22 Thread mraible
In my web application, I prefer to have FacesServlet mapped to *.html. This has worked fine for me for the last couple of years. Recently, I've tried to add a StaticFilter that looks for static files (i.e. /content/faq.html) and dispatches to those if they're found. If they're not found, I

Upgrading from MyFaces 1.1.4 to 1.1.5

2007-02-21 Thread mraible
I recently tried upgrading MyFaces 1.1.4 to the latest 1.1.5 version. When I do this, my tests start failing because I have a couple pages that use JavaScript to call an managed bean's method. Here's my password hint page: f:view f:loadBundle var=text basename=#{basePage.bundleName}/

Is there an OnLoadPhaseListener in MyFaces

2007-02-08 Thread mraible
I'm looking for a version of the following: http://jsf-comp.sourceforge.net/components/onload/index.html Does MyFaces include this PhaseListener? If not, do you know where I can get it from a Maven 2 repo? The support page on the jsf-comp site says to check with the MyFaces user list - so

Re: Is there an OnLoadPhaseListener in MyFaces

2007-02-08 Thread mraible
Andrew Robinson-5 wrote: On 2/8/07, mraible [EMAIL PROTECTED] wrote: I'm looking for a version of the following: You can download it as part of the Extensions release: http://sourceforge.net/project/showfiles.php?group_id=137466package_id=168611 http://jsf-comp.sourceforge.net

Is it possible to use multiple resource bundles with JSF?

2007-01-03 Thread mraible
Is it possible to use multiple i18n resource bundles with JSF? I'd like to have a messages.properties for labels, messages and such and an errors.properties for validation errors. I'd be happy to move to JSF 1.2 if that's a feature not present in 1.1. Thanks, Matt -- View this message in

Re: Component like panelGrid with ul and li

2006-06-02 Thread mraible
mraible wrote: I've decided to try overriding panelGrid's renderer to get this functionality. I'm assuming HtmlGridRendererBase.java (http://tinyurl.com/oqbxh) is the correct class to override? Once I've done this, how do I override it in my faces-config.xml file? I'm overriding

Re: Component like panelGrid with ul and li

2006-06-01 Thread mraible
I've decided to try overriding panelGrid's renderer to get this functionality. I'm assuming HtmlGridRendererBase.java (http://tinyurl.com/oqbxh) is the correct class to override? Once I've done this, how do I override it in my faces-config.xml file? I'm overriding outputLabel with the