JSF in Jdeveloper - navigation case not working

code in my faces-config.xml:
<?xml version="1.0" encoding="windows-1252"?>
<faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee">
<application>
<default-render-kit-id>oracle.adf.rich</default-render-kit-id>
</application>
<navigation-rule>
<from-view-id>/here.jsf</from-view-id>
<navigation-case>
<from-outcome>goThere</from-outcome>
<to-view-id>/there.jsf</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/there.jsf</from-view-id>
<navigation-case>
<from-outcome>goHere</from-outcome>
<to-view-id>/here.jsf</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>
When I create a command button on the two pages and set the Application Action correctly, when I run the app the button does not take me to the other page. No error messages.

MSorbera here, thanks - just tried that, still doesn't work, here's the code in adfc-config.xml:
<?xml version="1.0" encoding="windows-1252" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
<view id="here">
<page>/here.jsf</page>
</view>
<view id="there">
<page>/there.jsf</page>
</view>
<control-flow-rule id="__1">
<from-activity-id>here</from-activity-id>
<control-flow-case id="__2">
<from-outcome>goThere</from-outcome>
<to-activity-id>there</to-activity-id>
</control-flow-case>
</control-flow-rule>
<control-flow-rule id="__3">
<from-activity-id>there</from-activity-id>
<control-flow-case id="__4">
<from-outcome>goHere</from-outcome>
<to-activity-id>here</to-activity-id>
</control-flow-case>
</control-flow-rule>
</adfc-config>
And here's the command button code on one page:
<h:commandButton value="Go There" id="cb1" action="goThere"/>
And the other:
<h:commandButton value="Go Here" id="cb1" action="goHere"/>

