Rich Faces navigationPane hint=buttons does not navigate - should it?

Hello,
We are having issues where we are trying to setup up two levels of navigation both using the af:navigationPane. The first uses the hint="tabs" and this works. The second tier uses hint="buttons" and does not result in a valid URL. I am trying to use top level navigation (default) for both.
So for nav1 results in a valid URL such as:
http://127.0.0.1:7101/MyApp-ViewController-context-root/faces/WarehouseHome;jsessionid=GNLYSMwK1ry7RLMVNJBCG7....
The second results in URLs such as:
http://127.0.0.1:7101/MyApp-ViewController-context-root/faces/;jsessionid=GNLYSMwK1ry7RLMVNJBCG7....
                                                                                           ^^^^^^^^^^
With the page name stripped off.
If I switch the second level of navigation to hints="tabs" it works fine.
Should this work? According to the documentation there should be no differences in navigation for the two types.
Build JDEVADF_11.1.2.4.0_GENERIC_130421.1600.6436.1
Thanks!
-bill
Page source for the navigation:
<af:panelGridLayout id="hm_psl1">
       <af:gridRow id="hm_gr_main_nav">
            <af:gridCell halign="stretch" id="hm_gc4" columnSpan="3">
                <af:panelGroupLayout layout="horizontal" id="hm_pgl2" halign="right">
                    <!-- disabled="#{userbean.loginScreen}"  -->
                    <af:navigationPane hint="tabs" id="hm_np1" >
                        <af:commandNavigationItem text="Home" selected="#{userbean.homeSelected}" rendered="true"
                                                  disabled="#{userbean.loginScreen}" action="GoWarehouseHome"
                                                  immediate="true" id="hm_cni2"/>
                        <af:commandNavigationItem text="Admin" selected="#{userbean.adminSelected}" rendered="true"
                                                  disabled="#{userbean.admin}" action="GoAdmin" immediate="true"
                                                  id="hm_cni3"/>
                            <af:commandNavigationItem text="Receiving" selected="#{userbean.receivingSelected}"
                                                  rendered="true" disabled="#{userbean.receiving}" action="GoReceiving"
                                                  immediate="true" id="hm_cni4"/>
          <!-- SNIP -->
                       </af:commandNavigationItem>
                    </af:navigationPane>
                </af:panelGroupLayout>
            </af:gridCell>
        </af:gridRow>
        <af:gridRow id="hm_gr2">
            <af:gridCell columnSpan="3" id="hm_gc5">
                <af:navigationPane hint="buttons" id="hm_np2" >
                    <!-- Receiving -->
                    <af:commandNavigationItem text="General Receiving" rendered="#{userbean.receivingSelected}"
                                              disabled="#{userbean.receiving_General or userbean.receiving_General_Selected}"
                                              inlineStyle="#{userbean.receiving_General_Selected ? 'font-size:13px;font-weight:bold;color:#FFCC66;text-decoration:underline' : ''}"
                                              action="GoReceivingGeneral" immediate="true" id="hm_cl6"/>
                    <af:commandNavigationItem text="Cancel SID" rendered="#{userbean.receivingSelectedCancelSID}"
                                              disabled="#{userbean.receiving_CancelSID or userbean.receiving_CancelSID_Selected}"
                                              inlineStyle="#{userbean.receiving_CancelSID_Selected ? 'font-size:13px;font-weight:bold;color:#FFCC66;text-decoration:underline' : ''}"
                                              action="GoReceivingCancelSID" immediate="true" id="hm_cl7"/>
               <!-- SNIP -->
                </af:navigationPane>
            </af:gridCell>
        </af:gridRow>
        </af:panelGridLayout>

OK work around was to use the deprecated commandLink tag in a tool bar separated by groups. This give the same basic look and works in this version.

