Dynamically set Tab current pages

Here’s a quick summary of the situation I’ve got.
Let’s say I have an application with 4 report pages. Three display some data about rows in my database. All 3 contain the column ‘Control #’ which is linked to the 4th report which displays more detailed information about that Control # object.
When I click on the Control # link and go to the 4th report, I would like the Tabs current for the 4th report to match the Tabs current of the page I came from. In other words, if I clicked on the Control # link on page 1, I would like the 4th pages current tabs to match page 1’s current tabs. The same goes for pages 2 and 3.
I’ve tried &(some global variable). and :(some global variable) and v(‘some global variable’) in the Tabs current pages fields but that doesn’t work.
Is it possible to do what I’m trying to do?

Reports 1, 2 & 3 all exist in individual two tab pages. Pages 1 & 2 would have the same parent tab and their own sub tab. Page 3 would have its own parent tab. When in those pages the appropriate tabs are 'current'. When I click on Control # on any page and go to page 4, I would like the source pages tabs to stay 'current' when displaying page 4.
By the way, my actual application has in the neighborhood of a dozen pages which are like reports 1,2,& 3 as I described above. Rather than build a dozen identical (with the exception of current tabs) page 4's, I would rather build one page 4 and dynamically set page 4's current tab to the source page's current tab.
It's a visual reminder to the user as to which page they were on when they clicked the Control # field.
I also have 8 - 10 SVG charts which I have linked to reports. About 6 of them display the same report using different parameters. Again, I would like THAT report to have the same current tab as the source chart (chart clicked on to invoke the report).

