This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomahawk not working with SUN JSF RI

 
Vaibhav Deshpande
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any one there to help me out???

vebs
 
Mandar Kaduskar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic