<%@ taglib uri="http://myfaces.apache.org/extensions" prefix="t" %> Should be <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>
On 9/4/06, yangontha <[EMAIL PROTECTED]> wrote:
Hi, I am using <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://myfaces.apache.org/extensions" prefix="t" %> and change the extension name in web.xml <filter> <filter-name>extensionsFilter</filter-name> <filter-class> org.apache.myfaces.myfaces.webapp.filter.ExtensionsFilter </filter-class> </filter> <filter-mapping> <filter-name>extensionsFilter</filter-name> <url-pattern>*.faces</url-pattern> </filter-mapping> <filter-mapping> <filter-name>extensionsFilter</filter-name> <url-pattern>/faces/*</url-pattern> </filter-mapping> and have the jar files -rw-r--r-- 1 root root 118757 Jun 27 09:23 commons-beanutils.jar -rw-r--r-- 1 root root 170902 Jun 27 09:23 commons-collections.jar -rw-r--r-- 1 root root 109131 Jun 27 09:23 commons-digester.jar -rw-r--r-- 1 root root 31825 Jul 10 15:36 commons-fileupload-1.1.jar -rw-r--r-- 1 root root 206158 Jul 10 15:36 commons-lang-2.1.jar -rw-r--r-- 1 root root 31638 Jun 27 09:23 commons-logging.jar -rw-r--r-- 1 root root 242713 Jun 27 09:23 html_basic.tld -rw-r--r-- 1 root root 364470 Jun 27 09:23 jsf-api.jar -rw-r--r-- 1 root root 24514 Jun 27 09:23 jsf_core.tld -rw-r--r-- 1 root root 698542 Jun 27 09:23 jsf-impl.jar -rw-r--r-- 1 root root 20962 Jun 27 09:23 jstl.jar -rw-r--r-- 1 root root 252043 Sep 3 13:05 myfaces-api-1.1.3.jar -rw-r--r-- 1 root root 524026 Sep 3 13:05 myfaces-impl-1.1.3.jar -rw-r--r-- 1 root root 446464 Jun 27 09:42 mysql-connector-java-3.1.12-bin.jar -rw-r--r-- 1 root root 515931 Jun 27 09:23 standard.jar -rw-r--r-- 1 root root 1281201 Jul 19 15:41 tomahawk-1.1.3.jar -rw-r--r-- 1 root root 33869 Jun 27 09:23 web-facesconfig_1_1.dtd Still the servlet can't start. I am not sure how to continue to check... iamnoah wrote: > > Are you using <%@ taglib uri="http://myfaces.apache.org/extensions" > prefix="x" %> in your pages instead of <%@ taglib > uri="http://myfaces.apache.org/tomahawk" prefix="t" %>? > Or perhaps you have it declared in your page somewhere? > http://myfaces.apache.org/extensions was the tomahawk namespace many > releases ago (I think). If you get rid of/replace all occurences of > it, I wouldn't be surprised if that solves your problem. > > On 9/3/06, yangontha <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> Yes. Calendar is nested in the h:form >> >> <td> >> <t:inputDate id="fromDate" value="#{loginHandler.currApply.fromDate}" >> popupCalendar="true"/> >> </td> >> >> [It is working correctly with tomahawk.jar, previous version.] >> >> The stack trace:- >> org.apache.jasper.JasperException: The absolute uri: >> http://myfaces.apache.org/extensions cannot be resolved in either web.xml >> or >> the jar files deployed with this application >> >> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50) >> >> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) >> >> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:114) >> >> org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316) >> >> org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:147) >> >> org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418) >> org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483) >> org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543) >> org.apache.jasper.compiler.Parser.parse(Parser.java:126) >> >> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211) >> >> org.apache.jasper.compiler.ParserController.parse(ParserController.java:100) >> >> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146) >> org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) >> org.apache.jasper.compiler.Compiler.compile(Compiler.java:267) >> org.apache.jasper.compiler.Compiler.compile(Compiler.java:255) >> >> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556) >> >> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293) >> >> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) >> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >> >> com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322) >> >> com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130) >> >> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87) >> >> com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200) >> >> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117) >> javax.faces.webapp.FacesServlet.service(FacesServlet.java:198) >> >> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) >> >> >> However I have not changed according to the 2 wiki pages. >> I will read and change accordingly. (However just now I treid to change >> the >> extension filter name and put in the myfaces-impl... myfaces-api... >> caused another error. the servlet can't start. Probably I missed some >> point. >> I will read again. I am not using Maven.) >> >> thanks, >> >> >> >> >> >> iamnoah wrote: >> > >> > Is your calendar nested inside an h:form? >> > >> > What is the error? Can you give us the stack trace? >> > >> > Have you tried >> > http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1%2e1%2e3 >> > and >> > >> http://wiki.apache.org/myfaces/More_tips_on_Upgrading_to_Tomahawk_1%2e1%2e3 >> > ? >> > >> > On 9/1/06, yangontha <[EMAIL PROTECTED]> wrote: >> >> >> >> Hi, >> >> >> >> I am facing the same problem. Previously I use (tomahawk.jar) and >> >> Calendar >> >> works fine. then I changed to (tomahawk-1.1.3.jar) and it occured the >> >> error.So I change back to (tomahawk.jar) and is working. >> >> Now I want to use (1.1.3). Which commons file do I need to put? Can >> you >> >> give >> >> me more deatil information? >> >> I have put the commons-fileupload-1.1.jar with tomahawk 1.1.3. But it >> is >> >> not >> >> working. >> >> Which commons---.jar do I need to add? >> >> >> >> thanks in advance, >> >> >> >> >> >> I just added the commons jar.. Non of the documentation states that >> this >> >> was >> >> needed.. a bit confusing.. but, I got the calendar working and it was >> >> very >> >> simple.. Nice to see something easy.. I've been fighting with the Sun >> JSF >> >> impl for a few weeks and it's been disappointing.. >> >> >> >> thanks >> >> dan >> >> >> >> -- >> >> View this message in context: >> >> http://www.nabble.com/tomahawk-config-tf2166374.html#a6093310 >> >> Sent from the MyFaces - Users forum at Nabble.com. >> >> >> >> >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/tomahawk-config-tf2166374.html#a6119321 >> Sent from the MyFaces - Users forum at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/tomahawk-config-tf2166374.html#a6132032 Sent from the MyFaces - Users forum at Nabble.com.

