Trying to use tomahawk and rich faces jar?

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="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
<f:subview id="menuSubView">
    <h:form>
        <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>
                   <rich:menuGroup value="Sample ">
                        <rich:menuItem action="regNewSample" value="new"/>
                        <rich:menuItem action="regEditSample" value="edit"/>
                    </rich:menuGroup>
                    <rich:menuGroup value="search ">
                        <rich:menuItem action="regSearchLibrary" value="library"/>
                        <rich:menuItem action="regSearchSample" value="sample"/>
                    </rich:menuGroup>
                </rich:menuGroup>
                <rich:menuSeparator id="menuSeparator2"/>
                <rich:menuGroup value="test2 ">
                    <rich:menuItem action="testSelectLibrary" value="Load Library"/>
                    <rich:menuItem action="testSeqRequest" value="Seq Request"/>
                </rich:menuGroup>
                <rich:menuSeparator id="menuSeparator3"/>
                <rich:menuItem value="Exit" action=" testing"/>
            </rich:dropDownMenu>
        </t:panelGrid>
    </h:form>
</f:subview>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?

Yes, I could guess my problem now. My web.xml is as below:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>/WEB-INF/applicationContext.xml</param-value>
    </context-param>
    <context-param>
        <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
        <param-value>messages</param-value>
    </context-param>
    <context-param>
        <param-name>com.sun.faces.verifyObjects</param-name>
        <param-value>false</param-value>
    </context-param>
    <context-param>
        <param-name>com.sun.faces.validateXml</param-name>
        <param-value>true</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>client</param-value>
    </context-param>
    <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.html</url-pattern>
    </servlet-mapping>  
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file>
            index.jsp
        </welcome-file>
    </welcome-file-list>
</web-app>When I try to add filter for tomahawk and rich faces as below, I get deployment error.
<filter>
        <filter-name>extensionsFilter</filter-name>
        <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
        <init-param>
            <description>Set the size limit for uploaded files.
                Format: 10 - 10 bytes
                10k - 10 KB
                10m - 10 MB
                1g - 1 GB
            </description>
            <param-name>uploadMaxFileSize</param-name>
            <param-value>100m</param-value>
        </init-param>
        <init-param>
            <description>Set the threshold size - files
                below this limit are stored in memory, files above
                this limit are stored on disk.
                Format: 10 - 10 bytes
                10k - 10 KB
                10m - 10 MB
                1g - 1 GB
            </description>
            <param-name>uploadThresholdSize</param-name>
            <param-value>100k</param-value>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>extensionsFilter</filter-name>
        <url-pattern>*.html</url-pattern>
    </filter-mapping>
<filter>
        <display-name>RichFaces Filter</display-name>
        <filter-name>richfaces</filter-name>
        <filter-class>org.ajax4jsf.Filter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>richfaces</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>Anything wrong in the above code?

