JSF Page Navigation from Tab to another page and back to tab

I have a Page with tabs and a button in each of those presenting a Table and "Create Button"
I would like to go to a new page and come back to the same active tab.
How do I set the page navigation properties?
Right now I am in
Page1(Tab3) Button click-> page2(Create)->Page1 is showing a wrong active tab.
Can we tell page navigation to go activate a tab it came from?
Message was edited by:
spattabiraman

Hello, maybe if u declare a sessionbean variable as string, in the page u want to open thew tab, in init() you must call the session bean withh the name of the tab u are calling, for example:
getSessionBean1().setSeltab("tab1");
i hope it can help
Beltazor

Similar Messages

  • Navigation from OnePage to Another Page in MS Visio chart added in SharePoint 2013 Site

    Dear All,
    I have made Org Chart in MS Visio 2013 including multiple pages (sheets) & hyperlink provided to navigate from one page to another after clicking on particular box/Icon.
    In Ms Visio, its working properly but when i have added this in SharePoint site then when clicking on hyper linked Box then instead of navigating to another page , it is downloading files.
    Kindly let me know what should be done.

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    How do you upload the Visio file to SharePoint 2013? Upload the whole file directly or use the Visio 2013 build-in feature to save as to SharePoint site.
    Which file format do you use? VSDX or VWD format (Visio Web Drawing)
    Which browsers do you use?
    If you did not use VWD format, I recommend you try to
    save diagrams to SharePoint as Web drawings, we are using Visio Services to make the diagram available for people to view in a browser. Web drawings can have hyperlinks, multiple pages, and other features like a standard Visio drawing, including the
    ability to connect to external data sources. (Based on my test, the method worked well for me, it would navigate hyperlink correctly among different pages)
    Then, if we can navigate hyperlink correctly, and it becomes ”downloading mode“. This issue may be caused by the browsers add-ins. Please try to disable all the add-ins to test.
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • JDeveloper : Problem while navigating from one to another page.......

    Hi,
    I am using JDeveloper 11.1.1.4.0.
    Assume that Eo name : EmployeesEO. I want to display all employees those who r all under coreesponding Department. For that i have created ViewCriteria Named as EmployeeByDepartment for DepartmentId in EmployeesVO. where clause in Viewcriteria is:
    *( (Employees.DEPARTMENT_ID = :Departmentid ) )* .
    Then exposed that viewCriteria in AM for EmployeesVO Instance.
    Now i created taskFlow where I created two jsff page. In page 1 just i drag and drop EmployeeByDepartment viewcriteria from datacontrol [DataControl->EmployeesVO1->NamedCriteria]. Then i drag and drop EmployeesVO1 from Datacontrol to Page 2 as ADF Form.
    Now while clicking Search Button in page 1 it should navigate to Page 2 and also it should display Employee details those who r all under same Department.
    How can i achieve??
    Regards,
    Praveen.

    First question: which component do you use (af:query or anything else)?
    next question if you use af:query why not show the result on the same page (query with table)?
    Timo

  • Linking to a Tab in another page which has 3 tabbed panels

    Hi
    I have created a page which has three tabbed panels.  The first is a horizontal Tabbed panel with two tabs.  Each of these tabs has a vertical tabbed panel with 4 tabs in each.
    I want to be able to link from another page to the 2nd horizontal tab and the first vertical tab on that page.
    If I use the URL  ?tab=1, the link takes me to the second horizontal tab but also then to the second vertical tab.
    I have tried the following
    giving the target tabs the same id and targeting ?tab=news
    setting the url to ?tab=1&tab=0
    setting the url to ?tab=TabbedPanel1.tab1&TabbedPanel2.tab2
    but none of these work.
    Javascript is not my thing (as you have probably guessed!).  Is there a way that I can target any combination of tabs on one page through the URL?
    Any ideas, much appreciated.
    Thanks

    Data:
    Tab on main tabbed panels = primetab
    Tab on nested tabbed panels = secondtab
    URL Link = myPage.html?primetab=2&secondtab=2
    Markup:
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet">
    </head>
    <body>
    <div id="TabbedPanels1" class="TabbedPanels">
      <ul class="TabbedPanelsTabGroup">
        <li class="TabbedPanelsTab" tabindex="0">Tab 1</li>
        <li class="TabbedPanelsTab" tabindex="0">Tab 2</li>
      </ul>
      <div class="TabbedPanelsContentGroup">
        <div class="TabbedPanelsContent">
            <div id="TabbedPanels2" class="TabbedPanels">
              <ul class="TabbedPanelsTabGroup">
                <li class="TabbedPanelsTab" tabindex="0">Tab 1.1</li>
                <li class="TabbedPanelsTab" tabindex="0">Tab 1.2</li>
              </ul>
              <div class="TabbedPanelsContentGroup">
                <div class="TabbedPanelsContent">Content 1.1</div>
                <div class="TabbedPanelsContent">Content 1.2</div>
              </div>
            </div>
        </div>
        <div class="TabbedPanelsContent">
            <div id="TabbedPanels3" class="TabbedPanels">
              <ul class="TabbedPanelsTabGroup">
                <li class="TabbedPanelsTab" tabindex="0">Tab 2.1</li>
                <li class="TabbedPanelsTab" tabindex="0">Tab 2.2</li>
              </ul>
              <div class="TabbedPanelsContentGroup">
                <div class="TabbedPanelsContent">Content 2.1</div>
                <div class="TabbedPanelsContent">Content 2.2</div>
              </div>
            </div>
        </div>
      </div>
    </div>
    <script src="SpryAssets/SpryTabbedPanels.js"></script>
    <script src="SpryAssets/SpryURLUtils.js"></script>
    <script>
    var params = Spry.Utils.getLocationParamsAsObject();
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1", {defaultTab: params.primetab ? params.primetab : 0});
    var TabbedPanels2 = new Spry.Widget.TabbedPanels("TabbedPanels2", {defaultTab: params.secondtab ? params.secondtab : 0});
    var TabbedPanels3 = new Spry.Widget.TabbedPanels("TabbedPanels3", {defaultTab: params.secondtab ? params.secondtab : 0});
    </script>
    </body>
    </html>
    The highlighted parts denote the markup required over and above the original markup for tabbed panels, placing JS at the bottom of the document is a peculiarity of mine an is therefore not a necessity.
    Gramps

  • Link to specific tab on another page but don't anchor

    Hello, I used this tutorial to link to a specific tab on another page:
    http://foundationphp.com/tutorials/spry_url_utils.php
    It works great, except I don't want to go directly to the tabbed panel. I want the particular tab to be active, but the page should load as it normally does. So the user should always be at the top of the page when it loads.
    This is the link code:
    <a href="registration.html?tab=1#form">
    As you can see, #form identifies the tabbed panel, but it also directs the link where to go. I only want to use it as an identifier, not as a navigator as well.
    Thank you.

    FShea31 wrote:
    Hello, I used this tutorial to link to a specific tab on another page:
    http://foundationphp.com/tutorials/spry_url_utils.php
    It works great, except I don't want to go directly to the tabbed panel. I want the particular tab to be active, but the page should load as it normally does. So the user should always be at the top of the page when it loads.
    This is the link code:
    <a href="registration.html?tab=1#form">
    As you can see, #form identifies the tabbed panel, but it also directs the link where to go. I only want to use it as an identifier, not as a navigator as well.
    Thank you.
    Remove the hash part of the URL parameter and just open the tab in the constructor
    <a href="registration.html?tab=1">
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1",
    {defaultTab: params.tab ? params.tab : 0});
    I hope this helps.
    Ben

  • How can I open a new page (using "Pages") when I already have another page open?  It just keeps reverting to the page I have opened already and won't let me open another one?

    How can I open a new page (using "Pages") when I already have another page open?  It just keeps reverting to the page I have opened already and won't let me open another one?

    To make a new document, go to File > New From Template chooser and choose the type of document you wish to create.
    To add a new page to an existing document go to Insert > Sections > Blank.

  • Open a page within a region on another page?

    Hello!
    Is it possible to open a page, within a region on another page? Similar to the way frames work? I have links in a column on the left side of a page and nothing on the right side (big white space), so I thought I would try to open up a page in the white space, depending on which link was clicked on the left side.
    Thanks!

    Hi - aren't you in danger of overcomplicating this?
    If you put your links in an APEX List, you could branch to the different pages (and always have the list of links in a sidebar on the left), so the effect would be similar.
    The thing is, you need the pages in order to have the content to pull in, so you're not saving on the work of creating and maintaining the pages, plus you need to fiddle with the template for those pages to remove headings etc. Also, you can get some interesting side-effects if you implement branching on the pages.
    It is possible to have an iframe in a region on a page that references another page. For a reason I forget now we implemented this as a dynamic PL/SQL region, a bit like this (purists look away now):
    declare
      l_html VARCHAR2(4000);
    begin
      l_html := '<table><td><tr>';
      l_html := l_html || '<iframe name="Messages" height="220" width="950" frameborder="0" src="f?p=&APP_ID.:110:&SESSION.:::::" scrolling="auto">
    </iframe>';
      l_html := l_html || '</tr></td></table>';
      htp.p(l_html);
    end;It wouldn't be hard to make the page number (110 in the above example) dynamic depending on what link or button you clicked.
    Another thing you could do is to have a completely dynamic PL/SQL region, using a function that perhaps retrieved a chunk of text from a database table, and then you'd probably want to implement it via Ajax...
    Wait, did I say something about not overcomplicating things? I don't know, APEX gets you that way...
    John.

  • As i turned on my iphone 4s on and connected to a wireless internet a page opened from the app firewall ip and i usually choose all connections. so it got stuck i held the standy by button but it won't turn off. so i held the standyby and home buttons.

    As i turned on my iphone 4s on and connected to a wireless internet a page opened from the app firewall ip and i usually choose all connections. so it got stuck i held the standy by button but it won't turn off. so i held the standyby and home buttons. when it opened all apps music and pics where not there. why? then i enterted photos and the loading logo appeared then the standyby appeared and i entered my password and everything in my iphone was there but thing were scattered and apps wheren't in folders everything was messed up but no photos or music AND IT SAYS UP IN THE MIDDLE OF THE SCREEN EXIT SAFE MODE. so i restarted it again and it opened and nothing was there and again i entered photos and the samething happen again. why did this happen? and can i get my data back? and in the usage it says that these thing are there but not showing.

    stevejobsfan0123 wrote:
    The Find my iPhone service option is given to you when you first set up the device. If you just reset it, you may have been given that option. So, in other words, the service may have been enabled even if you didn't realize it. You can then go to www.icloud.com and click on Find my iPhone, and have it play a sound. Or, you can use the Find my iPhone app on your mom's iPhone, but the service would still need to be turned on on your iPod.
    Unlike Compukid said, Apple will not assist in locating a lost device without the Find my iPhone service.
    I found that out 2 years ago, it's just that I thought Apple might have changed that.

  • When mousing over text, the cursor flickers constantly (with each letter passed) from arrow to i-beam and back.  The problem occurs in both MS Word and Pages.  Any idea of how to resolve this annoying problem is appreciated.  System: 10.10.1

    When mousing over text, the cursor flickers constantly (with every letter passed) from arrow to i-beam and back.  The problem occurs in both MS Word 2011 and Pages.  Any idea of how to solve this annoying problem will be much appreciated.  System 10.10.1 on a MacPro (Late 2013)

    The mouse is controlled by the OS so don't guess any app other than a mouse driver or OS X itself would be able to cause this sort of flicker issue.
    Have you seen the following and is it what you are seeing? Maybe you could make a movie (Quicktime is great for this this to make a screen recording) - but not sure how to attach a movie to these discussions as mine is grayed out and can't be selected (to the right of the insert image). Here is the what I found for a search of "mouse cursor flickers os x yosemite"
         https://www.youtube.com/watch?v=ZNQ0D84DdF4
    What kind of mouse are you using? Is the mouse driver up to date if it's a third party mouse?

  • I have to select a file – get Info – and change – open with and change from preview to another program and CHANGE ALL everytime I boot up

    Why do I have to select a file – get Info – select – open with – and change from Preview to another program and click CHANGE ALL with every file extention everytime I boot up.

    Back up all data.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -Rh $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    The first step should give you usable permissions in your home folder. This step will restore special attributes set by OS X on some user folders to protect them from unintended deletion or renaming. You can skip this step if you don't consider that protection to be necessary.
    Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    resetpassword
    That's one word, all lower case, with no spaces. Then press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Blue screen of death, and continous reboot.  Phone never actually boots up, just keeps going from reboot to blue screen and back again.  Any suggestion?

    Blue screen of death, and continous reboot.  Phone never actually boots up, just keeps going from reboot to blue screen and back again.  Any suggestion?

    Hello jared1915
    If you are stuck in that loop, the next step would be to restore your iPhone. Check out the article below to get your iPhone into recovery-mode and restore it in iTunes.
    If you can't update or restore your iOS device
    http://support.apple.com/kb/HT1808
    Regards,
    -Norm G.

  • My iPhone is split from front panel on top, and back cover of my is swollen too. I am not able to use my phone and I cannot access my data in the phone. Please suggest what could be the cause of this problem?

    My iPhone is split from front panel on top, and back cover of my is swollen too. I am not able to use my phone and I cannot access my data in the phone. Please suggest what could be the cause of this problem?

    It sounds like the battery might have gone bad, and is swelling and causing the symptoms you describe.  Do not attempt to use the phone, but take it to Apple for evaluation.

  • How can I stop firefox from preventing pages to automatically redirect to another page

    When I go to a bookmarked web site, I get the message (firefox prevented this page from automatically redirecting to another page)
    I can click on (allow) and it will go to page I want but it is irritating to
    have to keep doing this. How can I resolve this

    The preferences option is global. I want to be able to turn this on/off for each page.

  • Link from report to another page

    I have a report with form construction. The report lists Things. Thing has columns ID,NAME,DESC. The ID (Edit button) via the wizard is linked to the form and it works fine. Next I wanted to have the NAME column link to another page (page 27) whose content is generated by a PLSQL procedure as the region source. The PLSQL uses the bind variable :P27_ID to determine which record to select. On the reports page Column Attributes for NAME I have target page in this application (27) and in the Items List I have Name of P27_ID and value of #ID#. I hoped this would work like the link to the Form page but it doesn't quite. The problem is on Page 27 I wind up with the record for the previous time I clicked a NAME in the report list. It's like one behind. I'm missing something obviously.

    Anonymous - Sometimes the session state gets corrupted when you're developing an application, like if you rename an item for example. If logging out/logging in permanently fixed the issue, it was probably something like that.
    Scott

  • How can I put a message in a page after an action in another page?

    Hi everybody, I know that what I try to explain is a bit difficult to understand without know all the context but I try to do it the same:). I have a datatable that contains a list of student. In another page I insert a new student. When I click on "save" button I save the new student and I return to the page with the datatable. The problem is: when I add a student I must notify the user that the student is added correctly with a message in the 1st page like "The student is added correctly". This message must display only after I added the student not when I see for the first time the page with the datatable. How can i do this? Thanks to all.

    I use your suggestion but it doesn't work. I create a bean named MessageHandler with scope request. In its constructor i put an empty value for the variable addStudent_message, and in the page that the message should be I have this line of code:
    <h:outputText rendered="#{!empty messageHandler.addStudent_message}" value="#{messageHandler.addStudent_message}"/>
    In the bean I used to add a student I have a MessageHandler object and in the method that add a student, before the return statement, I put this:
    handler.setAddStudent_message("Studente aggiunto correttamente");
    When I run, it gives me this error:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Error calling action method of component with id _idJsp1:save
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
    root cause
    javax.faces.FacesException: Error calling action method of component with id _idJsp1:save
         org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
         javax.faces.component.UICommand.broadcast(UICommand.java:106)
         javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
         javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
         org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
         org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
    root cause
    javax.faces.el.EvaluationException: Exception while invoking expression #{addStudentBean.save}
         org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153)
         org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
         javax.faces.component.UICommand.broadcast(UICommand.java:106)
         javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
         javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
         org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
         org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
    root cause
    java.lang.NullPointerException
         beanDomain.AddStudentBean.save(AddStudentBean.java:68)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
         org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
         javax.faces.component.UICommand.broadcast(UICommand.java:106)
         javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
         javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
         org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
         org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.
    It seems that it doesn't find the MessageHandler object. What do you think?

Maybe you are looking for

  • How do i stop incoming e-mail addresse from being added to my address file

    each incoming e-mail adds the address to my file--iwant to stop this--noted in "discussion" that there is an add-on that will add the names--I did not download this add-on and can find ne record of it

  • Uploading file to the servelet and write directly into database

    i want client to upload file to the server (using servlet for that) and i just don't want to store it to the hard disk, but i want to write it into the the ms sql database (that i m using). TIA

  • Acrobat Preferences: Enhance thin lines: OFF

    Question: Is there a way to save Page Display Preferences with a PDF? (NB: Not Document Properties) Desired outcome: To retain chosen Acrobat Preference: Unselected "Enhance thin lines" in PDF when forwarding file to others. I have gone to Preference

  • ABAP-HR helps

    Dear Friends, I have experience in abap development for MM and SD module, now i need to do for HR module also, when i was looking into table its totally different all are in the form of clusters. I dont know how and when the data will be loaded in th

  • Set Appleworks to save as .doc by default?

    Hi, is there a way to set Appleworks word processing to save as .doc format and spreadsheets to save as .xls by default? (without having to set the save-as file type manually) Is it illegal for MS Office competing products to do this (ex. Mellel, App