Similar Messages

  • Dynamically set tab

    I have a bunch of forms and reports which are identical. However depending on how the user gets to the form the parent may be a different entity. I would like to be able to dynamically set the tab for the form so that the form appears in the tab for the entity it corresponds to at run time.
    I'm using apex 4.1. Has anyone got any ideas?

    I need to be able to change the tab that a page appears on dynamically as the application is run. That is I would like my page to appear under a different tab depending on the data that my page is updating or displaying.
    For example if I had a form about tyres, and I had a tab for car and a tab for truck I would like it when viewing the tyre form the cat or truck tab was selected depending on the data in the form.

  • How do i set tab control page size programmatically?

    Hi,
    I have a tab control in my program and each page has different amounts of controls on it. I would like to know how I can make the tab control pages resize automatically, only to fit the controls on the page and not have extra space underneath that other pages require.

    romulus wrote in message news:<[email protected]>...
    > Hi,
    >
    > I have a tab control in my program and each page has different amounts
    > of controls on it. I would like to know how I can make the tab control
    > pages resize automatically, only to fit the controls on the page and
    > not have extra space underneath that other pages require.
    You can use the tab control property 'PaneDimension' to
    programatically change the size of the tab control. To
    programatically find the areas occupied by the controls on each page:
    Use the 'Pages' property of the tab control to get a reference to the
    desired page; wire that to a property node and select the
    'ControlsOnPage[]' property; iterate through all the control
    refere
    nces, getting the position and bounds of each control, using
    'Max & Min' and shift registers to find the extent occupied by the
    controls.
    Paul Cardinale

  • Using body id= to highlight current page on nav bar

    Hi all, using the method of giving the body tag an id to set
    the current page on the nav bar, works all very well. however, this
    is no good if you are working from a template as it would mean the
    <body> being editable on each page (so most of the content
    then)....am I right? or am I missing something blindingly obvious
    here which will allow me to change the <body>...
    many thanks - didn't really want to use the javascript method
    you see!

    > Hi all, using the method of giving the body tag an id to
    set the current
    > page
    > on the nav bar, works all very well. however, this is no
    good if you are
    > working from a template as it would mean the
    <body> being editable on each
    > page
    > (so most of the content then)....am I right? or am I
    missing something
    > blindingly obvious here which will allow me to change
    the <body>...
    ideally, you wouldn't actually link the item on the menu of
    the page you are
    currently on. This is a usability/accessibility thing. If you
    do that, then
    you can simply style non-linked items on the menu differently
    to highlight
    that page.
    That said, it's often not a practical solution if you are
    using SSIs to load
    the menu.
    In that case, you could just add the Class to a wrapper DIV,
    or to the menu
    itself:
    <div id="myMenu" class="contactPage">
    <div id="myMenu" class="aboutPage">
    <div id="myMenu" class="productsPage">
    etc.
    OR, alternatively, give each meny item it's own class and
    then over-ride
    that one particular class style in the HEAD of each
    individual page. That
    said, I'm not sure how well the latter would work with DW
    templates.
    -Darrel

  • Hiding current page only seems to make invisible or shows view of master page?

    I have a button that is as follows:-
    runs a few validation checks blah blah then ......
    else
    this.resolveNode("Page3").presence = "visible";
    xfa.host.currentPage = 3;
    this.resolveNode("Page1").presence = "hidden";
    So on click it goes to page 3 - that's fine, but it only seems to set the current page to invisible, as it leaves behind a blank page/master page to view?
    I have tried to include
    xfa.layout.relayout();
    but this has no effect.
    If i place a similiar button hiding Page1 outside Page1 then there is no problem, it hides and is taken right out of the form as i am hoping with the button sitting inside page1.

    Rick, thanks for thinking of that setting; however, we've already left "Fade Out on the Last Slide" de-selected, so that's not the issue.
    It seems that on the last slide, the "rest of project" objects endure only for the number of seconds of that slide; for example, if a slide's duration is set to 3 seconds, the "rest of project" objects fade away after 3 seconds; however, nothing else on the page fades away; that is, the images and captions set to "rest of slide" continue to display.
    Jan

  • Determine Current page in AxAcroPDF object

    Dear all,
    I am using Adobe's AxAcroPDF to view PDF files in my program (C# VS 2005 Windows Form). Does anyone know how to get the page number of the currently displayed page in the PDF viewer?
    I can see methods to go forward and back 1 page at a time, go to the first or last page, or set the current page number, but I don't see any way to capture the current page number. I have the same problem to know the zoom currently used.
    I have spent an entire day to reading SDK manuals and Googling but I don't find anything...
    Thanks by advance for your help.
    Nelson

    I spent hours looking for a way, finally I just went to the User32.dll and got  the handle for the Page Number box.
    I used FindWindowExA to find all the sub windows, isolated the one I wanted, then used SendMessageA to issue a GetText (&HD) which returned the value.
    Total kluge and I have no idea how to work it on non-windows. Adobe Developers, please just put GetCurrentPage out, if your going to have SetCurrentPage.

  • Threadinar10 - Page Separator, Page Fragment Box , Tab Set & Tab Components

    Hi All,
    This is the tenth in the Threadinar series. See the Components Threadinar Index at http://forum.sun.com/jive/thread.jspa?threadID=103424 for the complete list to date.
    This Threadinar will discuss 4 components in the "Components Palette: Layout Section" section of the Creator Component Catalog.
    The components we will focus on today are
    "Page Separator", "Page Fragment Box" , "Tab Set" & "Tab" Components.
    Let us begin our discussion with the "Page Separator" Component.
    Page Separator Component
    You can drag the Page Separator component from the Palette's Layout category to the Visual Designer to create a horizontal line that resizes to any page width selected by the user. This component is the visual equivalent of an HTML <hr> tag.
    In the page bean, a Page Separator component is a PageSeparator object.
    * Note: If you want to use an HTML <hr> tag, drop a Meta component on the page and set its tag property to hr.
    [b]Page Fragment Box Component
    This component enables you to include a page fragment in a page. A page fragment is a separate, reusable part of a page that can be included in any number of pages. For example, you might want to put a common a visual element like a header graphic in a page fragment and then include it in all the pages in an application.
    When you drag the Page Fragment Box component from the Layout category of the Palette and drop it on a page, the Select Page Fragment dialog box prompts you for the name of the page fragment to be included. You can enter the name of an existing page fragment or create a new page fragment. If you create a new page fragment, the IDE gives the new fragment a .jspf file suffix and creates a node for it in the Projects window, as well as adding the page fragment to the Outline window.
    * Note: A Page Fragment Box component simply includes a page fragment in a page. Deleting a Page Fragment Box component from a page does not delete the page fragment itself, even if you originally used the Select Page Fragment dialog box to create the page fragment.
    After dropping a Page Fragment Box component on the page, if you click inside the component, you see the properties for the included fragment. If you click the border of the component, you see the properties for the enclosing <div> block. You can also use the Outline window to select the enclosing block, the page fragment, or the components in the page fragment. In the Outline window, the Page Fragment Box component is represented by a node named directive.include:fragment-file.jspf, where fragment-file is the name of the page fragment file.
    If you double-click the page fragment, it opens as a page in the Visual Editor, enabling you to edit it like a regular page. The page fragment has an associated JavaBeans object, a page fragment bean, which you can edit by clicking the Java button at the top of the page fragment when it is open in the Visual Editor. As with a regular page, if you drop a component like a button in a fragment, double clicking adds an event handler in the page fragment bean, enabling you to reuse the code on any page to which you add the page fragment. A common scenario for reusing component code would be a Search Box fragment that has a search Label, a Text Field where the user enters the search string, some Inline Help, and search logic code in the page fragment bean.
    * The tab order of the components in the page is unlikely to work properly unless you enclose the entire page fragment box in the Faces Verbatim component.
    For more details see tutorial : "Using Page Fragments"
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/pagefragments.html
    [b]Tab Set Component
    The Tab Set component in the Palette's Layout category is a container for a set of Tab components. Typical uses of a tab set are:
    * To provide alternate sets of components on the same page and enable the user to navigate to them by clicking on tabs. The user sees only the components under the currently selected tab. For more information on adding components to tabs, see Tab Component.
    * To navigate among a set of pages. If you use a tab set this way, you would usually have the tab set near the top of each page with the component's width set at 100%. You would use the Page Navigation editor to define each tab to display a page in the application, with the current page's tab set as the selected tab. In addition, you would need to delete the default Layout Panel component under each tab so the tab would display the page contents.
    You can set Tab Set properties in the component's Properties window.
    A Tab Set component contains Tab Components, and Tab components can contain other Tab components. You can see these components displayed as hierarchical nodes in the Outline window after you add a Tab Set to your page.
    You can add a new tab to a tab set in two ways, by right-clicking the Tab Set component and choosing Add Tab or by dropping a new tab component on the Tab Set or on a Tab component.
    You can drop a new tab component on a tab set in the Visual Designer to the right or left of existing tabs to create a new tab at that level. The tabs in a tab set can also be containers for other tabs. If you drop a Tab component on an existing tab, the new tab becomes a child of the tab on which you dropped it. The maximum number of levels for tabs is three.
    The tab set component determines which tab is rendered as selected, storing the value in the selected property. By default, the selected property is set to the first tab created for the component. If you click a tab while designing your web page, that tab becomes the selected tab. You can tell during design time that a tab is selected because its color changes.
    [b]Tab Component
    A Tab is part of a Tab Set component. You can add a new tab to a tab set in two ways, by right-clicking the Tab Set component and choosing Add Tab or by dragging a new Tab component from the Layout category of the Palette and dropping it on the Tab Set or on another Tab component. You can also drag from the Palette and drop the tab on the tab set's nodes in the Outline window.
    * If you drop the Tab component to the left or right of an existing tab, it is added to the same row of tabs.
    * If you drop the Tab component on an existing tab, the dropped tab becomes a child tab of the tab on which you drop it unless the existing tab is a third level tab. You can have at most three levels of tabs in a tab set.
    o Note: You cannot add a child tab to a tab that has components in its Layout Panel. When you drop a tab on an existing tab component that has an empty Layout Panel, the empty Layout Panel is deleted to make room for the dropped tab.
    By default, a Tab component has a Layout Panel below it where you can drop components that will be displayed when the user selects the tab. The Layout Panel by default has its panelLayout property set to Grid Layout, meaning that components dropped on the panel are aligned at the location where they are dropped. You can change the layout behavior by setting the panelLayout property to Flow Layout, which aligns dropped components left to right in rows. For more information on Layout Panel properties, see Layout Panel Component Properties Window.
    To select a tab in a tab set, either click the Tab component on the page or select the Tab component's node in the Outline window. To select the whole tab set, either click the border of the Tab Set component on the page or select the tab set's node in the Outline window. Alternatively, you can select a Tab component and either press Escape or right-click and choose Select Parent to select its parent component.
    * Note: If you select a tab on a page in the Visual Designer, a side effect is that it becomes the selected tab. If this effect is not what you want, select the tab in the Outline window so you can set its properties.
    You can drag tabs in the Outline window to change their location and level in the tab set.
    Some typical uses of tabs:
    * You can drop components on the Layout Panel component below a tab to enable a set of components to be displayed below each tab. When the user selects a tab, they see only the components that are associated with the tab, without having to change pages.
    * You can use a tab set to navigate among a set of pages. Each tab component links to a page in your web application. You would use the Page Navigation editor to define each tab to display a page in the application, with the current page's tab set as the selected tab. If you want to use the tab set for page navigation, be sure to delete each tab component's Layout Panel.
    You can also right-click the Tab component and choose one of the following options:
    * Edit action Event Handler. Code the action event handler, the method that is called when the user clicks the tab. This method determines which page or resource to open based on specified conditions. The action method typically processes mouse clicks and returns a string indicating the name of a page navigation case (the page in your application to display next). The default name for the method is tab-id_action, where tab-id is the value of the tab's id property.
    * Bind to Data. Dynamically set the text that appears on the tab. You can bind the component's text property to an object or a data provider, as described in the topic Bind to Data Dialog Box.
    * Property Bindings. Opens a dialog box that enables you to bind properties of the component in addition to the text property to other objects or bean properties that update this component's properties automatically.
    [b] Please join in and share your comments, experiences, additional information, questions, feedback, etc. on these components. <br><br>
    Thank you for your participation

    The following blog has a mini tutorial on using a tab set in a page fragment for page navigation:
    http://blogs.sun.com/divas/entry/tabbing_thru_the_tulips
    A reader commented that the mini tutorial needed to be improved upon to show how to keep the tab state and navigation state in synch.
    How would you do it? If you have a good example, maybe post it to this thread.
    Also, there is no tab tutorial but it is on the priority list. What would you like a tab tutorial to show how to do?

  • How can I set the "tab groups" page as my home page?

    I've searched for about:config options, and even installed Customizable Shortcuts 0.5.11.1 with the hopes that there would be a shortcut for "options" or "preferences", so that I could simply click "set as home page" while in the tab groups page. No dice. I've just started working with tab groups again (I was away on Chrome for maybe a year... but I'm back), and I think it would be great if I could simply have all my tab groups displayed when I start firefox up. How do I do it?

    The tab view page is dynamically populated based on the tab groups in the current window. Although the "page" has an address, opening that address directly yields a blank tab, so I think that's a dead end.
    Since the keyboard shortcut is Ctrl+Shift+e, maybe you can find a way to send that automatically?
    Also, if you rely heavily on tab groups, I assume you are using something like the [https://addons.mozilla.org/en-US/firefox/addon/session-manager/ Session Manager extension] to protect against data loss. Because tab groups (and of course the tabs themselves) are stored only long enough to restore the immediately previous session, it's not too difficult to accidentally lose them all.

  • How to achieve SUBMIT for the current page when I click other tab?

    Problem: How to achieve SUBMIT for the current page when I click other tab?
    Description: I have a two-page application and each page associates with a tab. Say page1 associates tab1 and page2 associates tab2. In each page, I have a submit button, a after submit process associated to the submit button, and a tabular form. For page1, I fill out the fields and hit the button. The page1 will appear again and I can see the data I have insert. However, If I fill out the fields and click the tab2 (page 2) instead. when I come back to page1, the data I filled out are all gone. Is there any way in HTML DB to force the submit in the current page after you click other page. If use JavaScript, what is code looks like.
    Appreciate your time and your answer.
    Mike

    Scott,
    just for clarity, if I understood correctly what you said there are two possibilities:
    1) keep the standard tab branch and give up the possibility of validating page items. Below you can find an example of such cases.
    2) Replace the template substitution string and perform a "custom" button-like submit also adding a branch to the main page associated with the tab. Page items will be validated if the branch firing point is set after the validations.
    I couldn't find an example of the latter, but I found easily an example of the former:
    it's the "Report attributes", page 420 of app 4000.
    If you enter 'aaa' in the "Number of rows" form field and then you press "apply changes", htmldb correctly displays an inline error message saying that the value must be numeric. On the contrary, if you click on the "Region Definition" tab, htmldb takes you to a page showing an oracle exception:
    ORA-20001: Error in DML: p_rowid=4785927011172906402, p_alt_rowid=ID, p_rowid2=, p_alt_rowid2=. ORA-20001: Invalid numeric value aaa for column PLUG_QUERY_NUM_ROWS
    Bye,
    Flavio

  • Highlighting current page on Tab control

    Hi!,
    I am using tab control with 7 pages. The page names are all in the same colour. Is there any way in which the colour for the name of the current page can be made different from the rest?
    If your answer involves property nodes (or more advanced techniques) please be descriptive as I am beginner.
    Also, which is the best book for inside stuff on property nodes?
    I am using LV-PDS 6.1
    Best wishes and thanks,
    Gurdas
    [email protected]
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu

    > Is it possible to assign the same keyboard key (to all buttons) such
    > that pressing it will do the job of clicking the current active
    > button? I would prefer this key to be the 'space bar'.
    >
    > The application allows only one hand to be free. The other hand will
    > be used to place test component and rotate it manually below the
    > sensor. Thus, such a feature makes the user's task very easy. He just
    > keeps clicking the space bar until the vi ends.
    >
    It isn't possible to assign a key to more than one control, since then
    it would be pretty unclear which control should out-of-the-blue receive
    the key. It is possible to catch key events and perform and action
    based upon the key press. Another option is to set
    the key focus to the
    next logical button in your progression. If the focus is set to a
    button, then the space bar, enter key, etc all work.
    Since you are asking for comments, the UI you describe sounds a bit odd
    to me. A sequence of buttons that the user is required to click in a
    given order? You might want to compare this to an indicator showing the
    stage and current results, and one more button that says Next. Tie the
    key navigation shortcut to the single button, and each button press
    moves to the next stage. You might want to add a Cancel or Stop button
    if there is ever any need to break out of the sequence. Finally, this
    is pretty close to a wizard that allows the user to go both directions.
    If it makes sense to reverse and redo a step, add that button too and
    you have a very standard UI.
    To build a wizard, use a tab control with a page for each stage. Hide
    the tabs, and modify the pages by adding or subtracting on the value.
    Greg McKaskle

  • In the Options box, no matter what I set my Home Page to (Current Pages, Blank Page, Default) I am unable to change my homepage settings; they absolutely will not change and I can't figure it out.

    Up to about a month ago, I never had any problems setting my Home Page to Using Current Pages. Then, all of a sudden, I am unable to make any changes to my Home Page no matter what I change the settings to. I work for the US Forest Service and I don't know if some program was loaded that prohibits any changes from being made. Any help would be most appreciated.

    This link may help - https://support.mozilla.com/kb/Preferences+are+not+saved

  • How do I set the default page when I select "+" for a new tab? Right now it defaults to Yahoo search and I want to set it to my Speed Dial page. I did have the default page set to Speed Dial but I can't find anywhere how I did it in the past.

    You can set the homepage for opening tabs, but I can't find the setting for designating what page opens when I hit the + button on tabs.
    This is the page that loads:
    http://search.yahoo.com/?fr=freeze&type=W3i_NA,132,3_6,Tab%20Search,20100937,6693,0,16,0
    How did Yahoo embed this in the Tab settings?

    Firefox '''does not''' come with a setting for a page that opens in a new Tab, the default installation always opens a blank page when you open a new Tab. Many extensions include a feature to open their choice of a webpage when you open a new tab, as does the Speed Dial extension which uses a "local page" internal to Firefox.
    You need to figure out which extension has taken over that preference that Speed Dial needs to use. You didn't bother providing a Troubleshooting Information... listing as requested when you asked this question, but I can guess your problem is related wither a Yahoo extension or a Conduit / OurToolbar extension - as there is a plugin listed = Package Installer & Install Conduit.
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • How to make one firefox window`s actions duplicate on all opened firefox windows. duplicating tabs only opens the original source of page, not current page view

    I want to know is there a way to open, say 3, Firefox windows and duplicate the actions done on one to happen across all open Firefox windows. I want to use the repeat feature, left click followed by ENTER the whole time on a current thing I'm working on. The tabs won't work because I have to flip through them the whole time. I'm currently doing this on two computers at the same time but need an easier way. If I duplicate tabs, it only opens the original source of the page I duplicate and not the current page I'm viewing so its a time taking process to click on the links where I need to be then start doing the control+tab. Speed is a major issue so any advice would be greatly appreciated.

    I am still trying to figure out what it is you are trying to do.
    You have X number of pages open, and you want what you do to one page
    to also be repeated on the other pages? Most browsers think that multiple
    pages are individual, and separate.
    What is it you are working on? No secured information, please.

  • How to set multiple home pages, the option is gone (replaced my hard drive and had to reinstall firefox) This version seems to only offer tabs, not pages?

    My old version of Firefox had the option for me to set multiple home pages. My hard drive recently failed and had to be replaced, so I had to install the newest version of Firefox. The only option I see when I go to tools, options, general is to set the one home page. (and maybe tabs) I would like to open several of the same pages every time I open my Firefox. Does anyone know how to get this back, or which version had this feature so I can downgrade to that particular version?
    Also, I was wondering if there is a way to get the bookmarks I had on the old version back. I think they are lost forever, but if anyone knows, I would be thankful. I do still have the old hard drive, but the way it failed was actually when you tried to open any browser, the hard drive would go and blue screen, this is why the old hard drive had to be replaced. Thanks. :)

    So you mean you want to open new windows with the same page when you open Firefox?
    [[How to set the home page#w_set-more-than-one-website-as-your-home-page|Set more than one website as your home page]] should help if you want to open multiple pages when you open Firefox.
    As for recovering your bookmarks, you can try to plug that hard drive into a working computer, and then read [[Recovering important data from an old profile]] to copy your bookmarks from it. However, if it is failing you may not be able to do that.

  • Presenter 10 Quiz Pass URL is set to Current but opening in New Tab

    Hello,
    We use Presenter to create quizzes among other things.  Previously, we were using version 7 but had to upgrade to 10 recently.  I have just tried creating the first quiz under 10 and ran into an issue.
    We offer the quizzes via our intranet site and utilize the Open URL Action under the Pass or Fail Options tab to redirect those who pass to a completion URL.  The target is set to Current.  We display the Presenter output's HTM file via an iFrame.  In version 7, the URL would simply display within the iFrame.  Now, it is opening in a new tab.
    It does this regardless of whether it is set to Current or New.  I have looked at the data/viewer.xml file and confirmed that passingGradeActionArg2 is set to 0 when we set the option to Current and it changes to 1 when we set it to New, so it does seem to be registering the change when published.  I have tried this out on Internet Explorer 11, Internet Explorer 11 in Compatibility View, and FireFox all with the same behavior.
    Has anybody encountered a similar issue with Presenter 10?
    Thanks in advance.

    There is no Contextual menu for the Location bar drop-down, so you need to use {Ctrl + Click} or Middle-click the item to have browsing history items load in a new tab.

Maybe you are looking for

  • HP Photosmart 8150 or 8050 fully functional with Windows 7?

    I just purchased a used 8150 Photosmart printer due to failure of feeder mechanism on another older Photosmart printer. Lost my PC, monitor and scanner to a lightning strike the following day.  A computer technician tells me my 8150 can't print photo

  • Itunes keeps telling me "my Session is timed out" when I try and purchase a song?

    When I try and purchase a song it accessed  the store and then I agree to terms and it dumps me saying "my session is timed out"???

  • Itunes songs cutting off

    i have downloaded my previous purchases but they cut off at about 1.45 into the song this is really getting me fed up does anyone have a solution

  • Client bank data in F110

    Hi, I'm creating a file with F110 - Domiciliary Receipt - using program RFFOES_D ( Spain ). The output is ok with all the data except the client bank data !! this information is maintained in TR: FD03, which has the adress from the client that appear

  • No more Playbook support?

    I need my Playbook repaired and anything on BB for support leads to he usual "no page found'. so is BB supporting PB at all?