Similar Messages

  • I am trying to use Facetime and it says my devise does not have proper credentials??

    I am trying to use Facetime and it says my devise does not have proper credentials.  What does this mean?  I have used it in the past. 

    While we all have MacBooks in this forum not all of us use FaceTime. There's a FaceTime Support Community where everybody uses FaceTime. You should also post this question there to increase your chances of getting an answer. https://discussions.apple.com/community/mac_app_store/facetime_for_mac

  • I am trying to use ichat and when I try to log in it says my account has been suspended bc of suspicious use...help

    i am trying to use ichat and when I try to log in it says my account has been suspended bc of suspicious use...help

    Hi,
    I would guess this is  an AIM valid Screen Name such as an Apple issued @mac.com account.
    I would also guess you travel to other countries.
    There have been several posts about @mac.com names and people who travel and use their Screen Name elsewhere having the name Suspended.
    Can you Log in here  https://settings.aim.com/ ?
    Is this where you saw the Suspended message ?
    For AIM issued name the answer is to change your Password as this tends to prove you own the account.
    This does not work for Apple IDs used as  AIM Valid Screen Names as AIM can't tell when the password is changed (They can only see it when you log in)
    AIM's Suspended Account page has an email ([email protected]) on it to contact if your account remains Suspended.
    However you need to be very clear that you have an Apple Issued Name and that you know that resetting the password that works for AIM Names and that you would like them to reset the account.
    More recently this has been a sticking point.  It seems the Contact you get does not always know about the agreement that AIM recognises Apple Issued IDs as Valid Screen Names and that the AIM  servers can only view the passwords at specific times (or at least confirm them) so you changing it will make no difference and that they have to step in manually.
    10:39 PM      Saturday; October 20, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • I am trying to use Labview and RP1210 compliant hardware to connect to a truck J1939 bus and receive messages.

    I am trying to use Labview and RP1210 compliant hardware to connect to a truck J1939 bus and receive messages. 
    Specifically I am attempting  to read data frames using the RP1210_READMESSAGE .   am able to configure the hardware and send a message to the J1939 bus. .    I think I have not configured something correctly.  I can use the RP1210_SENDMESSAGE and see the message I have sent on the bus using CANalyzer   When I use the RP1210_READMESSAGE   I get the timestamp from a message and the return from the function sends back the correct number of bytes (the number matches the number of bytes I sent out plus four bytes from the timestamp).  What I am having trouble with is actually receiving the data. I have had the same type of behavior from two different hardware (Vector CANcase XL and Nexiq USB Link), so I don't think the issue is vendor specific.
    Has anyone been able to make the RP1210_RECIEVEMESSAGE function work correctly?
    Thanks for any help

    Thanks
    I have already tried that.  The links are the NI RP1210 wraper. The problem I am having is using labview to interface with the RP1210 layer.  The RecieveMessage char*fpchAPIMessage this is the output which is a pointer to a cahracter array.  In this variable I can receive the timestamp of the message but not the message.  The retun showns the correct amount of bytes are aviaable (18 for a 8 byte message) but I can only get the 4 byte timestamp  I think I have to dereference this pointer to view the data.  I am not sure how to fix this. 

  • I am trying to use imovie and i have never had this problem before. All of my videos are completly grey and when you try and play them all i get is a black screen but i still hear audio.  Can you please help and tell me what i need to do. Thank you

    I am trying to use imovie and i have never had this problem before. All of my videos are completly grey and when you try and play them all i get is a black screen but i still hear audio.  Can you please help and tell me what i need to do. Thank you

    Make sure all of the videos used in the project that is having that problem are from the same event. If they are from multiple events, move them all into one event.

  • I bought the Adobe student version of Photoshop and Premiere Elements a few months ago - and now I am trying to use it, and the serial number that I have is incorrect - or it is only the registration number or something? It says I should have been sent an

    I bought the Adobe student version of Photoshop and Premiere Elements a few months ago - and now I am trying to use it, and the serial number that I have is incorrect - or it is only the registration number or something? It says I should have been sent an email with the serial number once the product was registered - But I never received this email. If anyone is able to help me with this issue - that would be great. the registration number is: PEPEP6-5578-6450-8871-9107  I am using a windows based system

    If I were you I would first make sure CS6 was deactivated or signed-out. Then download Adobe's cleaner and remove cc, CS6 and any other creative  application installed including Creative Cloud desktop application.  Then install CS6 and use your CS6  serial number during the install to activate CS6 standard or extended which ever the serial number is for.   CS6 Version 13.0 should the be activated. That level of CS6 is extremely bug ridden so be sure to the use CS6 menu Help>Updates to get CS6 updates.  Windows should update to version 13.0.1.3 Mac to version 13.0.6.  Not Subscription CS6 version 13.1.2...
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • After years of owning all things Mac, I am finally trying to use iChat, and can't get it to work. I see my buddy, but all I can do is send a message--the video and audio chat icons are gray, as is inviting to a video chat under Buddies.

    After years of owning all things Mac, I am finally trying to use iChat, and can't get it to work. I am using gmail, and I see my buddy (no camera icon next to her name), but all I can do is send a message--the video and audio chat icons are gray, as is inviting to a video chat under Buddies. My buddy has the same problem as I.  We are able to do video chat through gmail, but I had hoped to use iChat.  I am using OS 10.6.8, iChat v. 5.0.3.  What am I missing?

    HI,
    iChat will Video chat to another iChat in a Jabber Buddy List (Google run a Jabber server for GoogleTalk)
    However it will not Video to the Web Page login to iGoogle or the Web Mail Page login.  (where people can Google Chat as it were in a  Web Browser).
    Nor does it video to the Google Talk Stand alone app for PCs or any other Jabber apps on any platform.
    iChat uses a connection Process called SIP (Session Initiation Protocol) which is also used by other VoIP devices.
    Jabber/XMPP invited the Jingle Protocol for Jabber Applications.
    Google have included this in their Standalone app and the Plug-in for Web Browsers on both PCs and Mac (you can get this as a Standalone Plug-in or as part of Chrome)
    More on this here  This article has been changed several time in the recent months.  It now claims a greater involvement by Google in writing the Jingle Library (Although now Google's version does not work with the others)
    This tends to mean that using the web Login to Google to Chat also cannot video chat to other Jabber apps that are using Jingle.
    If your Buddy is using iChat then check the Video Menu has two items to Enable Camera/Video chat and Microphone/Audio chats are ticked.
    In the View Menu the Show Status Items should be ticked (Selecting them toggles the tick and the function On or Off)
    It could be Internet speed but at this stage I would doubt this at this stage.
    10:27 PM      Saturday; January 21, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Trying to use Buttons and keep getting an error code

    I am trying to use buttons and I keep getting the error code ReferenceError: Error #1074: Illegal write to read-only property graphics on flash.display.MovieClip.
    There is one button that doesnt appear when I view it live/in browser/ in flash professional
    I have created this button the SAME way, about 36 times, as the other buttons that work fine. What am I doing wrong?
    PLEASE HELP ASAP...

    The error appears to involve trying to assign a value to the graphics property of a MovieClip.  Do you have code that uses something.graphics =

  • Tried to use Iphoto and was told I needed upgrade. Try to install upgrade . Upgrade should take an hour if photo library is large. It's now close to three hours and still upgrading.  Can't use Iphoto and don't want to stop if still upgrading...3hours??

    Tried to use Iphoto and was told I needed upgrade. Try to install upgrade . Upgrade should take an hour if photo library is large. It's now close to three hours and still upgrading.  Can't use Iphoto and don't want to stop if still upgrading...3hours??

    You are on Windows 2000, you do not have a "Firefox" button, and should consider yourself to be fortunate in that you still have menus and don't have to do anything to get the menus back instead of the "Firefox" button. (The same applies to Windows XP users).
    Use the "File" menu to get to Import. You are not on Windows 7 or Vista, and don't have to put up with the nonsense added for Aero.
    If you want the "Firefox" button you can get it with View -> toolbars -> (uncheck) Menu Bar. The menu bar and the "Firefox" button were supposed to be mutually exclusive (which is impossible in some cases without being incompatible).
    Once you are using the "Firefox" button ...
    Use the "Alt" key to view the menu bar (temporarily) containing File, Edit, View, History, Bookmarks, Tools, and Help. On Windows 7 and Vista, the menu bar was hidden by default in Firefox 4 and above. These menu items are more or less available under the "Firefox" button which has the most used of the built-in Firefox menu items available in a different format.
    To get back to having menus again. "Firefox" button -> Options (second column) -> (check) Menu Bar
    You can make '''Firefox 7.0.1''' look like Firefox 3.6.*, see numbered '''items 1-10''' in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 thru 8.0, look like 3.6)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
    * http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface

  • I am trying to use screens and it keeps telling me it cannot detect Java even though I have installed and updated Java?  What might be the problem?

    I am trying to use "screenr" and it keeps telling me it cannot detect Java even though I have downloaded and updated Java?  What is going on or what might I do to correct this?
    Thanks

    Firefox needs 32-bit plugins, so you'll need to install 32-bit Java for Firefox.
    No, you can't change Firefox from 32-bt to 64-bit. There is a Nightly 64-bit version (alpha) of Firefox, but it is used only to test for regressions until development is resumed.

  • I just got y ipad. It was working fine. suddenly I tried to use it and it wont turn on.

    I just got my ipad. It was working fine. suddenly I tried to use it and it wont turn on. The battery is fine.

    Have you tried a reset ? Press and hold both the sleep and home buttons for about 10 seconds, after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot. Happened to me once, about 6 months ago, and a reset got it working again.

  • How can I convert MiniDV tapes to DVD? I've use a Canon GL 2 and an iMac about 1 year old. I'm trying to use iMovie and I've installed the latest drivers.

    How can I convert MiniDV tapes to DVD? I've use a Canon GL 2 and an iMac about 1 year old. I'm trying to use iMovie and I've installed the latest drivers.

    MiniDV was a great format, one I still use often. I also still use iMovie HD6 to process it and, for all the iterations of iMovie that followed it, I still believe it was one of Apple's greatest movie software programmes, next to Final Cut Pro, using a timeline method of editing. That was also in the day which Apple put Superdrives into their computers, so that you could not only make your movie in iMovie, but you could render it to iDVD and then burn the DVD. Now you need to buy an external burner.
    Since iMovie HD6 and iDVD 6 were "universal" software, it has continued to work through the many OS releases since it came out with Tiger, I believe it was. So, it may still work with Mavericks too and, if you could locate a copy of iLife 06, probably used, you might enjoy the difference that HD6 has over all iMovie releases since then.
    Not saying you can't process your MiniDV with current iMovie versions, but I'm not the one to speak about that.

  • HT204266 My $25 gift card has been used once. I have tried to use it and get a message it has been redeemed. It shows I have $23.71 left. "What is the problem?

    My $25 gift card has been used once. I hav tried to use it and get a message it has been redeemed. It shows I have $23.71 left. "What is the problem"?

    What is the problem? You only redeem it once.
    If it shows $23.71, then you still have credit.  Just buy something.
    Not sure what your issue is.

  • Restored my iphone 5c and now cant activate it. tried to use wifi and i tunes but both things give me the same : We're sorry, we are unable to continue with your activation at this time. pls hep !

    restored my iphone 5c and now cant activate it. tried to use wifi and i tunes but both things give me the same : We're sorry, we are unable to continue with your activation at this time. pls hep !

    Was your phone jailbroken/hacked?

  • I purchased CS6 and am now just using it. I am trying to use Illustrator and it keeps giving me multiple errors relating to plug ins. It won't let me do anything, literally.

    I purchased CS6 and am now just using it. I am trying to use Illustrator and it keeps giving me multiple errors relating to plug ins. It won't let me do anything, literally.

    Run the cleaner tool and reinstall.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Mylenium

