Hi
I have the same problem...
Nobody has an idea??
I searched in the web.. but I didnt find any help...
It's a pity when problems like this makes MyFaces undependable...
thanks..



Titi Wangsa schrieb:
hello
i was happily using <head></head>
but i read here
http://wiki.apache.org/myfaces/Performance
that i can get better performance if i do these things
1. change <head>...</head> to <t:documentHead>...</t:documentHead>
2. add these lines in web.xml
    <context-param>
        <param-name>org.apache.myfaces.ADD_RESOURCE_CLASS</param-name>
        <param-value>
            org.apache.myfaces.component.html.util.StreamingAddResource
        </param-value>
    </context-param>

i did.
but when i tried to display the page
i get this error message

ERROR: Unknown error while serving resource: null/header.css, message
: For input string: "null"
java.lang.NumberFormatException: For input string: "null"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Long.parseLong(Long.java:403)
at org.apache.myfaces.component.html.util.StreamingResourceLoader.serveResource(StreamingResourceLoader.java:44) at org.apache.myfaces.component.html.util.StreamingAddResource.serveResource(StreamingAddResource.java:780) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:128) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:834) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:640) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1286)
    at java.lang.Thread.run(Thread.java:595)


i'm using myfaces 1.1.5 + tomahawak 1.1.5 + shale 1.0.4
could shale be causing this?


Reply via email to