Similar Messages

  • Review Quiz button does not navigate to the first quiz question..

    Hi,
    so I have created an interactive software simulation guide for users of my organisation. At the end of this guide there is a quiz (multiple choice, true or false questions) with 15 slides. At the end of the quiz the results screen is displayed with the "Review Quiz" button. Clicking this navigates the user to slide 72/245 rather than the beginning of the quiz, the first question.
    How can this be fixed?!
    Many thanks,
    Achello

    You have an interactive object somewhere on that slide that is scored to be added to the quiz.
    Open the Advanced Interaction dialog (F9) and look for the object there.  Remove the score.

  • HT201401 My home button does not respond and the phone will not shut off

    Has anyone had a similar problem where the phone will not shut off and the home button does not respond

    You should try taking it to the Apple Store and asking for a replacement.
    Or you could enable Assistive Touch from Settings>General>Accessibility.

  • Page does not navigate: form re-displays

    In my project there is a page which consists of 5 radio buttons and a "Submit" button at the last of the page.
    User selects a radio and on press Submit it navigates to a different page.
    Instead when i select a radio button and press Submit "Validation error:Value is not valid" is displayed on top of the page and page does not navigate.
    JSP code:
    <h:selectOneRadio
                                  styleClass="selectOneRadio" id="radio1"
                                                                     value="#{SL.objectSpace.sPId}" 
                                                                     onclick="return sL_radio1_onclick(this, event);">
                                                                <f:selectItem itemValue="#{varBObjs.pId}"
                                                                          itemLabel=" " />
                                                           </h:selectOneRadio>
    <hx:commandExButton type="submit" value="#{labels.button_CS}"
                                            styleClass="commandExButton" id="button_CS"
                                            action="#{SL.objectSpace.cS}"></hx:commandExButton>JS snippet:
    function sL_radio1_onclick(thisObj, thisEvent) {
         var parentRadioButtonName = thisObj.name;
         var p1=thisObj.value;
         var indexStart = eval("form1:table1:".length);
         var indexEnd = parentRadioButtonName.indexOf(':radio1');
         var parentIndex = parentRadioButtonName.substring(indexStart,indexEnd);
         if (!thisObj.checked){
              //parent unchecked, uncheck all children for this parent
              for(i=0;1==1;i++){
                  childRadioButtonName = 'form1:table1:'+parentIndex+':table2:'+i+':radio2';
                  if(thisObj.form.elements[childRadioButtonName]){
                      thisObj.form.elements[childRadioButtonName].checked=false;
                 } else {
                        break;
         } else {
              //parent checked, uncheck other parent
              for(i=0;1==1;i++){
                  parentRadioButtonName = 'form1:table1:'+i+':radio1';
                   if (thisObj.form.elements[parentRadioButtonName]) {
                     if(thisObj.form.elements[parentRadioButtonName].checked && (i != parentIndex)){
                          thisObj.form.elements[parentRadioButtonName].checked=false;
                             //uncheck children of this parent
                          for(j=0;1==1;j++){
                               childRadioButtonName = 'form1:table1:'+i+':table2:'+j+':radio2';
                                 if(thisObj.form.elements[childRadioButtonName]){
                                      thisObj.form.elements[childRadioButtonName].checked=false;
                                 } else {
                                            break;
                    } else {
                        if (i>parentIndex) {
                             break;
    }SL.java code:
    protected String sPId="same";
    |
    |
    public String getSPId() {
              return sPId;
              public void setSPId(String sPId) {
              this.sPId = sPId;
         }Thanks in advance.

    In addition my IDE throws the below error:
    (jsf E com.sun.faces.context.FacesContextImpl addMessage Adding Message[source Id = form1:table1 0:radio1,summary=Validtion Error:Value is not valid)                                                                                                                                                                                                                                                                                                                                                                                                   

  • Button does not respond (with attachment)

    Hi,
    I'm trying to develop a LV program for a psychology experiment to record a participants mouse movements whilst drawing or tracing a picture using the mouse.
    My program uses an event structure to generate an event each time the mouse is moved or the mouse button is pressed or released. Upon each of these events the coordinates and button position is recorded to an array.
    When they have finished drawing there is a button "Stop & Save" that allows the user to save the coordinate data to a file. This can then be opened by a sister program I'm developing that allows the movements to be replayed and shows where the mouse button was down and up.
    At the start of the program there is the option of loading a background jpeg picture to trace over on the screen.
    The program then waits for a 'Record' button to be pressed before moving on to record all coordinates there after until the 'Stop & Save' button is pressed.
    The problem I have is that the record button does not respond. It doesn't even change state when pressed, even though at that stage it's just sat in a while loop waiting for it to be pressed before moving on to the event structure.
    I attach the program for you to look at.
    Any help/hints much appreciated.
    Thanks,
    Dave.
    Attachments:
    MouseCoordinatesForPW.vi ‏178 KB

    altenbach wrote:
    Your overall program design is higly flawed. This calls for a single state machine with an event structure that handles all FP events. All your locals can be handled by shift regsters. Get rid of that useless stacked sequence!
    Frame 0: Initialization belongs to the left of the state machine. CoordinatesArray should initialize a shift register (no locals needed). Use a boolean shift register to set state to either recording or not. Event for "record, value changed" will switch the boolean to be used on the other states.
    Frame 1: "Clear" and "stop" need to be inside their own events. Running it parallel to the event structure is a no-no! Do you really want to record mouse movements on the entire FP or only on the picture area?
    Frame 2: Why waste an entire frame on this? Here you clear it and in the next frame you prepend the cleared string to your data. Makes no sense.
    Frame 3: An autoindexing FOR loop would be the right choice. A single formating operation can handle multiple values.
    Frame 4: Writing the "coordinate string" seems useless, since you just cleared it two frame earlier. You are writing an empty string to a file! Right? Why invert the "canceled?" output, just swap the cases instead.
    Frame 5: Unecessary! Once the VI runs out of code, the VI will stop automatically. The "stop" function also does not "close the program window" as you seem to indicate with a diagram comment. Check the online help.
    Message Edited by altenbach on 05-22-2007 09:23 AM
    Hi, thanks for your reply.
    The reason for the main stacked sequence was to get some order to the program, my programming background's text based and as such I like to think of a program running in a list/sequence order. LabView seems strange when you've been used to programming in asm or C. Does anyone know of any books or online documentation for people migrating from text languages to LV? - I haven't found any.
    "Frame 2: Why waste an entire frame on this? Here you clear it and in the next frame you prepend the cleared string to your data. Makes sense."
    - The string 'CoordsArray' is cleared to make sure it's empty before chars concatanated to it in the next frame. Call me old fashioned but is it not good practice to clear out any junk in a variable rather than just assuming it's empty?
    "Frame 3: An autoindexing FOR loop would be the right choice. A single formating operation can handle multiple values." - not sure what you mean by that?
    "Frame 4: Writing the "coordinate string" seems useless, since you just cleared it two frame earlier. You are writing an empty string to a file! Right? Why invert the "canceled?" output, just swap the cases instead."
    - No, it's not an empty string since in the previous frame the coordinates array is converted to numbers and concatanated to it. Trust me, it generates a file with lots of data in so no way is it an empty string!!
    - Yes, you could just swap the cases instead of inverting the 'canceled' output but sometimes it reads better to say 'if NOT cancelled then DO theTask, ELSE DO nothing' rather than 'if cancelled DO nothing ELSE DO theTask'. Not sure if that makes sense but I guess it's just personal prefference there.
    "Frame 5: Unecessary! Once the VI runs out of code, the VI will stop automatically. The "stop" function also does not "close the program window" as you seem to indicate with a diagram comment. Check the online help."
    - I wasn't sure how that one would work. I wanted the final exe version to close the program window when the program comes to the end, what's the best way to do that? In the past I think I used the 'Exit' function but this would annoyingly quit LabView at the end of each trial run whilst still in the development stage.
    Thanks,
    Dave.

  • I open a new webpage in a new tab. I then go to a link and the back button does not allow me to go back to the original webpage. Any suggestions?

    I open a new webpage in a new tab. I then go to a link and the back button does not allow me to go back to the original webpage. Any suggestions?

    I don't think you understood the question. I am having the exact same issue. I open a link in a new tab or window, for example: https://addons.mozilla.org/firefox/addon/backforedrop/
    When the new tab opens, I click on "reviews" to open the link: https://addons.mozilla.org/en-US/firefox/addon/backforedrop/#reviews in the existing tab because I want to see the reviews for this feature. After I read the reviews, I want to go back to the main link, but the back button on my browser is greyed out, as though I was never even on the previous page. So my options are 1) Open every link I ever click on in a new tab or window, or 2) Hope the website is user friendly and attempt to navigate back to the previous page using links inserted on the current page.
    You never realize how frustrating not having back button is until it happens.

  • The "Logout" button does not appear my Sakai sessions. I have to mouse over the blank area to find the link to logout. The Logout button does appear in Safari. Firefox version 10.0. Mac OS 10.7.2

    The "Logout" button does not appear my Sakai sessions. I have to mouse over the blank area to find the link to logout. The Logout button does appear in Safari. Firefox version 10.0. Mac OS 10.7.2

    To make sure that all required media is in the library contain the project you need to "Consolidate media"  see:  http://help.apple.com/imovie/mac/10.0/#mov882dee351
    You can then copy the library to your laptop with the Finder and open it with the same version of iMovie.  The last phrase is important since Apple has made changes in the project format several times even between minor updates of iMovie 10.  Earlier versions may not be able to read the library and later versions (not possible in this case) may cause the project to be updated so that it is no longer readable by the desktop version.   iMovie on the laptop will not at first find the copied library - you will have either to double click on it or File - Open library - Other and navigate to its location.
    Geoff.

  • Firefox 4 was functioning well until two days ago. Browser will not open to my home page and tool bars do not appear. Was able to find toolbar but "back" button does not work. What changed?

    Firefox now opens to a blank page and the word Firefox appears in upper left hand corner in orange. It, apparently, contains a drop down menu. I can navigate from here but "back" button does not function in any website. How do I get it back to where it was previous to this change?

    You can change this if you don't mind peeking under the covers into Firefox's about:config preferences editor.
    (1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste newtab and pause while the list is filtered
    (3) Double-click the browser.newtab.url preference and enter the desired value:
    (i) Page thumbnails (default)
    browser.newtab.url = about:newtab
    (ii) Blank tab
    browser.newtab.url = about:blank
    (iii) Built-in Firefox home page
    browser.newtab.url = about:home
    (iv) Any other page
    browser.newtab.url = full URL to the page
    Press Ctrl+t to open a new tab and verify that it worked. Fixed?

  • Froze on black screen and power button does not work

    my sons ipod touch is stuck on a black screen when plugged into the computer got a spinning wheel and will not connect now spinning wheel will not go away the power button does not work so can not reset it manually
    any suggestions would be appreciated

    - iOS: Not responding or does not turn on
    Neglect the reset and when it says place the iPod in recovery mode use one of thes programs
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer          
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Open Task Button does not come in Outlook

    I have a three level approval workflow in which each level an email is generated to the approve to approve or reject.
    But suddenly the Open Task Button does not pop up in Outlook 2010 anymore can you tell me why?
    Srinivasan Kidambi

    had the same issue with External users not using Outlook. This is how I fixed it:
    Open the task list that the workflow is using and connect it to Outlook. Then kick off a workflow to make a new task. Once the task is made open the task from Outlook. The bottom options (review, perform the specific req. for the task, and Open this task)
    are now links. Hover your mouse over the link and you will see the address.
    Now open SPD, connect to your site and open the work flow assc. to the doc lib.
    Start editing the workflow and click the "Approval" link
    Click "Change the behavior of a single task"
    You are going to have to look for all the instances of "then e-mail task notification to "Current Task:Assigned to"
    Open "Current Task:Assigned to"
    Click where you want he link to go and hit the Hyperlink button
    name the link whatever you want, then hit the string builder ("..." button)
    Copy the link from the Task in Outlook into the string builder (if you use External addressing you can also hard code the External address).
    At the very end of the link where is says ID=(then a number) delete the number and DO NOT put a space. Click the Add or Change Lookup button and use "Current Task: Approval" "ID" "As String" and click ok. Should like this:
    Now this will not pop the form up, but it will send the user straight to the task form (might have to enter username and password) for the correct task. Remember to do this to all the "Current Task:Assigned to" in the workflow. It sounds like a chuck of
    work but it does not really take thaty long on the OOTB Approval workflow.
    Just wanted wanted to add my two cents.
    Also check
    http://social.technet.microsoft.com/Forums/en-US/417466a3-cdcb-4559-8453-9fff6da4aceb/getting-around-a-missing-open-this-task-button-in-a-nonoutlook-email?forum=sharepointcustomizationprevious
    If this helped you resolve your issue, please mark it Answered

  • Is there a capability to save/export the time capsule settings file when using the iphone/ipad airport utility. the "file" button does not exist on the latest airport utility app.

    is there a capability to save/export the new airport 2TB time capsule settings file when using the iphone/ipad airport utility. set-up wasn't a problem but the "file" button does not exist on the latest airport utility app v6.3 to save the configuration file.

    the "file" button does not exist on the latest airport utility app v6.3 to save the configuration file.
    Sounds like you are a bit confused with version numbers.
    Latest AirPort Utility version for the iPhone / iPad is 1.3.3.  There is no option or capability to export/import settings on the iOS version(s) of AirPort Utility.....although you could take a series of screen shots and save them for future reference.
    AirPort Utility 6.3.x is found on a Mac.....not on iPhone / iPad. Export and Import options are found under the File menu in 6.3.x.

  • I installed the latest version of iTunes (10.6.3.25) on a new Windows 7 PC.  I can see ahred libraries on Shared but can't import as the line containing the Settings and Import buttons does not display.   Any suggestions?

    To move the iTunes library to this new computer I switched on Home Sharing and can see the other libraries on my home network.  If I select tracks from a Shared library I can't import them as the strip containing "Show: All Items" and the "Settings" and "Import" buttons, does not display at the bottom of the screen.  Goes straight from the list of tracks to the strip with Playlist icons and xxxx items, tttttt total time, yyyy GB. 
    Any suggestions for making the Import button appear?

    I hvae the EXACT same issue
    I built a new computer which is EXTREMELY fast overclocked i7 ect and.. ITUNES DOESNT WORK
    I click on itunes which ive uninstalled and reinstalled and reset the winsock AND seen if there were any errors AAAAAAND ive check the Hkey to make sure bonjur was the only one in there which it is and all that happens is my cpu goes to 25% and i cant do anything except go into the task manager and close it! ANYTHING with itunes (everything else is premium speed).
    what do i do
    windows 7 64 bit

  • My daughter down loaded the new 6.0 software and now her home button does not work.  Tried reloading software and reset to original factory settings.

    My daughter down loaded the new 6.0 software and now her home button does not work.  Tried reseting to original settings and reset the operating software.  Any ideas?

    Try:
    fix for Home button
    Fix a broken, unresponsive or sticky iPhone Home Button
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • Windows 8.1 - Upgrade from 8, Start Button Does Not Work

    I cannot find a fix for my 8.1 start button.
    It works when I move the task bar to the top, right or left but not at the bottom. I ran all windows updates and there are no missing/unknown drivers in device manager. No errors in the event log. I've restarted multiple times and created a new local profile.
    I've also tried: 
    Copy WinX folder under C:\Users\Default\AppData\Local\Microsoft\Windows into C:\Users\[your user name]\AppData\Local\Microsoft\Windows.
    dism /online /cleanup-image /restorehealth
    Any ideas? I would prefer not to do a clean install. Thanks in advance. 
    HP Touchsmart 23 series
    i5-3475S 2.90GHz
    16GB RAM
    1TB HDD

    Could you please describe a little more detailed about “Start Button does not work”? What is the symptom?
    Yes, when the taskbar is at the bottom of the screen, I cannot left click on the start button. The machine is also a touch-screen, which does work when I touch the start button. If I move the task bar to the left, right or top; the start button does work.
    And what is the kind of the account, Domain? Local? Or both?
    This is local machine.
    It still doesn’t work in a new account?
    Same issue happens with a new account.
    What happens if you use win + "X"?
    Win + "X" works fine; displays options.
    Regarding to the “doesn’t work, both for screen touch and mouse?
    Left-click via the mouse does not work. Touch works fine.
    Can you try to copy the WinX folder from a working PC to your PC for a test?
    I do not have another Windows 8.1 machine available to me.

  • HT1430 How can you restart your iphone if your lock button does not work?

    How can you restart or turn off your iPhone if the lock button does not work?

    The best way is to let the battery die. Or you can reset the phone settings which restarts everything.

Maybe you are looking for