Maybe you are looking for

  • BOM explosion in sales order

    Hi Experts, I have met a problem in BOM explosion in sales order. I have maintained the BOM with usage 5 and the conversion between header material and component of the BOM. But in the sales order entry, no matter how many qty I entered for the heade

  • TS1389 Cant get it to work, and i cant find the SC Info folder it aint there when i search

    I tried this help page, but i cant din the SC Info folder when i seach after it. and it only 1 of the 2 songs i just pushed from Itunes that keep asking me to authorize my computer, every time after i do it it just skip to the next song and i can sta

  • Query from the data abse  and pass values to a pdf form

    query from the data abse and pass values to a pdf form Hello Hello i have this html report that i have written to output a report. now, i am assigned to pass the same fields to a pdf form so the fields in the adaobe form can be populated or the term

  • Spanned Clips reordering issue

    We have a problem with spanned clips reordering themselves in Premiere CC. It only happens when reading the clips of our External Network Drive (Synology Diskstation DS1812+) and not when reading them from the local drive. Is this a problem you're fa

  • SOX Compliance in SAP

    Hi all, we are about do one project for US based company for which they are asking about SOX compliance in SAP. Can any one tell, what we have to do in SAP R/3 in order meet SOX compliance as per US regulations. Regs, Ramesh B