Similar Messages

  • Smart case not working. Ipad Air 2 8.1.3

    Hi,
    I just bought a new smart case for Ipad Air 2. I notice that the case not working (open,close cover nothing happens). General setting doesn't have the turn on/off (or lock/unlock or smt like that) under auto lock settings. Anyone has the solution ?
    Thanks

    Thanks SergZak  JimHdk
    I will bring my stuffs to the Apple store and tell them to check. However, is there any chance that problem caused by a screen protector ?! I also bought one that made by shatter resistant glass and that's thicker than other. May be that reduce the sensor sensibility?   

  • OTN Jdeveloper Download does not work!

    The JDeveloper download does not work. After entering the questions a 404 error page appears.
    Waht is going wrong here?

    Hello Reinhard:
    I finally [after over a week of trying]have JDeveloper 10.1.2 downloading. Question is... will it work [not be corrupted!} Reply here and maybe the two of us can figure a way to get it to you.

  • Page navigation buttons not working properly

    Hi,
    I am having a multilingual Java Application (e.g. English, Japanese, French...).  In this application there are reports which display the data using locale parameter (like en_US, ja_JP etc.) to display the data in selected language.
    The problem comes up when I see Japanese reports on English operating system machine and vice versa.
    When I click any button of page navigation it changes the page number but does not load and display the page accordingly.
    It's like when I run the report it displays the first page, then clicking on Next button brings 2 in navigation field but the report  would still show first page, same happens for 3, 4.... all pages. 
    The other navigation buttons also do not work, they change the page number but display only the first page.
    This problem does not occur when I see Japanese reports on Japanese OS machine and English reports on English OS machine.
    However my clients need the first case, Japanese reports should work on English OS machine also.
    Please advise urgenly.

    Hi,
    I resolved the above issue by removing the call to method setProductLocale in jsp file (which was really unnecessary in code as product locale is meant to set languange for crystal report design environment ).
    Actually the problem was I had set locale at two place
                    1. using setLocale method of ReportClientDocument object) after the initialization of report client document object
                    2. using setProductLocale method of CrystalReportViewer object after the initialization of Crystal Report Viewer  object
    After commenting out code for setProductLocale, reports in all languages and all their functionalities started working 100% perfectly.
    Thanks.

  • Navigation does not work properly, does anybody know why?

    Hi,
    I am trying to make the http://www.exadel.com/tutorial/jsf/jsftutorial-kickstart.html example work in a NetBeans project. It is a simple Input name -> Greetings example. However, when I enter my name in the input page and click on the 'Say Hello' button, my browser stays on the same page and I don't know why !!!
    My faces-config.xml is the following:
    <?xml version='1.0' encoding='UTF-8'?>
    <!-- =========== FULL CONFIGURATION FILE ================================== -->
    <faces-config version="1.2"
        xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
        <navigation-rule>
            <from-view-id>inputname.jsp</from-view-id>
            <navigation-case>
                <from-outcome>greeting</from-outcome>
                <to-view-id>greeting.jsp</to-view-id>
            </navigation-case>
        </navigation-rule>
        <managed-bean>
            <managed-bean-name>personBean</managed-bean-name>
            <managed-bean-class>jsfks.PersonBean</managed-bean-class>
            <managed-bean-scope>request</managed-bean-scope>
        </managed-bean>
    </faces-config>My inputname.jsp:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:loadBundle basename="jsfks.bundle.messages" var="msg"/>
    <html>
    <head>
      <title>Enter your name page</title>
    </head>
    <body>
       <f:view>
         <h1>
          <h:outputText value="#{msg.inputname_header}"/>
         </h1>
         <h:form id="helloForm">
          <h:outputText value="#{msg.prompt}"/>
          <h:inputText value="#{personBean.personName}" />
          <h:commandButton action="greeting" value="#{msg.button_text}" />
         </h:form>
       </f:view>
    </body>
    </html>  and my greeting.jsp is:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:loadBundle basename="jsfks.bundle.messages" var="msg"/>
    <html>
      <head>
       <title>Greeting page</title>
      </head>   
      <body>
         <f:view>
              <h3>
          <h:outputText value="#{msg.greeting_text}" />,
          <h:outputText value="#{personBean.personName}" />
             <h:outputText value="#{msg.sign}" />
             </h3>
         </f:view>
    </body>     
    </html> The example also includes an index.jsp page:
    <html>
    <body>
      <jsp:forward page="inputname.jsf" />
    </body>
    </html>My web.xml is the following:
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC
      "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
      "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>server</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.CONFIG_FILES</param-name>
            <param-value>/WEB-INF/faces-config.xml</param-value>
        </context-param>
        <listener>
            <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
        </listener>
        <!-- Faces Servlet -->
        <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup> 1 </load-on-startup>
        </servlet>
        <!-- Faces Servlet Mapping -->
        <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>*.jsf</url-pattern>
        </servlet-mapping>
    </web-app>I am a newbie to JSF, so I may be missing something obvious !!!
    Thanks for your input,
    J.

    In the faces config file, the view ID string must start with a "/" fix the code from:
        <navigation-rule>
            <from-view-id>inputname.jsp</from-view-id>
            <navigation-case>
                <from-outcome>greeting</from-outcome>
                <to-view-id>greeting.jsp</to-view-id>
            </navigation-case>
        </navigation-rule>to something like:
        <navigation-rule>
            <from-view-id>/inputname.jsp</from-view-id>
            <navigation-case>
                <from-outcome>greeting</from-outcome>
                <to-view-id>/greeting.jsp</to-view-id>
            </navigation-case>
        </navigation-rule>** Use the appropriate path inside your web application

  • Page navigation is not working

    hi,
    i am working on adf application using Jdeveloper 11.1.1.1g.
    i have created 3 jspx pages.
    one for inserting a Employee record to the database table(contains fields like name, employee code,address,status etc..)
    and other 2 for searching a record and update it.
    here i can successfully insert,search, update record.. But when i use a condition like update the record only if (status='pending'),it is not working...
    i followed a procedure it is as follows,
    1.I created a search page with a name search.jspx and added a command button in that to navigate it to the router.
    2. I have created two more pages one for updation and one for error page.
    3.in the adfc.config.xml , i have taken all the three search.jspx, update.jspx, error.jspx. and connected search.jspx to other 2 pages using router .
    4. inside the router i have added a case like _#{data.untitled1PageDef.EmpDetailsView1.collectionModel.Status=='pending'}_ then outcome is update (where empdetails is my view object). or else outcome is error.
    but when i run this application , it always goes to the error page, i mean the condition is never satiafied.
    so if anybody can tell where i am going wrong, it would be appreciable.

    hi Suganth,
    the source code of my search pagedef as follows.
    *<bindings>*
    *<tree IterBinding="ViewObj1Iterator" id="ViewObj1">*
    *<nodeDefinition DefName="model.ViewObj" Name="ViewObj10">*
    *<AttrNames>*
    *<Item Value="Age"/>*
    *<Item Value="DepId"/>*
    *<Item Value="Dob"/>*
    *<Item Value="Doj"/>*
    *<Item Value="Name"/>*
    *<Item Value="Password"/>*
    *<Item Value="Status"/>*
    *<Item Value="UserId"/>*
    *<Item Value="Username"/>*
    *</AttrNames>*
    *</nodeDefinition>*
    *</tree>*
    *<attributeValues IterBinding="ViewObj1Iterator" id="Status">*
    *<AttrNames>*
    *<Item Value="Status"/>*
    *</AttrNames>*
    *</attributeValues>*
    *</bindings>*
    There are two bindings--> 1. tree binding for searching the record. and 2. separate binding for status (attribute).
    But when i used *#{bindings.Status.inputValue}* in the value field of an input text ,it is returning null..

  • Buttons on navigation bar not working??

    Hello all, I am in a web design class and im currently wokring on my website. When i made my navigation bar in adobe fireworks and saved/exported it then tried to open it in dreamweaver cs6. The way i did this was insert>image objects>fireworks HTML then selected the html version of the nav bar. But for some reason when i try to do live view or open it in browser the buttons don't work, they worked when I opened them from fireworks. Someone help please :/

    The old Fireworks code relied on javascript for the menus.  If the javascript file is not in the proper location or is missing then the menus will not work.  In order to tell if this is the page we would need access to a test page online to view your code.  In case this is not possible, I am also including a link to the KB article discussing how this process works from FW to DW to explain all of the steps.
    Macromedia Fireworks - Working with Macromedia Fireworks MX buttons and navigation bars : Export the navigation bar

  • Navigation Link not working from save search result

    Hello Experts,
    We have a requirement in our application which is created from scratch, I have implemenetd save search  and its working fine, we have some navigation links in result. these links does not work from save search results moreover it works with normal search.
    Can anybody help me out to achieve it.
    Thanks in advance,
    Madhu Omer

    Hi Madhu,
    If you want to trigger cross-component navigation to an overview page, then the following conditions should be satisfied:
    1. Your last outbound plug calls method fire_outbound_plug( ).
    2. The collection passed in fire_outbound_plug( ) contains two entities - a navigation descriptor as the first entity and a root object of the object you want to navigate to as the second entity.
    In your case, is condition 2 satisfied? You can create a navigation descriptor by calling the following method passing its two mandatory importing parameters as indicated:
    CL_CRM_UI_DESCRIPTOR_OBJ_SRV=>CREATE_UI_OBJECT_BASED(
        EXPORTING
            IV_UI_OBJECT_TYPE = * UI object type of object to which you want to navigate *
            IV_UI_OBJECT_ACTION = 'B'            "for Display
    If you keep debugging the standard outbound plugs, then you will see that at some location, SAP will surely be inserting this navigation descriptor object in the collection as first object in the collection when calling fire_outbound_plug( ).
    If you still can't trigger navigation, please mention the BOL objects you are working with, the component you have created and where you have used it.
    Regards,
    Shiromani

  • Creative Zen Vision 30GB - How to set IR Remote ON with Navigation keys not working in the play

    I have Creative Zen Vision 30GB player. Within a month of buying, its navigation keys stopped working. I took it to the customer service of store where I bought it and they fixed it (their solution was to make firmware update, even though I do not understand how come that can fix this issue). Anyways after another 5 months of not so often use, the same problem returned (key pad stopped working and without it this player is useless). I sent it to Creative and they returned it saying that as it has few scratches on the edges, they believe it has been hit. I never dropped the player and these are normal scratches at the end if you do not use any skin (which I could never find for this player). Btw from my other friend's experiences, Creative always does like this, never considered warranty (so beware!). Anyways now the problem is that I have IR remote for Zen vision but it can not work till IR Remote setting in System->Player Settings is switched ON. And this can not be done as the navigation keys are not working. So please please suggest me some other way if anybody of you know to enable this setting through software. Otherwise this costly player is just a 30GB harddisk for me

    Just wanted to mention - I bought the IR Remote thinking to make the player useful without navigation keys. Now I feel like I wasted more money instead of shifting to some other player by some other company with better customer service.

  • Navigation bar not working cannot add a new one says there is a warning but does not indicate what kind of warning

    In the space where you would add a widgit there is a warning so a new navigation bar cannot be added.  I tried uninstalling and reinstalling but that did not help.  When I pulishedd my website the navigation bar did not work.  It only linked to one page but I cannot fix the problem because of the warning. 

    Hi
    Are you creating a manual menu and while adding another menu item you are facing error ?
    Please elaborate more as what are the steps you are taking and upload screenshots of navigation bar that you are using in design mode , if site is published then share the url.
    Thanks,
    Sanjit

  • Custom Navigation bar not working. Apple can't seem to help

    After watching many videos on people customizing their Navigation bars on Iweb, I decided to do the same for my website. If you go to the home page of my site I can click on any link and have no problem. However, once I am off of the home page I cannot get any of the other links to work. I took my mac to the apple store and they showed me how to fix it. But it didn't help. Nor has there been any useful advice from calling their tech support. Any ideas on how to fix this would be appreciated.
    Rev. Paul

    So if you have a custom made nav bar that works okay on the home page, but not on the other pages of your site, did you remember to go and hyperlink your nav bar on the other pages of your site and not just your home page, or did you forget?
    That is one reason why they will not work, if you forgot to hyperlink - you either have to hyperlink first and then copy and paste or do each page individually - it is time consuming, but is the price you pay for having a custom nav menu.
    A url would be nice so we can see what is going on.

  • Left/Right(Forward/Back) navigation buttons NOT working (do NOT change color/activate) in FF 3.6.12

    Since the most recent FF update to the 3.6.12, I find that the navigation arrows (top left) which normally show/allow you to go back or forward in your browsing, are NOT active and do NOT work. Using default theme. Normally, when there is a page to the left or right )forward/back) of the current one, these will turn blue to show where you can move to. Now the are blank/white and do nothing. Same issue with the reload and STOP icons. HP DV9500, Vista HPSP2 X32, Norton 360, Roboforms, Google Toolbar. cable connect, etc. I have tried restart, cache purge, cleaned out add-ons, reibstalled FF on top of current app., etc.
    Any one have any ideas or suggestion? I's appreciate the help.

    `The file mdentioned in this articled does NOT exist in my Firefox Profile folder and DISABLING all things Norton 360 including the Antiphishing has absolutely NO EFFECT on this issued. Nav arrors still in op, still get shut down hangs.
    Other suggestions?

  • Spry Navigation does not work in IE version 6

    I have a simple spry navigation bar at the top of website that works in all the browsers I tested it in, ie IE ver 7 and 8, Mozilla Firefox (all versions), Netscape (all versions), and Safari. The only one I can't it to work in is IE version 6. Does anyone know how to fix this?
    I am attaching a copy of both browsers, one that does not work and one that does.
    Thanks for your help.
    Pat

    I have the same problem. Looks great in FF, Safari, Opera,
    but in IE the dropdowns are dancing all over the place. Suspect
    it's something in the hover classification, but can't figure out
    where the problem is:
    http://www.kirkaubry.com

  • IWeb Page Navigational Links not working with Internet Explorer 7

    I'm hoping someone can help me out here? My wife created her 1st website using iWeb. I am testing the sites functionality before we publish it. All the pages and links work fine on Firefox and Safari for windows. However, the page navigational links are not working on Internet Explorer 7. All I see is a dot to the left side of where the page links should be. When I start the site in IE7 I get an Active X script warning and I am asked if I want to allow the script to run; to which I reply yes. After I allow the Active X script the dot to the left side of where the page links should be disappears, but the links do not appear.
    Is there anyway to resolve this? Most of the members of her club have Windows based PCs and are using IE7.
    Message was edited by: cviz821

    Yes, Javascript is running on IE7 and other java script applets appear to be working with the exception of the Navbar script.
    It would be great if my wife's friends used a "real" browser, unfortunately 70% of the people on the web use IE7, so this is a real concern if we can't get this to work. I'v seen other iWeb site on IE7 that seem to function fine, so I'm not sure what the issue is here.
    Message was edited by: cviz821

  • IWeb Navigation Tabs Not Working

    Hi,
    I just posted my webpage to my school network folder... and the navigation tabs on the "About Me" page are not working.. they work on every other page. I thought maybe it was the page, so I deleted it and created a whole new "About Me" page and ran into the same problem. The site is http://people.clemson.edu/~lindsaa/GenEd_ePortfolio/HomePage.html

    Bonjour
    The notebook image was too high. You had to lower it (15 pixels down).
    I see you changed your template. An advice : use only one template for all the pages of your website

Maybe you are looking for

  • My faves open and again close in nokia 5230

    Hi all, I have T-mobile Nokia nuron 5230. When i tap on "myfaves" icon onhome scree. ...it just open and again close.....why? i use my faves a lot....please help me as soon. thnks a lot in advance... plz reply

  • Facebook notifications and the BB 9670

    How can I stop all facebook notifacations from coming to my new BB 9670?

  • Sluggish and lots of problems

    Right now I'm using Soundtrack pro 2.01 on a macbook pro with lots of ram. When sending a multitrack project from FCP it takes forever just to update the waveforms in STP. First I thought that FCP would send the files with some kind of default handle

  • I cannot search through messages after updating to IOS 6.1.2

    After updating to IOS 6.1.2 i cannot search for messages

  • 5G with 1.1 "Your iPod is up to date"?

    Eager to try the new games, I downloaded iTunes 7, installed, and bought one. When I plug in my 5G 60GB iPod, the iTunes summary screen says (correctly) that I've got 1.1. However, the Update button is greyed out and it says "Your iPod is up to date"