Tree in an viewstack always selecting Root on focusOut

So I have a tree in a viewStack and whenever the app loses focus the app selects the root node in the tree.
1. Select a leaf node in the tree
2. click off screen or show a popup
3. click the browser window or app
4. watch your app select the root node in the tree
Has anyone else seen this?

Yes the tree is editable.  For some reason updateDisplayList is being called when you give focus back to the browser window.  I don't know where the updateDisplayList call is coming from in the callstack (see below).
mycomponents.components.views::CustomizedTree/updateDisplayList   
mx.controls.listClasses::ListBase/validateDisplayList   
mx.managers::LayoutManager/validateDisplayList   
mx.managers::LayoutManager/doPhasedInstantiation   
Function/http://adobe.com/AS3/2006/builtin::apply [no source]   
mx.core::UIComponent/callLaterDispatcher2   
mx.core::UIComponent/callLaterDispatcher 

Similar Messages

  • ADF: How do I add a node to a selected root in a TreeModel

    I've created a TreeModel with something that follows:
    1.) Loop through a List and build the Roots:
    for (TransactRow transactionRootRow : transactionResults) {
    TransactionNode transactionRootItem = new
    TransactionNode(transactionRootRow.getTransactKey(), transactionRootRow.getParentKey());
    transactionRoot.add(transactionRootItem);
    this.setTransactModel(new ChildPropertyTreeModel(transactionRoot, "children") {
    public boolean isContainer() {
    return ((TransactionNode)getRowData()).getChildCount() > 0;
    This works great.
    What I need to do next is "click" on any of the Roots and add a node to the selected Root.
    I might have:
    |-Root1 (rowKey="r1", rowIndex=0)
    But, when I click on Root1, I should have:
    |-Root1 (rowKey="r1", rowIndex=0)
    | |-Folder1 (rowKey="r1f1", rowIndex=0)
    I am at the point that when I can get the current root in Java code, but how do I go about adding a node to the current root in a TreeModel?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    This is JSF - ADF specific, but I'm not using JDeveloper.

  • GR for PO--always selecting blocked stock type.

    Hi,
    When I am doing Goods Receipt for PO, it is always selecting the stock type as Blocked stock. In Purchase Order, stock type is unrestricted stock only. Can anybody tell where is the setting that is selecting the blocked stock...
    Thanks & Regards,
    siva

    Hi,
    Can you check if your material has 'Quality Management' view and if it is defined quality check mandatory. If this is the case GR will always happen in blocked stock.
    Amit G

  • Why report is always select statement...

    hi guys,
    when we are dragging the columns from Business Area or in any reporting tool, and when we see the SQL, why it gives always select query.
    this question is raised by one of my manager having 15+ years of experience in Oracle Apps.
    Any suggestions?

    Ok, if I understand it, he wants to know why any query tool uses SQL (ie: select) to display the data.
    And the answer is actually really simple - it's the only way to get data from an Oracle database.
    That's it ... there's absolutely, positively no other way of getting data back from an Oracle (ie: relational) database.
    It doesn't matter if you use Discoverer, Cognos, Brio, Business Objects, Microsoft products via ODBC, etc., everything boils down to a SELECT statement eventually.
    So in Discoverer, the workbook / worksheets that you create keep information about the 'presentation' of that data - ie: colors, fonts, titles, graphs, etc. but the retrieval of data will always be in SQL - and as it sounds like you noticed - you can view the SQL in Discoverer if you desire.
    Look at it this way - in Discoverer you're saying "go get me AP_Invoice information, where I want the invoice number, the invoice date, the invoice amount, the vendor name, the vendor number, etc. ... and I want the total of the invoice amount when I enter a date range".
    That's the coding in Discoverer. The minute you invoke that code - ie: run the worksheet - badda' bing ... badda' boom ... it initiates a SQL command to the Discoverer database tables (via a folder in the EUL) probably something like: select invoice_number, invoice_date, invoice_amount, vendor_name, vendor_number from ap_invoices where invoice_date between '01-JAN-2008' and '03-JAN-2008'.
    The Oracle database comes back with the data, dumps it into Discoverer and Discoverer does all the fancy layouts, colors and totals ... and everyone's happy.
    So again, the only way to communicate with an Oracle database using ANY TOOL is via SQL (and the SELECT statement is the fundamental way of retrieving data). And for the Oracle Apps guy you mentioned, that includes all the Oracle Apps Forms (screens), Oracle Apps reports, changing user passwords, the concurrent manager ... etc.
    It's a SQL Select world when it comes to Oracle!
    Russ

  • Cannot deselect images ,always selects 2 images so settings are always on sync. tried control D

    cannot deselect images, always selects 2 images from the folder i am in, so sync setting are always on. tried control D but then automatically selects 2 Images

    This has happened to me too.  I had to quit the lightroom application and restart it to fix this problem.

  • Select root directory of the required rapid install disk

    Hi,
    Im installing EB12, 20% into the installation i get this message "select root directory of the required rapid install disk, Enter the location for the disk labeled: Oracle Applications Rapid Install - Database Disk1".
    I'm not sure why its not finding what it wants. I've followed all installation steps and extracted all zip files in the same stage directory. Any hints?
    Thanks in advance for any help :D
    Edited by: user8830084 on Sep 29, 2009 4:42 PM

    Hi,
    Im installing EB12, 20% into the installation i get this message "select root directory of the required rapid install disk, Enter the location for the disk labeled: Oracle Applications Rapid Install - Database Disk1".This error indicates that the stage area directory was not created successfully. Please mention the step you have followed to create the stage directory.
    Regards,
    Hussein

  • I have downloaded the latest version of icloud control panel to a PC with Windows 7. My "master" data is always on my PC. With other synch software I always select "One Way Outlook to Device". I synched icloud with Outlook and it has trashed my Outlook

    I have downloaded the latest version of icloud control panel to a PC with Windows 7. My "master" data is always on my PC. With other synch software I always select "One Way Outlook to Device". I synched icloud with Outlook and it has trashed my Outlook with duplicate contacts. Is there a solution. Is there selective synchronisation available?

    Make sure you don't have any notes that have no content or subject or this can prevent syncing with Outlook.  If you do, delete them.
    If you don't, try unchecking "Mail,Contacts,Calendars & Tasks with Outlook" on the iCloud control panel for Windows, choose Delete at the prompt (the data will still be in iCloud), restart your PC, then go back and check this setting again.  (Your iCloud data will reappear in Outlook after a brief delay as it redownloads.)
    Then create a new note on one of your iOS devices and see if it appears in the Notes folder in Outlook mail after a few minutes.

  • Firefox 20 can't always select options in an open select

    I'm getting a strange behaviour in Firefox 20 that I don't see in Firefox 19, but that I can't really find a source for. It's largely repeatable for me, but it's not easy for me to reproduce in other settings.
    In essence, I can end up with a select that I can open, but when I click on an item in the selector, nothing happens. Javascript events don't seem to fire, it's just like the item can't be clicked. Once this happens, I can close and re-open firefox and repeat the behaviour as often as I like on the same drop-down. I was able to reproduce it with a simple test case here:
    http://jsfiddle.net/codiform/LgvRb/8/
    But, strangely, I wasn't able to reproduce it with a local HTML file; not sure if that's relevant, or perhaps I just failed to exactly reproduce the scenario in some way, because it's not clear to me what the trigger is.
    If i reload firefox in safe mode or reset firefox (in the --safe-mode dialog), this problem will go away for a bit, but it will come back. I have not yet been able to reproduce this when I don't have the Google Web Toolkit (GWT) plugin installed, but that may simply be because I'm trying to use firefox for GWT development, and when I can't trigger the behavior, I go back to doing development work until I the problem recurs. I don't know for certain that it can or cannot be reproduced without the plugin.
    Although now that I think of it, I should try removing the plugin now that the problems back and see if it will make the problem go away again. That won't guarantee that you don't need to install the GWT plugin to make it occur, of course, but it'd be one more piece of data on reproducibility.

    Interestingly, I have a macbook pro with Retina display, I almost always have an external monitor connected, and I usually run Firefox on the Retina display, so this scenario could well be a source for my problems as well.

  • Display Tree Structure in a List / Select Box

    I need info on the following
    1.display tree structure inside a select/combo/list box.
    2.Select a node element from the above tree structure.
    Thanks in advance

    Have you managed to do this?
    Faaiez

  • Always selecting the local JMS in a cluster, is it possible? (in 6.1)

    Hi,
              A 6.1 cluster has a JMS server running on each node. The JMS client
              code has a component to do the fail over "manually": it tries one
              node, if that doesn't work it tries the next and so on. The
              destination names are different (and replicated in the JNDI tree).
              If everything is ok, all requests go the first server (meaning network
              traffic). Is there an elegant way to always try with the local JMS
              server before the remote ones, without minimum configuration
              dependency (i.e. no system properties passed at start-up telling what
              JMS servers to use and so on)
              Perhaps something using JMSDestinationRuntimeMBean and
              JMSServerRuntimeMBean?
              Oh, just noticed JMSRuntimeMBean.html.getJMSServers(), this might do
              it. I'll post it nonetheless in case other people have better ideas.
              Thanks.
              

    Thanks again.
              In fact, if I use the server/queue syntax, I can use the queue name
              (the Name attrribute) not the JNDI name. This in case these names can
              be the same in a cluster deployment (with replicated JNDI names
              different). I'll check soon.
              Regarding the connection factory, I wonder whether WL doesn't do its
              otherwise typical performance improvements and return a local
              connection if there is one (as it already does with remote
              interfaces). I couldn't find a reference to such an optimization in
              the JMS documentation, though.
              On Wed, 17 Apr 2002 09:37:59 -0400, Tom Barnes
              <[email protected]> wrote:
              >email wrote:
              >
              >> Thank you. The second option looks better than the first because it
              >> allows using destinations on other JMS servers (by interrogating an
              >> MBean to get the JMS servers in the cluster).
              >
              >The second option only works if the connection is already connected
              >to the correct server. If you use mbeans, you can glean the URL
              >of the correct server by obtaining the IP and address of the remote
              >server from the ServerMBean - the "target" of the JMSServerMBean.
              >
              >An issue with this feature is the connection factory - which round-robins the
              >location of connection in certain cases. Currently the only way to ensure the
              >connection
              >factory does not do this is to target it at a single server. I suppose one
              >could duplicate the connection factory and target each duplicate at
              >a different server, but that requires giving each one a different name.
              >This may not be an issue with server-side contexts, I will investigate.
              >
              >
              >> It's useful to know
              >> about JNDINameReplicated, but that way accessing a remote destination
              >> will not be possible at all.
              >>
              >
              >I think you could write a small a startup class to look up the queue in the
              >local context and register the queue in a
              >replicated context with a different JNDI name. This way the destination
              >is advertised both ways. Fairly sure this would work.
              >
              >>
              >> BTW, a related question on reliability: accessing a remote destination
              >> if the local is down means there is a local problem with the JMS
              >> server or the queue, but the container is fine. Now, how likely is
              >> this in practice? Having the container up but the JMS subsystem down.
              >>
              >
              >Parts (or all) of JMS can fail due to configuration
              >errors -- commonly JNDI name collisions of destinations and/or factories,
              >failure to set the target, or using the same server name or jms server name
              >on two different servers.
              >
              >If you are using a file-store, boot failures occur with things
              >like file-store not found, or relatively catastrophic failures like
              >out-of-memory.
              >
              >If you are using a JDBC store, there is a dependency on the database being up.
              >
              >
              >>
              >> Indeed, 7.0 would solve it but that's several months ahead if I
              >> understand correctly:)
              >>
              >
              >Not months. Weeks. A very few weeks. I'm not sure what is officially
              >announced
              >so I can't get more specific.
              >
              >>
              >> Thanks again.
              >>
              >> On Tue, 16 Apr 2002 14:48:02 -0400, Tom Barnes
              >> <[email protected]> wrote:
              >>
              >> >Consider the new "JNDINameReplicated" configuration parm on the
              >> >destination. Ensure each server running 6.0SP2 with patch CR061106, or
              >> >6.1SP3 (not out yet) and later, or 7.0. Configure each queue to have the
              >> >same JNDI name, and also take care to set the destination’s new
              >> >“JNDINameReplicated” parameter to false. This turns off name
              >> >replications, so the JNDI name of the dest is only visible on the server
              >> >local to the context.
              >> >
              >> >Consider naming all destinations the same and looking them up the dest via
              >> >session.createQueue("./queuename"), this is a new syntax that restricts
              >> >the lookup to the same server as the one the JMS connection is talking
              >> >to. The normal syntax is "servername/queuename". This feature is
              >> >slated for 6.1SP3, no guarantees, (or try ask customer support to get this
              >> >feature in early as a patch, no guarantees there either), or 7.0.
              >> >
              >> >Consider not rolling your own and using 7.0, which has a rich distributed
              >> >destination feature built in.
              >> >
              >> >Tom
              >> >
              >> >email wrote:
              >> >
              >> >> Hi,
              >> >>
              >> >> A 6.1 cluster has a JMS server running on each node. The JMS client
              >> >> code has a component to do the fail over "manually": it tries one
              >> >> node, if that doesn't work it tries the next and so on. The
              >> >> destination names are different (and replicated in the JNDI tree).
              >> >>
              >> >> If everything is ok, all requests go the first server (meaning network
              >> >> traffic). Is there an elegant way to always try with the local JMS
              >> >> server before the remote ones, without minimum configuration
              >> >> dependency (i.e. no system properties passed at start-up telling what
              >> >> JMS servers to use and so on)
              >> >>
              >> >> Perhaps something using JMSDestinationRuntimeMBean and
              >> >> JMSServerRuntimeMBean?
              >> >>
              >> >> Oh, just noticed JMSRuntimeMBean.html.getJMSServers(), this might do
              >> >> it. I'll post it nonetheless in case other people have better ideas.
              >> >>
              >> >> Thanks.
              >> >
              >
              

  • Make sure one specific item is always selected in a slicer, whilst allowing multiple others to be selected also

    Hypothetically, lets say the items in my slicer are "conforming" "scratched" "dented" "broken" (and many more).
    I have a slicer connected to a pivot chart that relies on "conforming" always being selected, along with one of the defects.
    Is there any way to force the slicer to always have "conforming" selected, whilst allowing the user to select an additional item (or more)?
    Thanks in advance!

    Excelnoob, are you still trying to get this figured out?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Select root record in hierarchic self-referencing table

    Hi,
    is there a quick way to select the root record from any given ID?
    with t as (
      select 1 as PID, null as PARENTID, 'Root 1' as DESCRIPTION from dual union all
      select 2,1,'Sub 1.1' from dual union all
      select 3,1,'Sub 1.2' from dual union all
      select 4,null,'Root 2' from dual union all
      select 5,4,'Sub 2.1' from dual union all
      select 6,5,'Sub 2.11' from dual
    select
    from
      t
    where
      t.PID = 6;

    SQL> with t as (
      2    select 1 as PID, null as PARENTID, 'Root 1' as DESCRIPTION from dual union all
      3    select 2,1,'Sub 1.1' from dual union all
      4    select 3,1,'Sub 1.2' from dual union all
      5    select 4,null,'Root 2' from dual union all
      6    select 5,4,'Sub 2.1' from dual union all
      7    select 6,5,'Sub 2.11' from dual
      8  )
      9  select pid , CONNECT_BY_ROOT pid root_node
    10    from t
    11  where pid = &a
    12  start with parentid is null
    13  connect by prior pid = parentid
    14  /
    Enter value for a: 6
    old  11: where pid = &a
    new  11: where pid = 6
           PID  ROOT_NODE
             6          4
    SQL> /
    Enter value for a: 5
    old  11: where pid = &a
    new  11: where pid = 5
           PID  ROOT_NODE
             5          4
    SQL> /
    Enter value for a: 3
    old  11: where pid = &a
    new  11: where pid = 3
           PID  ROOT_NODE
             3          1
    SQL> /
    Enter value for a: 2
    old  11: where pid = &a
    new  11: where pid = 2
           PID  ROOT_NODE
             2          1
    SQL> /
    Enter value for a: 1
    old  11: where pid = &a
    new  11: where pid = 1
           PID  ROOT_NODE
             1          1Edited by: Karthick_Arp on Jan 20, 2009 4:39 AM

  • Can a Tree be used as a Select List?

    Hi
    I'd like to use a tree structure in APEX as an interactive 'Select List Item' or a Menu component.
    When users click on a particular tree node, the selection will be highlighted and it's associated PID from the underlying query can be accessed to filter a Report.
    Is this possible?
    Thanks
    Greg

    Hi Andy
    I had hoped to use the normal APEX tree item to drive interactive user selection.
    The tree report in APEX seems a bit limited for this requirement. I'm unable to click on individual leaf elements.
    The tree list shared component, on the other hand, gives me this functionality. Unfortunately, there does not seem to be a way to populate a list from query?
    I've found Scott Spendolini's AJAX tree, which I'm trying to implement and test to see if it suits my requirements, however, I'd prefer to use internal APEX features, if it all possible.
    Please let me know APEX caters for this.
    Many thanks
    Greg

  • Tables/views/Procedures/functions etc are not showing up in tree view, but can execute select * on dba_objects (can view in DBVisualizer)

    There was one other thread from years ago detailing this same problem. The only clue was to check whether select all privs were enabled for the user on dba_objects. They are for the user accessing the system. In fact, all tables/views/procs/funcs can be viewed in the tree view of DBVisualizer.  For whatever reason, OSD does not show anything.
    I'd appreciate any clues! Thank you!
    OSD Version  Version 4.1.0.18
    OS: Windows 7/64
    Java: 1.8.0
    Connecting to Oracle 11g 11.2.0.3.0

    Thank you, Gary.
    I updated the post with the version info. I did not explicitly install this JDBC driver, so whatever the OSD came with?  Unless it is using whatever is installed on my machine, in which case would be the thin driver.
    I did check out that post, and I appreciate you sharing it. I did click the 'include synonyms' filter, but behavior remained unchanged.
    I would prefer to use OSD, and that is what our dev team was expecting to use, but we just can't see the information.  We are using an ID that does not 'own' those tables, per se.  But, why would DBVisualizer show these tables, when OSD does not?

  • ADF Tree (10.1.3) Programmatically select Tree node

    Hi,
    i want to pre-select a specific treenode in an af:tree programmatically. I got it nearly working with using a CoreTree-binding in the backing bean using set setFocusRowKey method. After that, the node is selected properly, but when selecting another node in the tree via the UI, the programmatically selected node is not deselected, means in the display is see two selected nodes.
    Any ideas ?
    Tia,
    Andreas

    Hi,
    is this the same as
    Re: Facing a problem in programmatically setting focus on a node in <af:tre
    Frank

Maybe you are looking for

  • How to compile .java to .class in .jar file

    Hey. I have code to make a .jar file, read .java files, and save them as .class files in the .jar file. When I open the .jar file, it says that the magic numbers on the classes are wrong. So I figured that Java must compile the .java files to .class

  • Help to get quicktime 10.1 to work in Lion 10.7.8

    Since updating from Lion 10.7 to 10.7.8 my quick time 10.1 will not play .wmv files. The movie loads but does not play. 

  • How to calculate AUTOEXTEND ON NEXT in tablespace clause

    hi Please explain How to calculate AUTOEXTEND ON NEXT in tablespace clause. whether AUTOEXTEND ON NEXT 50M or 100M or 500M Thanks

  • BPEL PM message having xmlns at Element Level Tags

    When i invoke a bpel process, all my xml messages have the namespace refference at each individual element level tag. Not sure this is due to some kind of configuration at the Jdeveloper design enviorment. However it is annoying and difficult to pars

  • Problems with timer (forms 6i)

    Hello everyone, I am having the following problem in a form has a timer that is checking for new records in a table, this form can not be closed because it has certain features, so when you need to navigate to another form there is an effect visual u