Click listener bar graph should open a tab

Hello

We have a special requirement: our application has 6 tabs. The first tab is the dashboard. Dashboard, we have a few graphic bars. And each graph represents the current state of the other 5 tabs.

And there, when the user clicks on any bar graph, respective tab must be open. We easily realize this when you use a button / link to order / order link to the Image as because they support the action event.

In the case of bar graph, we do not get what has happened. Could you please let me know if there any way for us to achieve this requirement.

And FYI... Here is the screenshot of our application dashboard. As per the below URL when the user clicks on the application bar bar chart, tab requests should get opened.

https://picasaweb.Google.com/112002138169335747235/IssueWithBarGraph?AuthUser=0 & feat = DirectLink

Here is the snippet for the same thing:

{} public void alertsBarGraphListener (ClickEvent clickEvent)
UIComponent uiComponent = clickEvent.getComponent ();
If (uiComponent instanceof UIGraph) {}
The ID of the string = uiComponent.getId ();
The list < UIComponent > panelTabs = this.mainMenuTabs.getChildren ();
Boolean foundTab = false;
for (tab UIComponent: panelTabs) {}
If (tab instanceof RichShowDetailItem) {}
String [] triggerIds = ((RichShowDetailItem) tab) .getPartialTriggers ();
If (triggerIds! = null) {}
for (String triggerid: triggerIds) {}
{if (ID. Equals (triggerid))}
this.dashBoardDetailItem .setDisclosed (false);
((RichShowDetailItem) tab) .setDisclosed (true);
foundTab = true;
}

Please let me know your comments.

Thank you and best regards,
--
Kiran kristelle

After the property is disclosed for tabs, you must have a PPR to the panelTab to reflect changes in the user interface.

Here is a sample based on your use cases:

TestPage.jspx:



xmlns:f = "http://java.sun.com/jsf/core".
xmlns:h = "http://java.sun.com/jsf/html".
xmlns:af = "http://xmlns.oracle.com/adf/faces/rich".
xmlns:DVT = "http://xmlns.oracle.com/dss/adf/faces" >




**
**
*
* clickListener = "#{TestPageBean.clickListener}" > *.
**
**
*
*
**
**
**
*
*
**
**
**
**
*
*
**
**
*
*
*
*



* TestPageBean.Java: *.

package view.bean;

import java.util.List;

javax.faces.component.UIComponent import;

Import oracle.adf.view.faces.bi.event.ClickEvent;
Import oracle.adf.view.rich.component.rich.layout.RichPanelTabbed;
Import oracle.adf.view.rich.component.rich.layout.RichShowDetailItem;
Import oracle.adf.view.rich.context.AdfFacesContext;

public class TestPageBean {}
private RichPanelTabbed panelTab;

public TestPageBean() {}
}

{} public void clickListener (ClickEvent clickEvent)
List showDetailItems = this.panelTab.getChildren ();
for (UIComponent showDetailItem: showDetailItems) {}
RichShowDetailItem = currentRichShowDetailItem
ShowDetailItem (RichShowDetailItem);
currentRichShowDetailItem.setDisclosed (false);
If (currentRichShowDetailItem.getText () .equals ("another tab")) {}
currentRichShowDetailItem.setDisclosed (true);
}
}

AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance ();
adfFacesContext.addPartialTarget (this.panelTab);
}

{} public void setPanelTab (RichPanelTabbed panelTab)
this.panelTab = panelTab;
}

public RichPanelTabbed getPanelTab() {}
return panelTab;
}
}

Thank you
Nini

Tags: Java

