Auto Click On Graph embeded in a Region.

Hi,
I have a parent page (.jspx) and in it i have two taskflows added as a region .
First Task Flow : A graph (.jsff)
Second Task Flow : Graph Properties(.jsff)
Now my requirement is to transfer the clickEvent of graph of frist taskfow to the second taskflow without any click on the graph means on the load only.
By using the contextual events i am able to send clickEvent but only after clicking on the graph. Graph has a clickListener which sends the clickEvent to the EventBinding->EventMap->Consumer Object.
But i need to make this on fly , means as soon as document(of .jspx) is loaded clickEvent (on DVT Graph in frist Task Flow) should be sent to EventBinding.
I have tried using the Java Script . Since "load" even can only be trigger from the document and .jsff can`t have a document tag. I even apply load on (.jspx) and call a inline javascript associated with
graph.jsff but unable to get the "id" of the Graph component(dvt graph) on which i want to click .
var graph = AdfPage.PAGE.findComponentByAbsoluteId("mygraph");
//AdfCustomEvent.queue(graph,"myaction",{},true);
graph.click(); /// NOT WORKING
Also there is no Client Component " attribute for dvtGraph.
Is it possible with Java Script to click on dvt graph automatically or is there any other solution by adf only??
Thanks,
Mangal
Edited by: mdev on Feb 7, 2011 12:10 PM

Hi,
or is there any other solution by adf only ?
To answer this, we would need to know about the use case. Note that clicking a graph from JavaScript doesn't help if you don't know where to click on (just clicking anywhere in the graph may not be what you want). Since you use ADF regions, contextual events seems to be a good choice. If you added the JavaScript code to a trh:script tag at the end of the fragment, you could call an af:serverListener tag to call a managed bean to raise the event when the fragment loads. However, my impression is that you are trying to set a default value to the dependent region, which may be easier to achieve using an input parameter to the bounded task flow.
Frank

Similar Messages

  • How can I stop firefox from opening hundreds of tabs when I click on an embedded email link?

    Every time I forget and click on an embedded email link, firefox tries to open multiple tabs(sometimes hundreds). I can't shut down firefox when this happens, I can't do anything else. I have to manually shut down the computer and reboot.

    Check to make sure that mailto has not been set to open Firefox.
    To do that open the Preferences dialog by selecting "Firefox > Preferences". In the Preferences dialog go to the Applications panel. In the "Content Type" column locate mailto, and make sure the Action column is not set to "Use Firefox" This procedure is explained in more depth in the [[Managing file types]] article.
    Also see [[Firefox keeps opening many tabs or windows]] .

  • Auto clicker script constantly running cant close it help!!

    i tried to get auto clicker for my mac, to play minecraft and i set it on the script to click 10 times a second. now it wont let me click on the mouse or use the keyboard. i have tried turning it off and back on a few times and still nothing all i want to know is how to stop the script and let me play minecraft

    restart your computer? How did you set the script to start?

  • Safari 5.1.4 Lion auto-click no longer works for me

    I have a bookmarks folder on a MacBook Pro that is set to auto-click, it launches in tabs several sites that I look at every morning.
    I upgraded to 5.1.4 Lion last night, and this morning, the auto-click didn't work.
    It works with Safari 5.0.5 on the same machine.
    It works with Safari 5.1.3 on the same machine.
    It works with Safari 5.1.4 Snow Leopard on my iMac.

    Hi Steve,
    Try disabling the Lion "resume" feature...
    Open System Preferences > General
    Deselect:  Restore windows when quitting and re-opening apps
    Now go to ~/Library/Caches/com.apple.Safari/Cache.db
    Move the Cache.db file to the Trash.
    Restart your Mac for changes to take effect then try Safari.
    ~ (Tilde) character represents the Home folder.
    For Lion:   To find the Home folder in OS X Lion, open the Finder, hold the Option key, and choose Go > Library

  • Auto click search bar in safari

    on my old mac i could open a tab in safari and have it auto click in the search bar so you can just start typing instead of having to click it first. i just bought a new bacbook pro and it dosnt do it and iv looked through ever setting i can think of i cant remember how i did it on my old macbook

    its hard to explain i actually work with apple and no one could figure it out. on my old mac and the mac in the store when you "Command/ T" to open a new tab and then "Command/V" to paste it, pastes into the search bar / you can also just start typing and it will start typing in the search bar. on my new Macbook pro when i open a new tab nothing is selected so i have to click the search bar before i can start typing its not a huge issue its just annoying when doing work and youre used to it always doing it

  • How to show the data in table format when user click the Graph

    Hi,
    I have a graph in my report. If user click the graph is there a way to show
    the data behind it?
    Thanks.
    Regards,
    Jun

    Hi All,
    Any idea how to do this?
    Thanks.
    Jun

  • Mouse auto-clicking

    Using 10.6.8 either with a Magic Mouse or a wired microsoft mouse, it auto clicks, for example if I hover the cursor over a bookmark after 2 seonds it automatically selects it, incredibly annoying if I'm browsing a long list
    I've tried re-syncing the magic mouse with no joy and re-installing the 10.6.8 combo update
    It must be an account issue and my other account is working fine
    Any suggestions?

    seen other forums about contacting the laptop company or going onto mouse properties
    Lenovo would have your user guide and be able to help interpret it for you.  You haven't even given us your product number so anyone here would have to guess about that but Lenovo apparently use both Synaptics and Elan touchpads which would make such
    guessing even more problematic. 
    In other manufacturers the feature you would be trying to toggle is called "Tap to click".  E.g. on my TouchSmart a Notification Area item could be used to toggle that. 
    Also, many laptops feature a method of toggling off the Touchpad completely, e.g. either with a hardware switch, a keyboard shortcut, or Properties option or perhaps at worst a BIOS switch.  Again, your user guide would probably help you with that
    option too.
    FYI
    Robert Aldwinckle

  • Where is the bookmark 'auto-click' column?

    Can anyone tell me how to make the auto-click column appear in the bookmark window of Safari?
    Thanks.

    Yes, the column is "Auto-Click" not Auto-Tab". I bet you only see it available for folders on your Bookmarks Bar with a check-box appearing only besides the folders on the Bookmarks Bar.
    Note that without Auto-Click enabled, you can automatically open all tabs by Command-Clicking on a folder on the Bookmarks Bar. With Auto-Click enabled, the operation is reversed and Command-Clicking will give you a drop-down list of the folder's contents.

  • RSS, Bookmarks Bar and Auto-Click

    As we all know, if you have a folder in your bookmarks bar with auto-click enabled, and that folder has feed:// type bookmarks in it, Safari will automatically aggregate the feeds in that folder into one tab when you click the folder in your bookmarks bar.
    Also, if you do not have auto-click enabled and you click the folder in your bookmarks bar and choose "Open in Tabs" - all of the feed:// bookmarks open in their own tab.
    What I am trying to figure out is how to get the Auto-Click to open all of the feed:// bookmarks in their own tabs - I do not want to slog through a long rss page of 500 unread articles, and yes I know about the source links on the safari rss pages.
    Does not seem to be an option anywhere in Safari, maybe a hack/script/shareware add-on I could use to do this?
    THX P
    PowerBook G4 Aluminium   Mac OS X (10.4.3)  

    I thought it should have just been there, I just wasn't sure; it had been so long since I set auto-click up. I told him to delete the plist, but it didn't make a difference. Regardless, thanks for the insight, and for responding so promtly. At this point it sounds more like operator error, rather than Safari's problem (which is surprising considering he's been a mac addict since they were on the market, and programs on one every day).
    Thanks again!

  • Auto click folder that can be set chronologically

    I have a book mark folder (with auto click on) in the book mark bar that has sites I like to look at on a daily basis.
    I want some bookmarks to be automatic everyday and some to only come up one or two days a week - on certain days of the week.
    I like to read news sites in the morning but only need to look at some specialized news sites once a week when they are published - like my university web site which is only updated once a week.
    I know RSS is an option but that loads every day, not the day of week I choose.
    Mac Pro   Mac OS X (10.4.8)  

    I know this isn't quite the solution you're looking for, but one option might be to create a separate folder for each day of the week.

  • Auto-click hyperlinks program

    Hi, does any1 what are the various JavaScript function required to auto-click all hyperlinks in a website, using a Java program?

    This isn't and JavaScript forum and I'm not sure I understand the question. I think you want to validate the URL's of a given website to make sure they are valid.
    Check out the April 22 Tech Tip. It shows you how to validate all URLs on a given page.
    http://developer.java.sun.com/developer/JDCTechTips/

  • When I click on an embedded Youtube video at many sites I get the following message: "An eror occured. Please try again later". How do I fix this? Thank you - Simon

    As above. I get "An error occurred. Please try again later" when clicking on an embedded youTube video

    As above. I get "An error occurred. Please try again later" when clicking on an embedded youTube video

  • When firefox failed to show a webpage, it will show a button "try again" for me to click. Can I make firefox auto-click the button or auto-retry until the webpage shows?

    When firefox failed to show a webpage, it will show a button "try again" for me to click. Can I make firefox auto-click the button or auto-retry until the webpage shows? And, it's reversible when I untick something in the tools/edit options. It's frustrating when I'm opening a few browsers and all of them fails at the same time that I've to click "try again" for every browser. Thanks.

    Hi,
    I think [https://addons.mozilla.org/en-US/firefox/addon/2462/ this add-on] will do what you're asking for.
    Kind regards

  • Windows 8 mouse auto clicking everything

    Ever since I have had my lenovo laptop with windows 8 installed I've had a problem with the mouse (touchpad) clicking on everything that I dont choose to click on (auto clicks). I've spoken to friends who have different laptops but have windows 8 installed
    so it isnt a problem with the laptop but with the windows 8 software. Is there anyway to turn this off? it is incredibly annoying when doing work and it ruins it by clicking on things I do not want. I've also seen other forums about contacting the laptop company
    or going onto mouse properties and i have tried this yet no results so please do not give me this information but USEFUL INFORMATION TO FIX THIS PROBLEM.
    Thanks.

    seen other forums about contacting the laptop company or going onto mouse properties
    Lenovo would have your user guide and be able to help interpret it for you.  You haven't even given us your product number so anyone here would have to guess about that but Lenovo apparently use both Synaptics and Elan touchpads which would make such
    guessing even more problematic. 
    In other manufacturers the feature you would be trying to toggle is called "Tap to click".  E.g. on my TouchSmart a Notification Area item could be used to toggle that. 
    Also, many laptops feature a method of toggling off the Touchpad completely, e.g. either with a hardware switch, a keyboard shortcut, or Properties option or perhaps at worst a BIOS switch.  Again, your user guide would probably help you with that
    option too.
    FYI
    Robert Aldwinckle

  • How to script an auto clicking program in AppleScript with multiple mouse locations

    I have no experience in scripting but I want to make an auto clicking program where it click in 3 different locations on the screen in a sequence. Is this possible with to do with apple scripts? I am using a MacBook Pro (15-inch, Mid 2012) OSX Yosemite.

    This is a python script wrapped in an Applescript.
    See the 3 mouseclick(x, y); commands near the end that clicks 3 positions on the menu bar.
    do shell script "
    python <<-END
    import sys
    import time
    from Quartz.CoreGraphics import *
    def mouseEvent(type, posx, posy):
            theEvent = CGEventCreateMouseEvent(None, type, (posx,posy), kCGMouseButtonLeft)
            CGEventPost(kCGHIDEventTap, theEvent)
    def mousemove(posx,posy):
            mouseEvent(kCGEventMouseMoved, posx,posy);
    def mouseclick(posx,posy):
            mouseEvent(kCGEventLeftMouseDown, posx,posy);
            mouseEvent(kCGEventLeftMouseUp, posx,posy);
    time.sleep(2);
    ourEvent = CGEventCreate(None);
    currentpos=CGEventGetLocation(ourEvent); # Save current mouse position
    mouseclick(5, 10);
    time.sleep(2);
    mouseclick(200, 10);
    time.sleep(2);
    mouseclick(300, 10);
    time.sleep(2);
    mousemove(int(currentpos.x),int(currentpos.y)); # Restore mouse position
    END

Maybe you are looking for

  • How to deal with dwindling space on the server.

    Hi everyone,I have to imagine this topic has been discussed at length here, but my Google Fu seems to be rather weak, as I haven't found anything that really addresses this question for me. I'm on month #3 in my first non-hotel IT job and I'm looking

  • Is there a possible???

    Is there a possible that add some code at "update" portion and make "cancel" run also?? public void actionPerformed(ActionEvent e){         if (e.getActionCommand().equals("update"))                 temp.commit();                      temp.close();  

  • Please uninstall and re-install this product Error Code 6

    I have 7 users running single licenses of Adobe Acrobat X Standard and 5 users running a multi license version of Adobe Acrobat X Pro. between Wed 14/01/15 and Thursday 15/01/15 all of these products stopped working on all machines. All machines are

  • BUG for sort column with Oracle 11g and APEX 3.2

    I have BUG in Report region(Oracle 11g and APEX 3.2). if i have more than 746 Char for my column's value and i want to sort them, this error appear Report error : ORA-00910: specified length too long for its datatype. But in an other environement in

  • ITunes sync losing my songs?

    After having some issues (question/info here), I decided to continue trying and synced my iPod 2 more times. It finally finished syncing my songs, but there are still 3 missing that as far as I know, don't even show up.. Windows Explorer tells me the