I am trying to run an application using Spring Webflow + JSF (My Faces Tomahawk), and I am able to successfully deploy the application on Tomcat 6 through eclipse. However, when I try to hit the flow, the page is not rendering properly. When I do a view source on the page, I noticed that the tomahawk tags haven't been translated into html. The following is my XHTML code.
I've had this problem as well. I think some of the tags in Tomahawk don't really exist. So they don't get processed, because the standard for HTML is any tag that's not understood gets passed through verbatim. My workaround has been to use non-Tomahawk equivalents.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Jul 20, 2009
I figured out the issue. Apparently I was using Tomahawk 1.15 which requires that you install the tomahawk taglib into your web application and define the location of the taglib in the web.xml through the faces.LIBRARIES param. However, if you use tomahawk 1.17 and greater, you do not require this.
In ancient times, the TLD was an external file that had to be supplied independently of the JSP tag classes. Nowadays it can be stored in the same JAR that the classes are stored in, which virtually eliminates the need for a web.xml entry, makes installation a simple matter of copying the taglib jar into WEB-INF/lib, and as a side benefits, keeps the TLD and classes in sync.