Similar Questions

  • After clicking on the link, Firefox opens 2 tabs double address of this link.

    After clicking on the link, Firefox opens 2 tabs double address of this link.
    Here is the site: http://www.hifishark.com/search?q=sony

    On the right side of the page, when I click on SHOW, 2 tablets of addresses duplicated this link open.
    I've been on this site before and 1 tablet would open normally.

    I think this started to happen when I clicked on 'Restore Default Set' in the window customize the toolbar.

    This does not happen with IE or Chrome browsers.

    The link DISPLAY on top of the site, seems to be the only link that what is happening.
    When I click with the right button on a SHOW and click on "Open link in a new tab" 1 tab opens.

    No change in safe mode.

    This happens to someone else?

    Any ideas appreciated.

    Thank you

    Hi jorb, it doesn't surprise me that scripts work sometimes differently in different browsers. Unfortunately, the scripts are hard to follow, so I can't offer a specific solution.

  • Address bar does not open current tab URL COMPLETE

    The address bar does not show the current tabs URL COMPLETE. I tried the Trim URL thing nothing helped. It is also one that there is no option to COPY the LINK in the file menu. I need to be able to view the full URL and be able to copy for a variety of reasons. Would also be nice to make sure that I am on a HTTPS page and don't have to guess.
    Take a look at this site and see that no matter what you go to the page, the URL remains the same.

    Really want to know the reason that FF out of the combination, what is the problem or the issue or was it just someone's idea of a nice piece of code?

    If you are on a secure connection HTTPS, then you will always see the https: Protocol. Only the http: Protocol is hidden.

    If a page uses frames and other pages are open in a frame, then you will not see this picture link in the address bar.

    You can right click on a web page to see if images are used (this frame > view frame info)

    If your settings for brightness and contrast are wrong then you will see only the field highlighted.

    You can set the pref browser.urlbar.formatting.enabled false on the topic: config page to turn off the development of the field and to better discern the full URL.

  • Install Firebug causes: two title bars, unable to open the tab addons and inability to use the vibration function, etc.

    After further research, I think this should be classified as a plugin problem...

    Firebug 1.7 X A10 causes two title bars (standard windows bar and a second inside with the new tab in Firefox just orange... both with minimize/maximize/close buttons), and other bizarre behaviors listed below:

    Any saved tabs to before the installation/activation are gone.
    Choosing Addons in menu does nothing. After you open a new empty tab Addons Manager is responsible.
    Choice of feedback-> me xxxx, does nothing.
    Hit the reload button does nothing
    URL bar (page address) remains the same between tabs (if changes to the loaded page)
    Addon Firebug works fine.

    After obtaining the Addon Manager (it took a bit of work to do) and disable Firebug, all problems are gone. My story of previous tab is also returned.

    This seems to be specific to Windows XP. I installed this version of Firebug with Win7 with success.

    The two title bars is a known - bug http://code.google.com/p/fbug/issues/detail?id=4012

  • When I click on a link, it opens 2 tabs with the same window

    I am trying to open a link from a Web site. When I click on it, 2 tablets with the same site open. It is only on a few links. How can I solve this problem?

    I realized what happened. There was a little problem on the page that did appear twice, like a mirror. Makes things come several times. I managed to fix it. Thank you!

  • By clicking on the button should open a url in a new window

    Hello

    I have a button, clicking on it will open the URL in a new window

    Action click the item button, I chose

    Action: Redirect URL

    Target URL: http:// URL

    The books above, but it has not opened in a new window.

    I tried below after you follow the blog http://www.inside-oracle-apex.com/opening-url-in-new-window/

    http://URL/ "target =" _blank

    Still no luck

    Any help would be appreciated

    Thank you

    Have you tried:

    Url redirection

    in the URL:

    javascript:window.open("http://whereeveryouwanttogo.com","mywindow");

  • Cannot open new tabs to the menu, with double click or Ctrl + T

    Has been using firefox without problems until this morning. Now impossible to get a new tab to open by double clicking on the tab or by selecting 'new tab' file, or by using CTRL + t. run OS x 10.6.8.

    Click on the sign + to open new tab

    Command (CMD) + T = Mac

    CTRL + T - Windows / Linux

    Start Firefox in Safe Mode to fix the problem and to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

  • Tab key does not open the tabs

    When I click on the new tab button nothing happens. even when you click on file and select open new tab.

    Uninstall the toolbar Ask and it should work again. There is a compatibility issue with the Ask and Firefox toolbar that prevents the opening of new tabs.

  • Impossible to open new tabs or load new sites by typing in the URL.

    When I click on the button "+" to open a tab (or on the file menu) nothing happens. Also when I try to go to a new web page by typing the URL, nothing happens. A new web page and the tab only opens by clicking on an element of search result (Google). Back on Mozilla does not help.

    Note: Printing data of the troubleshooting information below removed in order to limit the characters less than 30,000.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do not click on the reset button on the start safe mode window or make changes.

    You can use one of them to start Firefox in safe mode:

    • On Windows, hold down the SHIFT key while starting Firefox with a double click on the shortcut to the desktop Firefox
    • On Mac, hold the Options key when starting Firefox
    • Help > restart with disabled modules

    If that doesn't work in Firefox Safe mode then disable all extensions (Tools > Modules > Extensions) and then try to find out who is causing by allowing an extension at a time until the problem reappears.

    Close and restart Firefox after each change through "file > exit ' (Mac: ' Firefox > leave";) Linux: "file > exit ')

    See also:

  • Flash html5 canvas opens several tabs when the animation loop

    I started to do a little tests using HTML5 canvas and found a problem in a single process.

    I created See the animation 2 images and as a first step framework there is a button.
    then programmed for When you click on the button it opens a new tab in the browser and move to the next framework a loop animation.
    well.
    but when I come back click on the button it opens 2 tabs and do the loop again, even once, I click it it opens 4 tabs and New button and on.
    why this happens and what would a solution?
    Thank you

    Here is the code of the first framework :

    This.Stop ();

    This.button_1.addEventListener ("click", fl_ClickToGoToWebPage);

    function fl_ClickToGoToWebPage() {}
    window.open ("http://www.adobe.com", "_blank");
    }

    This.button_1.addEventListener ("click", fl_ClickToGoToAndPlayFromFrame.bind (this));

    function fl_ClickToGoToAndPlayFromFrame()
    {
    this.gotoAndPlay (2);
    }

    Instead of calling your tab, '_blank', give it a name, like "myTab". Then, when you run the same code again, it will make the link open in the same tab instead of opening a new.

  • I used to be able to click on the sign in tab + and it should open up a window with my sites most visted. After update now if it opens on a blank page. Why?

    I used to be able to click on the sign in tab + and it should open up a window with my sites most visted. After update now if it opens on a blank page. Why?

    1. In the address bar, type Subject: config and press enter. The subject: config "this might void your warranty!" warning page may appear.
    2. Click on I'll be careful, I promise!, to continue on the subject: config page.

    Then search for the string "browser.newtabpage.enabled" right click, click Reset.
    Also search "browser.newtab.url" right click, click Reset. Restart firefox. Now it must wok

  • When I click on a url, it should open in a new tab; why it opens in the same tab?

    I have my preferences of Mozilla implemented so that whenever I click on a url, it should open in a new tab, but every once in a while, Mozilla goes on the fritz, and open the new url IN THE SAME TAB! I checked my preferences, they are always well positioned. I checked the tools: Options: general: tabs: open the new window in the tab instead. and when I open a link in a new tab, switch to it immediately. If it is always well positioned.

    What Miss me?

    That preference refers to links that are coded to launch in a new window: start them in a new tab instead of a new window.

    Unfortunately, there is no adjustment for the links that are coded to launch in the same tab to start them in a new tab instead of in the same tab. You would need an add-on for that.

    Normally, I would you recommend checking out Tab Mix Plus as the 'Swiss Army knife' tab features, but lately, it has a small bug so it has not been last updated in recent days, could you hold off on using it.

  • Click on a tab used to open another tab and closed environment now tab, how can I change this back?

    When I middle - click the mouse on a tab, it will open another tab with a copy of this page. For example, when I go to Pogo.com on one of recent games here I've sometimes will use the middle button to reopen the page and check the status of a fault, if it has been activated and the extent of the progress made. Now when I click middle mouse on a tab it will close the tab and if only one tab is open out of the browser.

    I currently use:
    Windows XP SP3
    Firefox 36.0.4

    I have also tried to go to safe mode with Firefox without a change in behavior.

    Hi, you can copy a tab open pointing to reload the current page (right end of the address bar) by clicking the mouse wheel.

    If you want the browser remains open when you close the last tab, type Subject: config in the address bar, press ENTER, accept the warning, scroll to browser.tabs.closeWindowWithLastTab and double-click on it to change the 'value' of true to False.

    If your question is resolved by this or another answer, please take a minute to let us know. Thank you.

  • How to stop flickering / refreshing newtab-page when opening new tabs by ctrl-click on the pictures?

    Often when opening new tabs of pages newtab miniatures (topic: newtab) newtab - full page refreshes or otherwise falters. This sometimes causes some tabs are not open when ctrl-click on several thumbnails in a row. Page newtab recalculates after each click what thumbnails it should show, and this could cause the flickering effect? (Although I don't see changes in miniature order.)

    Hi FFanatic,
    Please upgrade to the 32 version to see if it still happens. Go to Firefox and click on the update button.

  • When I click on the + sign to open a new tab, all of my most visited sites are empty

    When I click on the sign + to open a new tab all my most visited sites are the blank page. I know that there is a parameter in the config which is set to false, and must change. I don't remember who it is, can you help me?

    1. In the address bar, type Subject: config and press enter. The subject: config "this might void your warranty!" warning page may appear.
    2. Click on I'll be careful, I promise!, to continue on the subject: config page.

    Search for the string "browser.newtabpage.enabled" and set the value to 'true '.

    Solved?

Maybe you are looking for

  • FTTP, NBN phone and analog

    I have NBN FTTP with iiNet and looking to move to an Airport Extreme. My question is, is there a way I can connect an analog phone to EI or should I get a new phone. I need a by 2-3 cordless handsets so I weigh the cost between a converter or a new d

  • My macbook pro does not connect to Time Capsule

    My Macbook Pro has not saved for a few weeks and does not connect to the time Machine. Whenever I try to connect, I get a message saying check the IP address. Everything else works - i.e. wifi is working, etc. But for some reason any time Capsule of

  • Qosmio F60 - 11F - problem of failure of HARD drive for the 3rd time

    Hello My Toshiba Qosmio F60 - 11(f) does not continue 6 months with me until a HARD disk failure that happens with the same massege (failure of HARD drive on disk0 hard to predict Intel SMART) I took my laptop to the service center for 3 times now, a

  • Portege 2000 - information needed

    Hello! I need some special information on the Toshiba Portege 2000, I hope someone could help me. 1. What CPU can I build? At the present time, there is a Mobile Pentium 3 750 MHz... Back on Portege 2000 supports higher as 1 GHz or 1.13 GHz processor

  • HP 15 g-212nl: Webcam Broken replacement

    Hi all I have a Hp laptop of 15g - 212nl with a broken webcam, the manual States of the user that the replacement of the webcam or camera with the spare part number 749654-001. Do you think that sells here webcam would be compatible?