Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

trying to use tomahawk and rich faces jar?  RSS feed

Gopu Akraju
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried a very simple example to know how to use menu group. These are the following steps:
1. I opened a web application using Netbeans using JSF as framework.
2. When I run my application, it worked and welcomeJSF page was displayed.
3. Then I wanted to a try a sample program. Hence I modified welcomeJSF page as below:

<%@ taglib uri="" prefix="f" %>
<%@ taglib uri="" prefix="h" %>
<%@ taglib uri="" prefix="t" %>
<%@ taglib uri="" prefix="rich" %>

<f:subview id="menuSubView">
<t:panelGrid columns="1" width="50">
<rich:dropDownMenu value="Menu" direction="bottom-right">
<rich:menuItem value="Home" action="home"/>
<rich:menuSeparator id="menuSeparator1"/>

<rich:menuGroup value="test">
<rich:menuGroup value="Library ">
<rich:menuItem action="regNewLibrary" value="new"/>
<rich:menuItem action="regEditLibrary" value="edit"/>
<rich:menuGroup value="Sample ">
<rich:menuItem action="regNewSample" value="new"/>
<rich:menuItem action="regEditSample" value="edit"/>
<rich:menuGroup value="search ">
<rich:menuItem action="regSearchLibrary" value="library"/>
<rich:menuItem action="regSearchSample" value="sample"/>
<rich:menuSeparator id="menuSeparator2"/>

<rich:menuGroup value="test2 ">
<rich:menuItem action="testSelectLibrary" value="Load Library"/>
<rich:menuItem action="testSeqRequest" value="Seq Request"/>
<rich:menuSeparator id="menuSeparator3"/>

<rich:menuItem value="Exit" action=" testing"/>


4. I added tomahawk-1.1.6.jar, richfaces-api-3.1.0.jar, richfaces-impl-3.1.0.jar, richfaces-ui-3.1.0.jar into libraries.
5. When I run my application, I get an error report as below:

type Status report

message /test1/

description The requested resource (/test1/) is not available.

Can anyone tell me what went wrong?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!