File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes tomahawk not working with SUN JSF RI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "tomahawk not working with SUN JSF RI" Watch "tomahawk not working with SUN JSF RI" New topic
Author

tomahawk not working with SUN JSF RI

Vaibhav Deshpande
Ranch Hand

Joined: Apr 26, 2002
Posts: 33
Hi All,

I am trying to use tomahawk custom components in my jsf applicaiton which is build using SUN JSF implementation.

I have added on my xhtml page following
xmlns:t="http://myfaces.apache.org/tomahawk"

and the component tag:
<t:htmlTag value="b">INDIA</t:htmlTag>

The problem is that above mentioned compoment doesn't get rendered. In the vewi source of the screne it is same as <t:htmlTag value="b">vaibhav</t:htmlTag>

I am using jar tomahawk-1.1.6.jar.

do i need to update my web.xml or any other confuiguration.

warm regards and thanks
Vebs
Vaibhav Deshpande
Ranch Hand

Joined: Apr 26, 2002
Posts: 33
Any one there to help me out???

vebs
Mandar Kaduskar
Greenhorn

Joined: May 01, 2008
Posts: 3
Vaibhav -
Today is May 1st(Jai Maharashtra)!

The reason its not getting renedered because you need to have this in your web.xml
<context-param>
<param-name>facelets.LIBRARIES</param-name>
<param-value>/WEB-INF/tomahawk.taglib.xml</param-value>
</context-param>
and obviously you need to have the tomahawk.taglib.xml present as follows
http://wiki.apache.org/myfaces-data/attachments/Use_Facelets_with_Tomahawk/attachments/tomahawk.taglib.xml

and here is the wiki to setup inputFileUpload
http://wiki.jboss.org/wiki/SeamFileUpload


also
http://www.nabble.com/using-%3Ct%3AinputFileUpload--%3E-with-Tomahawk-%2B-Facelets-%2B-MyFaces-td8814117.html

You will also need commons-io.jar, commons-el.jar in your web-inf/lib besides the one in the wiki. Hope this helps!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomahawk not working with SUN JSF RI
 
Similar Threads
unable to include jsp in tomahawk tab
Need to display third column in next row
JSF 2.0 FacesContext.IsPostback()
Flash in JSF
Mixing websites written in html and jsf