"Tutorial - Getting Started with JSF" does not work

I tried the "Tutorial - Getting Started with JSF" located on http://www.oracle.com/technology/obe/obe1013jdev/jsfintro/jsfintro.htm#t6, but the last part "Creating a conditional navigation" is not complete.
There are 2 issues
1. The return values in the code blocks in step 9 and 11 do not match with the given example code.
2. In step 12 I am missing the way to bind this message component to returned message from the login.
Could you please correct the code parts and add the message binding piece?
Thanks,
Aard Jan

I tried the "Tutorial - Getting Started with JSF" located on http://www.oracle.com/technology/obe/obe1013jdev/jsfintro/jsfintro.htm#t6, but the last part "Creating a conditional navigation" is not complete.
There are 2 issues
1. The return values in the code blocks in step 9 and 11 do not match with the given example code.
2. In step 12 I am missing the way to bind this message component to returned message from the login.
Could you please correct the code parts and add the message binding piece?
Thanks,
Aard Jan

Similar Messages

  • Java Applet HelloWorld "Getting Started With Applets" example not working

    Hi there,
    It's been ages since I ran my Linux CentOS boot of Linux but I am going through the official oracle java applet tutorials, just every time I try and run the "Hello World" applet in Firefox 17.0.3 and I am running the Iced Tea thing for java applets.
    Every time I try and run the example from the following code:
    import javax.swing.JApplet;
    import javax.swing.SwingUtilities;
    import javax.swing.JLabel;
    public class HelloWorld extends JApplet
      // called when the user enters the html page:
      public void init() // keep apps within the init() function very small as per the http://docs.oracle.com/javase/tutorial/deployment/applet/appletMethods.html
        try{
          SwingUtilities.invokeAndWait(new Runnable()
            public void run()
           JLabel myLabel = new JLabel("Hello World");
           add(myLabel);
            } // end running the application
          }); //end of swing invokeand wait
        } catch (Exception error){ // end user running the app in page
           // System.err.println("GUI didn't work on initial run");
    }It keeps bringing up the error "Start: Applet not initialized" I did google that basic error and from what I found I should consult the JavaConsole, I know the console was removed from the Firefox menu quite a while ago. So went to find a way of loading it using the IcedTea one but it keeps bringing up a load of errors in even trying to run that.
    Is there anyway of sorting this out? I mean I have even tried installing the one on the oracle website, the plain JDK but nothing seems to work.
    Is there anyone that can help me get applets working? I was even going to go as far as to reinstall my distro but I want to avoid that as much as possible.
    Thanks and I look forward to any replies,
    Jeremy.

    in the Getting Started with Java DB tutorial they
    tell u how to set ur "DERBY_HOME" (what is that?).
    once i press enter after typing this command:
    set DERBY_HOME=D:\Java\Java
    Phonebook\javadb in my command prompt do i get
    any message or does it just go to the next line?type env or set or whatever in the command line to see what your environment variables are set to
    they also tell u how to set ur "JAVA_HOME" (what is
    that?). The Java installation you want to use
    in their example they give u this: set
    JAVA_HOME=C:\Program Files\Java\j2se1.4.2_05but in my java folder i have jdk1.6.0 and jre1.6.0
    but no j2se1.4.2_05, so which 1 must i choose?It's up to you. I'd go with 1.6
    also once ive done this: set
    DERBY_HOME=D:\Java\Java Phonebook\javadb this
    set JAVA_HOME=D:\Program
    Files\Java\jre1.6.0 and this set
    PATH=%DERBY_HOME%\bin;%PATH% and then type
    sysinfo to verify that the variables were set
    correctly i get these errors: 'D:\Java\Java' is
    not recognized as an internal or external command,
    operable program or batch file and '""'
    is not recognized as an internal or external command,
    operable program or batch file any help would
    really be appreciated because this is really killing
    me!you need to set your path variable - so something like:
    set PATH=C:\Program Files\Java\j2se1.4.2_05\bin

  • I am walking through Apples tutorial getting started with iOS development. I am at the storyboard area and can't seem to drag the cancel button to the green exit. I am not sure why the exit button doesn't except it. Is anyone else having this issue?

    I am walking through Apples tutorial getting started with iOS development. I am at the storyboard area and can't seem to drag the cancel button to the green exit. I am not sure why the exit button doesn't except it. Is anyone else having this issue? Is there a work around? I have done this app twice and still cant get the exit to except the Cancel or Done  bar buttons

    Yes I checked it.  As far as I can see I did everything Apple said to do.  I took some screen shot so you can see how the screens are connected and what and where the code is, and what it does when I drag the cancel and done bar buttons to the exit

  • Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. Thanks.

    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. I am getting lots of spelling errors as the MacBook laptop screen is too small. Thank you so much! .

    Contentmom6 wrote:
    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work.
    Normally, you just connect the monitor to the MacBook using a VGA adaptor that you can buy from an Apple Store.  Now try System Preferences > Displays > Detect Displays.  You should now be able to select a display mode for the monitor.  If it still doesn't work, then I'd check that everything is properly connected.  I've had problems with colours disappearing due to a faulty connection in the VGA adaptor.
    Bob

  • HT4235 iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    Hmm.. Thank you for the response.
    Have you tried using the iPod with another user account or computer, to help narrow down whether the problem lies with the computer, account, or the iPod itself?
    Maybe try reformatting it, using the tools provided by Windows. Instructions on how to reformat your iPod can be found in this article.
    http://www.methodshop.com/gadgets/ipodsupport/erase/index.shtml
    B-rock

  • I am using Windows 7 64-bit. After installing Photoshop Elements 13 and trying to run it I always get the message: Photoshop does not work anymore. And it doesn't.

    I am using Windows 7 64-bit. After installing Photoshop Elements 13 and trying to run it I always get the message: Photoshop does not work anymore. And it doesn't.

    Hi Hardy Tasso,
    Are you seeing this problem since first launch of PSE13 after installation or recently?
    Please try:
    Keep Ctrl + Alt + Shift keys pressed while launching PSE13 Editor and click OK on the dialog that comes next.
    Thanks,
    Anwesha

  • Serial number provided with download does not work, now what?

    serial number provided with download does not work, now what?

    Chrish29593217 you are welcome to contact our directly at Contact Customer Care.  What Adobe software title are you facing difficulties with?

  • Shortest path to get started with JSF project

    Hello,
    I am looking for a path of least resistance (or effort) to get started with JSF. This is really an add to the "JSP due diligence" thread that I started but with a specific question. At this time, I am primarily interested in implementing an MVC framework. The components of JSF seem interesting and I think will be valuable to us, but it would be too much to bite off at this time. So, could I implement JSF with my JSP pages (with code to use the backing beans but my own html components) and then later add JSF components as the next step? Perhaps this is non sensical but appreciate you saying that so I know how much effort is involved.
    Thanks!
    Priya

    Trying to use JSF without the JSF components sounds like it would be harder. Much of the benefit of JSF is the binding of bean properties to component values.

  • Hello, all of a sudden I fell down my system and completely erased all bookmarks. Your progress with restoration does not work, send me ansver,please

    Hello, all of a sudden I fell down my system and completely erased all bookmarks. Your progress with restoration does not work, write me of bookmarks could not be loaded. Please advice on everything because I came and they seriously need it.

    Did your computer crash or did Firefox crash causing the loss of the bookmarks?
    You can check for problems with the places.sqlite database file in the Firefox Profile Folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    See also:
    *http://kb.mozillazine.org/Lost_bookmarks
    *http://kb.mozillazine.org/Firefox_crashes
    *https://support.mozilla.org/kb/Firefox+crashes

  • Start-mdbs-with-application does not work

    Hi,
    We have a cluster with two managed servers and a JMS server on a migratable target on WLS 10.3.2. We have some MDBs within an EAR module deployed on the cluster. When the managed servers are restarted, WLS produces the following warning:
    <The Message-Driven EJB: LogReceiver is unable to connect to the JMS destination: jms/loggingQueue. The Error was:
    javax.naming.NameNotFoundException: Unable to resolve 'jms.loggingQueue'. Resolved 'jms'; remaining name 'loggingQueue'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at weblogic.jms.common.CDS$2.run(CDS.java:222)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.jms.common.CDS.getDDMembershipInformation(CDS.java:216)
    at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.createMDManagers(MessageDrivenBeanInfoImpl.java:1295)
    at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.activate(MessageDrivenBeanInfoImpl.java:1092)
    at weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1324)
    at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:480)
    at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:415)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:75)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:67)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:54)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    We have configured a System module with a ConnectionFactory on a default targetting and a Queue deployed on the JMS Server. The jndi names for the ConnectionFactory and the Queue have been properly configured.
    Apparently, the container tries to bind the MDBs with their relative destination, but is unable to proceed due to the cluster jndi not having been loaded yet. According to the documentation, we could manage to avoid this early binding by specifying
    <wls:start-mdbs-with-application>true</wls:start-mdbs-with-application>
    in weblogic-application.xml. I tried (also using false, because the documentation is not that clear in this aspect), but without any result. Is there a reason why we cannot manage to have the mdbs connecting later with their destination?
    Also, we got a warning message in the deployment page, claming that the MDBs in the server that is not hosting the JMS server are not connected to their destination. They stuck on state "initializing". While, if we manually resume the connection, via console, the state turns to "Connected". Are these issues correlated somehow?
    Any help will be very much appreciated.
    Thanks in advance,
    - Francesco.

    Hi Francesco,
    From the link below (i.e. Oracle link for WLS-11g) it states that
    “Set to false to defer message processing until after WebLogic Server opens its listen port.”
    Search for: start-mdbs-with-application
    Link-1 http://download.oracle.com/docs/cd/E15523_01/web.1111/e15493/summary.htm
    *# Conclusion:*
    This means that “false” should have resolved your issue but it is not so this might be a bug. Similar bug was seen in WLS-9.2 version which was fixed in WLS-9.2 Mp-1 version check out the link below.
    Search for: CR293982 or CR299012
    Link-2 http://download.oracle.com/docs/cd/E13222_01/wls/docs92/issues/known_resolved.html
    However if it was fixed in WLS 9.2 Mp-1 then the same issue is most probably taken care in WLS 10.x.x version also.
    *# Suggestion:*
    - Try to set “start-mdbs-with-application” as “true” and check if that works for you.
    This is because if you read the “Link-1″ carefully it states that “With default setting of true”, however when you check the “Default” column it shows “false”. Hence cant say which one is default. It might be document bug as well. However you have tried it so you can skip this suggestion.
    *# How to solve this issue:*
    1) Create a simple test case to prove that “start-mdbs-with-application” when set as “false” does not work.
    2) Open a ticket with Oracle and provide all the details with the test case and let them do their job.
    Hope this information helps.
    Regards,
    Ravish Mody

  • How do I close programs in IOS7.  The old way with double tapping the button and getting the red X does not work.  Even rebooting the phone does not work.

    How do I close programs with IOS 7?  The old way of closing programs by double tapping on the button, holding down an icon until it started shaking and a red X appears does not work.  Every program I opened appears.  Turning on and off the phone does nopt work.

    I just found out.  Above the icon is a copy of the open page of the program(s).  You slide the pages up to close.

  • Get/Set-NetQosPolicy with GPOs does not work

    Hi,
       I am trying to set the QoS policy in a GPO via P$; I am using the latest patched 2012R2 Windows P$. I have noticed that when you run the command and use the
    switch -PolicyStore GPO:DOMAIN\GPONAME the command does not work. Bug ??
       If you type an incorrect/non-existant GPONAME the command returns an error correctly saying:
    PS C:\> Get-NetQosPolicy -PolicyStore GPO:DOMAIN\GPONAME
    Get-NetQosPolicy : Group policy object not found on domain controller.
       If however you enter an existing GPONAME, the command simply returns without giving any error or output (regardless of
    whether or not the GPO has a policy in it).
       Further, if you try and set/new a policy in a GPO the command returns a very odd error:
    PS C:\> new-netQoSPolicy -Name "TestPolicy" -IPProtocolMatchCondition TCP -DSCPValue 24 -Port 5067 -PolicyStore GPO:DOMAIN\GPONAME
    new-netQoSPolicy : The system cannot find the file specified.
    Any Ideas ? I know I can use the Set-GPPrefRegistryValue or Set-GPRegistryValue; but I was looking for a neater way of doing this.

    >     If however you enter an existing GPONAME, the command simply returns
    > without giving any error or output (regardless of whether or not the GPO
    > has a policy in it).
    Try " | get-member" to see if it returns anything...
    > PS C:\> new-netQoSPolicy -Name "TestPolicy" -IPProtocolMatchCondition TCP -DSCPValue 24 -Port 5067 -PolicyStore GPO:DOMAIN\GPONAME
    > new-netQoSPolicy : The system cannot find the file specified.
    Suppose that's ok - this cmdlet creates a QoS policy, but possibly is
    not able to create the GPO that contains this QoS policy. So use new-gpo
    in advance :)
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Ichat - getting started for first time NOT Working ..please help

    I opened the Ichat application for th every first time today. When I open the app a box pops up and asks you to enter your user name and password and with which type of account you want to log in with, etc. First, I chose my mobile me account ( I also have a mac.com account and teh same thing I am going to describe happens with it as well for it is not an apple id dependent problem). I do so and click continue. The next screen comes up in the box and it is titled " encrypted ". Then in the box it says you are now ready to use ichat" . At the bottom of the box it says click done to begin using ichat.
    Thus, is my problem. There is no "done" option to click on. The only button options to click on are: "learn more" , "go back" or "continue" . If I click "continue" nothing happens and I cannot do anything or begin using ichat. If I like "learn more" nothing happes at all - thus, the same result as clicking "continue". If I click back it will goto the previous screens but nothing changes.
    Has anyone experienced this before? It seems strange and odd for an apple software to be so deleterious. How do i fix it so I can use iChat?
    Any help is greatly appreciated. Thank you in advance. Jenna

    Hi
    Welcome to the    Discussions
    Unfortunately although very rare some people do find that iChat does this.
    Do this first.
    Open your Home Folder (Little House icon)
    Go to the Preferences Folder within and then find all the com.apple.iChat(xxx).plist items and delete them.
    Try iChat again.
    You should see several Start Up Screens.
    1) A Welcome Screen.
    2) A Valid AIM name (Includes options for MobileMe and @mac.com as well as AIM) plus confirming your Name (Your name maybe Prefilled from the Address Book)
    3) the Bonjour Enable (or not) screen.
    4) The Jabber option (Includes GoogleTalk) This Screen includes options to change Server Names and Ports under the text fields for the Jabber ID.
    5) A Video Preview pane. (You can use this to take a Snapshot for your Buddy Pic)
    6) a Details of Accounts you have set up screen.
    7) the Done Screen.
    More on this with Pictures here
    If this does not work we may have to get you to Reinstall iChat.
    How much work this entails depends how far your OS has been updated above the Install Disk Level.
    Could you tell me what OS version the Install Disk is (What came on your Computer when new) ?
    And what OS level you are currently using ?
    7:23 PM Friday; December 3, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Sending by mail an Invoice with VF02 does not work

    Hi guys,
    When using VF02 to send by mail an invoce form, the functional consultant is in trouble since it does not work. I am ABAP consultant, and before starting to debug the huge amount of lines of code behind this transaction, I think there might be a more straight solution. When setting the invoice number and entering this transaction, we accessed Goto->Header->Output. The output table to enter our fields appears. Here we set ZXXX as output type and External send like the Medium. When I press enter, the line is automatically filled with the rest of fields. Then we go to Further Data and choose the Send Immediatelly (when saving the application) option. Get back and press Save button. After it, a message "Please enter a communication strategy" is shown and the SD consultant told me that the correct option is MAIL (in fact, this option is part of the F4 help, with "email" as descriptive text) in the Communication strategy field. She told me it should be all to send a mail with the invoice. We did not fill the Logical destination nor checked "Print immediatelly" or "Release after output" checkboxes since they are not useful in this case. So when finally Save button is pressed, a message appears: " ", and then a dialog box appears with the following message: " Express document "Update was terminated" received from author "GILBERTO PARGA"". The mail received in my inbox is only a error message with title "Update was terminated" and the content is the following:
    Update was terminated
    System ID....   XXX
    Client.......   999
    User.....   SOMEBODY
    Transaction..   VF02
    Update key...   XXXXXXXXXXXXXXXXXXXXXX
    Generated....   12.05.2011, 20:37:27
    Completed....   12.05.2011, 20:37:27
    Error Info...   Output device not defined.
    The system is SAP ECC 6.0. Note that the message indicates no output device was defined, but since we are using email instead of print output, it does not matter. I have filled the field with the same result. I have read from Internet it could be a configuration trouble (the SD consultant checked it before, according herself) or even a Basis issue. Anyway, do you know the possible causes and possible solutions (like OSS Notes) for this trouble? The print output works fine, by the way.  Thank you all for your help.

    Hi,
    If you maintain method EXTERNAL SEND then in communication method you have to specify Communication strategy as CS01(Internet/letter)
    If you maintain method simple mail then in communication method you have to maintain RECIPIENT and RECIPIENT TYPE
    Also check the number range assignment for billing type for error "Update was terminated"
    you might be assigned numbers which are already consumed.
    kapil

  • Show/hide Menue with Alt does not work @ Ubuntu

    The shortcut does not work with Ubuntu, nothing happens when I press Alt

    The doubling is weird. I cannot produce that. Forgive the repetition, but stated a little differently, in normal mode start with the cursor on the desired center point, depress the left mouse button, drag out to any starting shape and position, then depress and hold down the ALT key. The shape should then reposition itself so that its center is the initial point you chose. Without letting up on either the mouse button or the ALT key, drag the mouse to get the shape and size you want. Now release the mouse button FIRST, and then the ALT key. If that doesn't hack it, you've got a more interesting problem and we'll do some more head scratching,

Maybe you are looking for

  • On a Macbook Pro, I cannot print web pages with Firefox v 3.6.13. I can print if I use Safari, but no Firefox. Any ideas??

    When I try to print, it does not even appear to "connect" to the printer software. Normally, a printer icon will pop up in the taskbar, but this does not happen with Firefox. Also, in Mac, you have the option of saving the webpage as a pdf document.

  • Search for contracts with "ship to party"

    Hi, I am trying to search for contracts with a ship to party. We had a number of contracts input to SAP under one sold to party, now i I am trying to match sites to the contracts. I cannot seem to get a function to be able to search for them with jus

  • Sharing Video Files

    I have detemined that oddly enough, CC will not generate a link to .mp4 files I store there but wmv is ok. What video file formats will it generate links for and what others will it not so I don't have to guess please??

  • Loan Amout

    HI All, I have made payment of loan through Off cycle, But in the regular payroll run at  the end of the month again the loan wage type is getting picked. Please let me know how do I restrict this. Thanks Veer

  • AppleWorks Functionality in Pages

    In AppleWorks years ago, I set up a 40 page template that allowed me to print two half size pages back to back, (two pages per sheet of paper front and back oriented in landscape mode). I've discovered that in Pages, layout mode, I can do the same th