Jump to content


Photo

[MyFaces] tld recognition


  • Please log in to reply
1 reply to this topic

#1 DougVA

DougVA
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 03 September 2006 - 03:51 AM

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.apach...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?

#2 DougVA

DougVA
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 03 September 2006 - 04:09 AM

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.apach...e.org/tomahawk" prefix="t"%>

rather than

<%@taglib uri="http://myfaces.apach...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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users