Jtree - selection issues

I have writen a JCheckBox Tree - all is fine but i need to implement a feature that allows user to move the items up and down the hierarych inside only one level. so I added a buttons to do that but when i choose the item and then choose button i lost focus on the tree - how to recover and set the focus to desired item ??? example code will be very helpful...
Thanks in advance
mchmiel

Try this in the button's ActionListener:
tree.requestFocusInWindow();

Similar Messages

  • JTree selection problem when using custom renderer and editor

    Hello:
    I created a JTree with custom renderer and editor.
    The customization makes JCheckBox to be the component
    responsible for editing and rendering.
    The problem is that when I click on the node with the checkbox
    the JTree selection model does not get updated.
    Without customizations of the editor and renderer the MouseEvent would be fired and BasicTreeUI$MouseHandler.mousePressed() method would call
    the selectPathForEvent() method which would be responsible for updating
    the selection model. At the same time if I attach a mouse listener to the JTree (customized) I see the events when clicking on the nodes. It seems like the MouseEvent gets lost and somehow as a result of which the selection model does not get updated.
    Am I missing something?
    Thanks
    Alexander

    You probably forgot to call super.getTreeCellRendererComponent(...) at the beginning of your getTreeCellRendererComponent(...) method in your custom renderer.
    Or maybe in the getTreeCellEditorComponent(...) of the TreeCellEditor...

  • Menu selection issues in Flash CS4 for Mac

    I'm having a few menu selection issues in Flash. It seems some fields are de-selecting automatically (and quickly). For instance:
    1) When I double-click a layer to change it's name, it highlights then immediately de-selects. I can only rename by right-clicking and bringing up the Properties dialog.
    2) Fields highlight briefly then immediately de-select in the Properties menu when using the Tab button to advance or cycle thru fields. I have to click on each field individually to enter dimensions/characters.
    Possibly related...
    On occasion, I'm having an issue in Photoshop where the tools are off by 30 pixels or so. Examples:
    - Paint brush affects an area approximately 30px to the right and down from the brush head.
    - Selection tool selects an area approximately 30px to the right and down from the arrow head.
    This only happens on occasion and can be fixed by restarting Photoshop. I have not had any luck fixing the problems experienced within Flash.
    I'm experiencing this on two different machines that have CS4 installed. My only guess is a conflict with a Logitech driver OR a Wacom driver, but I have uninstalled the software and unplugged the Logitech mouse and Wacom tablet to no avail.
    Long time Flash/Photoshop user.... never had a problem like this.
    Anyone else have these issues or know a fix?
    Mac OS X 10.5.7
    Macbook Pro & iMac
    Logitech Control Center 2.7.0
    Wacom Driver 6.1.1-2(RC) for Mac OS X v. 10.4 & 10.5

    Hi there,
    This is a known issue, however we have not been able to reproduce it internally. The way to fix it (assuming it's the same problem) is to change your workspace (such as resetting to a default shipping layout, and then modifying from there), as it seems as though something about the workspace is causing the problem. It could be very specific to where its layed out on your monitor(s), some exact pixel size of a panel and/or grouping - and so on. However, we haven't been able to reproduce this internally yet - only reproed and fixed similar problems - so I cannot say for sure, however changing the workspace has fixed it for the other users I've talked to seeing this one.
    If you are able to share the following about one or both of your computers and send it to jdh (at) adobe, greatly appreciated:
    * workspace XML file from the Configuration directory (before changing the workspace!)
    * description monitor layout (ie: primary on left, secondary on right... or "one" )
    * monitor resolution(s)
    * screenshot(s) of your layout exhibiting the problem
    Thanks!

  • Datagrid select issue

    I am using flex builder 2.01 and have been using datagrids
    for a while now. I have recently ran into a weird situation where I
    have one datagrid out of three that just will not allow a manual
    selection. If I set the index to 0 for instance, the initial view
    of the datagrid shows the first item selected. If I go to select a
    different item, the first item becomes unselected and no other item
    can be selected. If I leave the initial state to be no item
    selected, I can never select an item. All other datagrids are
    working fine. I have tried to set selectable to true but that
    didn't help. This is really odd, any assistance would be greatly
    appreciated.

    Mmmm... Well the good news is I fixed it. The bad news is I
    have no clue why it fixed it. This particular datagrid is in a
    different tab in a tabnavigator panel. Attached is the expanded
    working code. On the line:
    <mx:Canvas label="Archived" width="100%" height="100%"
    id="ArchiveTab">
    I had a click="{GetPropertyArchive()}" to refresh the data on
    tab selection. This was old code that was made unnecessary at a
    later date but I did not remove the code. My guess is the datagrid
    assumed the characteristics of the parent tabnavigator and instead
    of ... wait that can't be right. If that was the case then changing
    the datasource would not have fixed the select issue because the
    'click' definition on the tabnavigator still existed. I would
    really like to understand why this mattered so I could avoid this
    issue in the future. Any ideas??

  • JClient Jtree Display Issues

    Hi I've got a JClient JTree which is used as a navigation tool to sync a master detail form. The JTree is on a scrollable panel within the master panel.
    The JTree model has been set up as follows:
    treePanelBinding = new JUPanelBinding(panelBinding.getApplicationName(), this);
    jTree1.setModel(JUTreeBinding.createTreeNodeTypeBinding(treePanelBinding, jTree1, "DistrictView", "DistrictViewIter", "DistrictViewIter", new JUCtrlHierTypeBinding[]
    {new JUTreeAccessorTypeBinding("DistNode", "opbo.DistrictView", "DistrictDescription", "BlockView", null, null, null),
              new JUTreeAccessorTypeBinding("BlockNode", "opbo.BlockView", "BlockDescription", "AssetView", null, null, null),
              new JUTreeAccessorTypeBinding("AssetNode", "opbo.AssetView", "AssetName", "opnamedate", null, null, null),
              new JUTreeAccessorTypeBinding("OpNode", "opbo.opnamedate", "Optypedate", null, null, null, null)}));
    This has been defined in the master panel. Note that is using a seperate JUPanelBinding than the master panel i.e. treePanelBinding.
    I have also assigned a JUTreeDefaultMouseListener to this tree. Its definition is as follows.
    jTree1.addMouseListener(new JUTreeDefaultMouseListener(panelBinding,new String [][]{{"BlockNode","BlockViewIter"},{"AssetNode","AssetViewIter"},{"OpNode","opnamedateIter"}},false));
    Note that in this case the panelBinding object is the JUPanelBinding defined for the master panel.
    The navigation tree works well syncing the master detail panel, however I have a function to insert a new asset record using the AssetView from the master panel. The code to do this is as follows
    Row row = panelBinding.findIterBinding("AssetViewIter").getRowSetIterator().createRow();
    row.setAttribute("BlockId",panelBinding.findIterBinding("BlockViewIter").getRowSetIterator().getCurrentRow().getAttribute("BlockId"));
    panelBinding.findIterBinding("AssetViewIter").getRowSetIterator().insertRow(row);
    The problem I'm getting is after the above lines are executed, the record is successfully inserted but then a new node is created in the tree but it is usually under the wrong block node. However if I close the application down and restart the application, the tree displays all the asset information under the right block node.
    In summary I thought by selecting a block node in the tree and then running the above code the asset should appear under the selected block node in the tree, I can see the block is correctly set on the master panel, I know the asset record is inserted with the correct block, but the tree initially does not display the node in the right position. However if you reboot the application the tree displays everything correctly. Is there a way to ensure the tree is consistent with the underlying data?
    Thanks

    I've not tried this scenario.
    However, you may want to set your ViewObject into "association consistent mode" either by calling ViewObject.setAssociationConsistent(true) or by setting all VOs in this mode by setting the Configuration parameter "jbo.viewlink.consistent" to true.
    This sets up the framework in the mode where if new rows are inserted into one RowSet, other RowSets (on the same ViewObject type) get a chance to include the row as well provided the criteria on that RowSet is met - which in your case does not seem to be the issue as you're simply viewing two Rowsets over the same ViewObject/query.

  • HP Laserjet 2200dtn paper select issue

    I have an HP Laserjet 2200dtn connected via jet direct with a direct ip. I can print to the device with one issue. All print jobs using the "Automatically Select" option for paper tray go to the manual tray and require me to tell the printer to continue. Prior to Snow Leopard the driver would go to the first available paper feed drawer (if paper was in manual it would go there, otherwise it went to either tray 2 or tray 3 on its on). Any Ideas? I would rather the printer automatically select tray 3 to print from and have me manually select tray 1 when I need it.
    Thanks.

    Chances are the printer has a small bit of paper that is still jammed in it. When paper jams always try to pull in the direction of the paper path! If it tears then remove the toner cartridge to see if you can see any bits of paper inside. I have the Laserjet 1012 which is a similar design, early in it's life I had a similar issue, after removing the toner cartridge and seeing all bits of paper were gone I still got an error. I then removed the top cover of the printer, located and removed the offending piece of paper, put it back together and now several thousands of pages later all is fine.
    If that doesn't work then contact HP's support (they will reply to an email with 24 hours) or go the chat route. If you try to call because you are well out of warranty there will be charge.

  • Problem with jtree selection

    Hi all,
    I've got a JTree that represents a sort of data that I'm going to change dynamically in my application. I'd like to reset the selection of the user to the leaf she has selected before the change to the tree structure.
    First of all my tree uses DefaultMutableTreeNode to build each node, and each DefaultMutableTreeNode contains a SingleKeyValue object, that is a key-value object (two strings) and that has an hashcode defined as follows:
    public class SingleKeyValue extends BaseKeyValue{
          * The key of the database object.
         protected String key = null;
          * The description of this object.
         protected String value = null;
         public int hashCode() {
              return this.key.hashCode();
         I hope the hashcode can help me finding the right object even when its value changes (but the key is the same). The construction of the tree is the following:
    DefaultMutableTreeNode root = new DefaultMutableTreeNode("The root");
    // iterate and build each node
    SingleKeyValue object = new SingleKeyValue("key","value");
    DefaultMutableTreeNode node = new DefaultMutableTreeNode(object);
    root.add(node);
    DefaultTreeModel model = new DefaultTreeModel(root);
    JTree  tree = new JTree(model);             
                so the tree is associated to a DefaultTreeModel. Then, when I need to change something in the tree I rebuild the tree and all leafs (with the SingleKeyValues) and rebuild the model:
              TreeModel treeModel = this.myTree.getModel();
              TreeSelectionModel selectionModel = this.myTree.getSelectionModel();
              DefaultTreeModel defaultTreeModel = null;
              DefaultTreeSelectionModel defaultTreeSelectionModel = null;
              TreePath selectedPath = null;
              TreeNode root = null;
              Logger.info("SimpleTreePanel.refreshDatabaseView: treemodel "+treeModel + " selectionModel " + selectionModel);
              if( treeModel != null && treeModel instanceof DefaultTreeModel ) {
                   defaultTreeModel = (DefaultTreeModel) treeModel;
                   root = this.getRoot();
                   // get the selection
                   if( selectionModel != null && selectionModel instanceof DefaultTreeSelectionModel ){
                        defaultTreeSelectionModel = (DefaultTreeSelectionModel) selectionModel;
                        selectedPath = defaultTreeSelectionModel.getSelectionPath();
                        Logger.warn("Selection path of the tree: "+selectedPath);
                   // rebuild the tree
                   defaultTreeModel.setRoot(root);
                   // set the selected element
                   defaultTreeSelectionModel.setSelectionPath(selectedPath);The problem is that after the above code the tree is all closed, no leaf are selected. I guess the problem is with the SingleKeyValueObject because I've tried the default model and it works with, for example, simple strings. Any idea about?
    Thanks,
    Luca

    Here's a complete test program that creates a few SingleKeyValue objetcs (objects with a key and a description) and that then places them into a JTree using the DefaultMutableTreeNode. After that, the selection of user is took and one node is changed, but while the selection is working, the reload/refresh of the tree is not.
    Any idea about how to work on it?
    public class SingleKeyValue extends BaseKeyValue{
          * The key of the database object.
         protected String key = null;
          * The description of this object.
         protected String value = null;
         // constants related to the type of the table this object refers to
         public static final String COMPETENCE = "competenza";
         public static final String FAMILY            = "famiglia_competenza";
         public static final String ROLE              = "ruolo";
         public static final String PROVINCE      = "provincia";
         public static final String KNOWLEDGE  = "titolo_studio";
         public final static String OBJECTIVE      = "obiettivo";
         public final static String PERSON         = "persona";
         public SingleKeyValue( String key, String value, String table){
              super();
              this.key = key;
              this.value = value;
              this.SQLTable = table;
          * @return the key
         public final String getKey() {
              return key;
          * @param key the key to set
         public final void setKey(String key) {
              this.key = key;
          * @return the value
         public final String getValue() {
              return value;
          * @param value the value to set
         public final void setValue(String value) {
              this.value = value;
          * Shows this element.
         public String toString(){
              String ret;
              if( this.showKey ){
                   ret =  this.label + this.key +" { "+ this.value +" }";
              else
                   ret = this.label + this.value;
              // trim the string
              if( ret.length() > this.maxLength )
                   return ret.substring(0 , this.maxLength);
              else
                   return ret;
          * The hash code of this object is the hash code of the key.
          * @return the hash code of the key of the object
         public int hashCode() {
              return this.key.hashCode();
          * Returns true if the object passed is a single key value equals (i.e., with the same key) of this one.
         public boolean equals(Object o){
              if( o== null || (! (o instanceof SingleKeyValue) ) )     return false;
              else
                   return (this.hashCode() == o.hashCode());
         public static void main(String argv[]) throws Exception{
             SingleKeyValue skv1 = new SingleKeyValue("Key1","Description1", SingleKeyValue.COMPETENCE);
             SingleKeyValue skv2 = new SingleKeyValue("Key1a","Description1a", SingleKeyValue.COMPETENCE);
             SingleKeyValue skv3 = new SingleKeyValue("Key1b","Description1b", SingleKeyValue.COMPETENCE);
             SingleKeyValue skv4 = new SingleKeyValue("Key2","Description2", SingleKeyValue.COMPETENCE);
             SingleKeyValue skv5 = new SingleKeyValue("Key2a","Description2a", SingleKeyValue.COMPETENCE);
             SingleKeyValue skv6 = new SingleKeyValue("Key2b","Description2b", SingleKeyValue.COMPETENCE);
             DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode("root");
             DefaultMutableTreeNode node1 = new DefaultMutableTreeNode(skv1);
             DefaultMutableTreeNode node2 = new DefaultMutableTreeNode(skv2);
             DefaultMutableTreeNode node3 = new DefaultMutableTreeNode(skv3);
             DefaultMutableTreeNode node4 = new DefaultMutableTreeNode(skv4);
             DefaultMutableTreeNode node5 = new DefaultMutableTreeNode(skv5);
             DefaultMutableTreeNode node6 = new DefaultMutableTreeNode(skv6);
             rootNode.add(node1);
             node1.add(node2);
             node1.add(node3);
             rootNode.add(node4);
             node4.add(node5);
             node4.add(node6);
             JTree tree = new JTree(rootNode);
             JFrame f = new JFrame("Tree try");
             f.add( new JScrollPane(tree) );
             f.setSize(300,300);
             f.setVisible(true);
             System.out.println("Please select a node within 10 seconds");
             Thread.sleep(10000);
             // now get the user selection
         TreeModel treeModel = tree.getModel();
         TreeSelectionModel selectionModel = tree.getSelectionModel();
         DefaultTreeModel defaultTreeModel = null;
         DefaultTreeSelectionModel defaultTreeSelectionModel = null;
         TreePath selectedPath = null;
         TreeNode root = null;
         if( treeModel != null && treeModel instanceof DefaultTreeModel ) {
              defaultTreeModel = (DefaultTreeModel) treeModel;
              // get the selection
              if( selectionModel != null && selectionModel instanceof DefaultTreeSelectionModel ){
                   defaultTreeSelectionModel = (DefaultTreeSelectionModel) selectionModel;
                   selectedPath = defaultTreeSelectionModel.getSelectionPath();
              // rebuild the tree
              node1.setUserObject(new SingleKeyValue("key20","key changed",SingleKeyValue.FAMILY));
              defaultTreeModel.reload();
              // set the selected element
              defaultTreeSelectionModel.setSelectionPath(selectedPath);
    }

  • [Wine] Sound card selecting issues

    Since a month or too, after one of my weekly updates, wine started to select the wrong sound card for its audio playback. Thus, alas, no sound in wine applications.
    When selecting the audio tab in winecfg, I get the following console output:
    fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling mixer
    fixme:jack:JACK_drvLoad error loading the jack library libjack.so.0, please install this library to use jack
    I don't use jack, so that can be ignored. The HDA NVidia - the S/PDIF on my NVidia video card I presume, I don't use either. What I do use is my onboard sound chip in combination with alsa, which works perfectly on non-wine applications.
    So, I got the following set up:
    $ cat /proc/asound/modules
    0 snd_hda_intel
    1 snd_hda_intel
    $ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: SB [HDA ATI SB], device 0: VT1818S Analog [VT1818S Analog]
    Subdevices: 2/2
    Subdevice #0: subdevice #0
    Subdevice #1: subdevice #1
    card 0: SB [HDA ATI SB], device 1: VT1818S Digital [VT1818S Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    $ ls -l /sys/module/snd/holders
    total 0
    lrwxrwxrwx 1 root root 0 Feb 21 12:14 snd_hda_codec -> ../../snd_hda_codec
    lrwxrwxrwx 1 root root 0 Feb 21 12:14 snd_hda_codec_hdmi -> ../../snd_hda_codec_hdmi
    lrwxrwxrwx 1 root root 0 Feb 21 12:14 snd_hda_codec_via -> ../../snd_hda_codec_via
    lrwxrwxrwx 1 root root 0 Feb 21 12:14 snd_hda_intel -> ../../snd_hda_intel
    lrwxrwxrwx 1 root root 0 Feb 21 12:14 snd_hwdep -> ../../snd_hwdep
    lrwxrwxrwx 1 root root 0 Feb 21 12:14 snd_pcm -> ../../snd_pcm
    lrwxrwxrwx 1 root root 0 Feb 21 12:14 snd_seq -> ../../snd_seq
    lrwxrwxrwx 1 root root 0 Feb 21 12:14 snd_seq_device -> ../../snd_seq_device
    lrwxrwxrwx 1 root root 0 Feb 21 12:14 snd_seq_oss -> ../../snd_seq_oss
    lrwxrwxrwx 1 root root 0 Feb 21 12:14 snd_timer -> ../../snd_timer
    $ lsmod|grep '^snd' | column -t
    snd_hda_codec_hdmi 22593 4
    snd_hda_codec_via 52963 1
    snd_seq_dummy 1479 0
    snd_seq_oss 29240 0
    snd_seq_midi_event 5516 1 snd_seq_oss
    snd_seq 50562 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
    snd_seq_device 5281 3 snd_seq_dummy,snd_seq_oss,snd_seq
    snd_hda_intel 21837 1
    snd_hda_codec 74577 3 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
    snd_hwdep 6222 1 snd_hda_codec
    snd_pcm 72321 2 snd_hda_intel,snd_hda_codec
    snd_timer 19537 2 snd_seq,snd_pcm
    snd 58906 12 snd_hda_codec_hdmi,snd_hda_codec_via,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
    snd_page_alloc 7361 2 snd_hda_intel,snd_pcm
    Note that I already blacklisted snd_hda_codec_nvhdmi, which was in the above output before blacklisting.
    Also note the weirdness of having two identical modules for card 0 and card 1. I guess the chip on the video card is Intel as well. I this possible?
    Now the list of things I tried, all without a positive result.
    First, I completely reconfigured my alsa set up.
    Secondly, I blacklisted snd_hda_codec_nvhdmi in /etc/rc.conf
    Thirdly, I used the info from http://wiki.winehq.org/UsefulRegistryKeys to force wine to use card0:
    AutoScanCards=N
    AutoScanDevices=N
    DeviceCTL1=hw:0
    DevicePCM1=hw:0
    Fourthly, I edited .asoundrc to force alsa to use only card0:
    # define soundcard to use, hw0:0
    pcm.!default {
    type hw
    card SB
    # device 0
    # define control device to use, hw0:0
    ctl.!default {
    type hw
    card SB
    # device 0
    Finally, I tried the above globally in /etc/asound.conf
    I even waited two wine updates to see if that would fix it.
    All above did not solve the sound issue and winecfg still gives the same error output as before.
    Note that the sound works fine in everything, except in wine.
    Anyone has any ideas or insight?

    Hi!
    Similar problem here
    [zom@myhost ~]$ winecfg
    fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling mixer
    fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling mixer
    err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio
    fixme:winmm:proc_PlaySound Couldn't play header
    fixme:winmm:proc_PlaySound Couldn't play header
    [zom@myhost ~]$ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: ALC889A Analog [ALC889A Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: Intel [HDA Intel], device 1: ALC889A Digital [ALC889A Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    [zom@myhost ~]$ cat /proc/asound/modules
    0 snd_hda_intel
    1 snd_hda_intel
    I will follow some of your steps and research a bit to see if I can find something.
    Please remember to post if you get it working!
    Regards,
    Edit:
    Seems the card is not well specified in your /etc/asound.conf
    % cat /etc/asound.conf
    pcm.!default {
    type plug
    slave.pcm {
    type hw
    card 0
    device 3
    I think you should put the device also, as shown on your "aplay -l". Try and let me know (I will try asap).
    Edit: Forget what I just said and just follow strictly the wine wiki page. In my case it was a problem when installing lib32-openal from the repos. It gave an error and did not install the first time, but I thought it was removed from the repos and wasn't needed anymore.
    Last edited by Darkzom (2011-03-24 01:00:55)

  • F150- Free selection issue

    Hi,
    Dunning run is carried out only for a particular group of Industry (KNA1-BRSCH)  in the transaction F150. It is not even selecting a single customer in the group when we consider it in the free selection. I have not ticked the exclude check box in the free selection tab when I consider the industry wise dunning.
    But when we take individual customers and run then it is giving us the log.
    please provide your inputs on this issue.
    kind regards
    sap student

    Hi,
    Please find length of the field KNA1-BRSCH in table KNA1 using transaction code SE11.
    If industry value you enter in free selection (F150) is less than the character length defined for the field then you have to prefix it with Zeros.
    For example if reconciliation account is of length 10 in table but your GL account length is 8 characters then you have to add two zeros before you GL account while using reconciliation account in free selection in F150 or F110.
    Thanks!
    Raju

  • Path Selection issue in Table Test

    Hi All
    I got issue in adding Form actions (ex:- Table test, Text matching test ) in my Oracle Forms and report product. It is not selecting the Path..
    Can any one suggest why the Path is not selecting ...?
    Appreciate your feed back.
    Regards,
    Sairam

    Hi Deepu,
    Please find the code below while doing text matching test
    web.window("//forms:window[(@name='WIN1')]").verifyText(
                                  "uniform", "365", Source.DisplayContent,
                                  TextPresence.PassIfPresent, MatchOption.Exact);
    Regards,
    Sairam

  • Path selection issue

    Hi All
    I got issue in adding Form actions (ex:- Table test, Text matching test ) in my Oracle Forms and report product. It is not selecting the Path..
    Can any one suggest why the Path is not selecting ...?
    Appreciate your feed back.
    Regards,
    Sairam

    Hi Deepu,
    We are using OATS version 12.2, JAVA Version 6.0.350 and erp application is our own application developed in oracle 10g forms. We did not get any errors while installing OATS.
    Regards,
    Sairam

  • Web font selection issue in Muse?

    Web font issue in Muse, when I load web fonts which have various weights i.e. regular and bold I an unable to select this font in any weight at all. Is anybody else experiencing this issue and has anybody got a solution?

    Hi Zak
    Just a quick follow-up after checking this issue at home. I opened Muse and loaded several web fonts, some of which had various weights available. I was able to select these fonts and change the weights fine. However I left Muse open and returned several hours later and found that I was unable to select any of these fonts.
    So you workaround (turning Muse off and on again) certainly works but the bug is still there. FYI I am using the latest version of Muse on an iMac using Yosemite OSX. One thought, I have a screensaver set up on my home iMac, could this possibly cause this problem?
    I will continue to monitor Muse on my iMac at work running on OSX Maverick to see if I get the same problem. I don’t have a screen saver set-up on this iMac as it’s never left long enough for it to start up.
    This then may help determine if this is either an OSX Yosemite issue or a screen saver issue.
    Kind Regards
    Jeremy

  • Variable selection issue

    can someone plzzz help me regarding the following issue..........
      how to limit set of master data values in variable selection during query execution?
    cheers
      hari.

    Hi,
    check this link
    it's for increasing the limit you can use it to decrease the limit.
    BEX - number of displayed values
    Thanks

  • AIR 3.6 + Android 4.1.2 + StageText + Tap Text To Select issue

    Hi,
    Have anyone experience the follwoing?. When tapping the StageText to select the text, the app moves up, the StageText moves down (originally the text appears in the text box, see the screenshot) and the top menu in Android (Menu to Cut, paste etc)  goes behind the status bar, see screenshot. In general the StageText seems to beahve very erractic and very bad in Android (I dont know if it is specific for a certain Android OS or not). Any tricks, tips to make the StageText behave a bit more decently in Android?

    Thanks for reporting the issue, Could you please raise it as a bug @ bugbase.adobe.com. Also, please do upload a sample application/sources and steps to demonstrate the problem. Also, please mention the device you're facing problem on.
    Please share the bug number here for reference.
    -Thanks
    Pahup

  • BW-BPS Attribute variable selections issues

    Hi Marc / Gerd,
    I am using an attribute variable on material that has a lot of filters for values on material group, material type, EANUPC, and even a date such as created date / product start date (reference 0date). 
    The function /layout has issues if the selection has no material choosen and I know we needed to create exit variables on a previous project (someone else did the ABAP and I set out the spec) to do material group / category selection based on material attribute and the material group variable. 
    Any other good options or work arounds since we cannot use variable in attribute variables?
    Thanks,
    Mary

    Hi Marc,
    1. I checked the layout configuration and the config was transported okay to QA so the field that I want to input does not have compariable checked and it should be open for input.
    2. there are no data slices yet.
    3. Validation check - that might be an issue.  The BW loads originally had some master data not loaded in BWQ and have some mapping not occuring as it should and I have been asking for them for the last 2 load cycles.  I was told all missing master data have been since loaded and I need to ask for a load of the transaction again but the BW person is waiting for some missing mapping.  Also we had to document enabled some infoobjects. 
    But the category we are using for the integration testing should have all the master data correctly set up since I checked on it end of last week.  Do I have to set up some system settings for the document server? Do I need to force it to regenerate after some transports?
    The master data we used for the 2 systems are different since the DEV has very little master data and some were manually maintained or uploaded via flat files.  The BW QA has a lot of master data since R/3 QA has been refreshed recently. 
    Thanks,
    Mary

Maybe you are looking for

  • HP LaserJet Pro CM1415 Color Multifunction Printer series

    I can not make my printer print darker when printing from the desktop.  Any suggestions?  All of the cartridges are new and I have already calibrated.  Thanks!!

  • Can't Move Scanned Photos

    When I scan photos into a file in the iPhoto library, the photos stay in the upper left hand corner of the page and I can't move them. I'm brand new to this program and I'd appreciate any help you can give. Thanks.

  • MTD Logic Required for Calculation

    I have Month and year field in my DSO. Values Year(2009) and Month(4) I want below logic to calculate - MTD qty % = (qty * elapse days) / no of days in month so from the above, I want to know, 1. How can we get the no of days from the above 2 objects

  • Debugging in wsad

    hi all i am working on websphere studio application developer. i wrote a Junit test calss for a systemaccessor which interact with DB2 database. the test is failed. i dont know debugging. can any one tell me how to debug a test case in WSAD in detail

  • Recipe Management within SAP PLM Core 7.1 EHP5 system

    Dear All, I am working in a EHP5 system - Recipe mgmt. i am looking for documentation regarding configuration, end user training and OKP files for this new Recipe management Thanks in Advance yasar