Jump to content

Archived

This topic is now archived and is closed to further replies.

DougVA

[MyFaces] tld recognition

Recommended Posts

I have these .jar files in my WEB-INF/lib directory

11/30/2005  07:43 PM          188,671 commons-beanutils-1.7.0.jar
11/30/2005  07:43 PM            46,725 commons-codec-1.3.jar
11/30/2005  07:42 PM          559,366 commons-collections-3.1.jar
11/30/2005  07:42 PM          168,446 commons-digester-1.6.jar
11/30/2005  07:43 PM          112,341 commons-el-1.0.jar
11/30/2005  07:41 PM          207,723 commons-lang-2.1.jar
11/30/2005  07:43 PM            38,015 commons-logging-1.0.4.jar
11/30/2005  07:43 PM            16,923 jstl-1.1.0.jar
05/06/2006  05:52 PM          252,043 myfaces-api-1.1.3.jar
05/06/2006  05:53 PM          524,026 myfaces-impl-1.1.3.jar
05/31/2006  12:34 AM          456,729 mysql-connector-java-3.1.13-bin.jar
06/11/2006  06:25 PM        1,281,201 tomahawk-1.1.3.jar

I have the following line in a .jsp file

<%@taglib uri="http://myfaces.apache.org/extensions" prefix="x"%>

but I'm getting the error

"Welcome.jsp": 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

I must say I'm doing this in JBuilder 2005 and that may pose a problem although I can't see why.  I've made sure (I think) that the program can't be finding the standard JSF stuff, but instead is using the MyFaces stuff.

Any ideas why the "x" tag is not being recognized?

Share this post


Link to post
Share on other sites
I can now answer my own question so maybe this will help.  For the latest version of My Faces 1.1.3, you don't use the "extensions" anymore, but rather tomahawk.  So, the extension is "t" rather than "x" and

<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>

rather than

<%@taglib uri="http://myfaces.apache.org/extensions" prefix="x"%>

Unfortunately, Borland's JBuilder IDE still does not recognize the "t" and wants to suggest a tag, but the program compiles, runs and uploads files as advertised by apache.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.