aspose file tools
The moose likes JSF and the fly likes custom jsf component  (.tld file) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "custom jsf component  (.tld file)" Watch "custom jsf component  (.tld file)" New topic
Author

custom jsf component (.tld file)

Alex Belisle Turcot
Ranch Hand

Joined: Apr 26, 2005
Posts: 516
Hi,

I want to create a tld xml file to create my own jsf component.
How can I do that within Sun Studio Creator ?

I don't want to just copy it manually to the WEB-INF directory because its a tmp directory in Sun Studio Creator and I would have to copy it every time.

I would rather want this tld file to be part of my project and be deployed every time.

Anyone know how to do this ?

Thanks,
Alex
Alex Belisle Turcot
Ranch Hand

Joined: Apr 26, 2005
Posts: 516
Ok I think I found it.

I switched my Project view to show file system view.
I added the tld file under ..\src\web\WEB-INF\lib

I can now work on my tld from Creator and it will probably be deploy to automaticaly now.

regards,
Alex
Bansilal Haudakari
Greenhorn

Joined: Jun 28, 2004
Posts: 15
Hi Alex
As described in your article http://today.java.net/pub/a/today/2004/07/16/jsfcustom.html i implemented simple application

I am getting the following error

OracleJSP: oracle.jsp.parse.JspParseException: /Simple.jsp: Line # 3, <%@ taglib prefix="cc" uri="http://bill.dudney.net/cc/component" %>
Error: "http://bill.dudney.net/cc/component" is not a registered TLD namespace

I am deploying it to Oracle 10g v 10.1.3 application server
Regards
Bansi
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: custom jsf component (.tld file)
 
Similar Threads
Java server Faces?
may i use IDE's ????
JSF custom component : UIComponentBase.encodeBegin : NullPointerException
Eclipse4Web or Sun's Java Studio Creator?
TLD for custom JSF UI component