ECC 6.0 and WE62 in tree view (IDOC documentation)

Hi,
we have just upgraded our ERP system from R/3 4.6C to ECC 6.0, new WE62 for IDOC documentation is in html mode only. Is it possibile to use old-style WE62 in tree-view mode ?
Regards.
Ganimede Dignan.

Hello Ganimede
The package SED (IDoc Interface (Processing, Administration, Definition)) has undergone a major change on ERP 6.0.
The function modules for tree display of IDoc / segments found in function group EDIT no longer exist on the newer release:
- EDI_START_IDOC_TREE
- EDI_START_SEGMENT_TREE
The only thing you can do is to copy the coding from an old 4.6c release into a new z-function group on ERP 6.0.
Regards
  Uwe

Similar Messages

  • How to maintain several views of the same data and update a tree

    I have an object UiUser, which is displayed in my application in several different views. There are three different views which all have the User object i.e. search results, user tree and user table. Each of the views has the same menu items, so the user can be deleted from any of the views.
    What I am trying to work out is how should I ensure the item is updated in all of the views?
    I can fire a property change event with the UiUser and update two of the views i.e. search results and user table, but how do I update the tree?
    I thought of overiding the equals/hashcode methods of the UserTreeNode to compare uiUser.getId () and I could then search the tree and find the tree node of the required UiUser. But I have reservations about this whole approach as it just seems wrong.
    Any ideas of how to keep N views in sync, I really don't want all of the views to have tree nodes as this equally seems wrong. This should be a simple problem to solve and I'm sure lots of people have done it, I'm just not sure which is the best approach to take.
    Thanks

    Hi Jan,
    This is so because each installer has a GUID that is used to check whether the application needs to be upgraded or not. (It's a Microsoft function).
    What you can do is create a new installer with a different GUID (copy the installer in the projects), and check witha  text editor whether this GUID has changed.
    But any specific reason you need two seperate installs? You can run the application twice with a specific INI token:
    allowmultipleinstances=True
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • JSF tree view GUI component and tree node actions

    Hi,
    I am new in using JSF and have a problem with my simple test application.
    The application contains a tree view control with one static tree node and a separate text area. Clicking on the tree node shall fill the text area with the string 'hello'. Seems to be very simple, but it doesn't work.
    What did I do?
    First of all I use the Sun Java Studio Creator 2.
    By double clicking on the tree node in the design window of the IDE a method called treeNode1_action() was created. I also added the String text to the session bean. treeNode1_Action() does not more than setting text='hello' ( getSessionBean().setText('hello'); ).
    The jsp file contains the line
    <ui:textArea binding="#{Page1.textArea}" id="textArea" style="height: 192px; left: 360px; top: 48px; position: absolute; width: 456px" text="#{SessionBean1.text}"/>, so the text of the text area is bound to the session property 'text'.
    Running the application and clicking on the tree node does nothing except reloading the page (no 'hello' inside the text area).
    Using the debugger showed me that the bean property text is set correctly to 'hello', also after reloading the page.
    What did I do wrong?
    What do I have to do to display 'hello' in the text area?
    I would be glad for some good advice to solve my problem and looking forward for an answer.
    Regards from germany
    Matthias

    want to remove the green patch from the jsf tree componentas u said ,, it is COMPONENET so this is a pre-made creator component that u cant chnage its attributes ,,
    instead u can extract Theam.jar file and change the icons ,, u i didnt do it before ,, but u may be find what u want there,
    hope this will help
    good luck
    Mohammed

  • Switching between the Classic View and the Tree View in transaction FEBA

    Hi All
    I would like to know how to switch between the Classic View and the Tree View on transaction FEBA for post processing of bank statements. I have a scenario where in the DEV client the transaction is calling up the Tree View and in my QA environment it calls up the Classic View, and I would like to know if there is a way to easily switch between the two views.
    I'd appreciate your assistance.

    Hi,
    I think you can do the same using transaction codes FEBA and FEBAN.
    Thanks
    Aravind

  • Menus, Tabs and Tree Views I need some help

    heya,
    I am quite new here! I was searching desperately on a solution on how to fix my code. I need to do a menu in Java and bellow two boxes, one in which I will display a static tree structure (on the left side of the window) and one where I have some tabs (on the irght side of the window).
    Now, today I was playing around with the tree structure view and also trying to use modules in my code for a more easy debugging and understanding later on and I managed to screw up the functionality for good :D.
    Please some help, where am I going wrong and what is missing in my application.
    Here are my 4 files:
    ______File ModulMeniu____________
    package modules;
    import javax.swing.AbstractAction;
    import javax.swing.Action;
    import javax.swing.BorderFactory;
    import javax.swing.border.Border;
    import javax.swing.JTabbedPane;
    import javax.swing.Box;
    import javax.swing.BoxLayout;
    import javax.swing.JToolBar;
    import javax.swing.JButton;
    import javax.swing.ImageIcon;
    import javax.swing.JMenuItem;
    import javax.swing.JCheckBoxMenuItem;
    import javax.swing.JMenu;
    import javax.swing.JMenuBar;
    import javax.swing.JFrame;
    import javax.swing.JTextArea;
    import javax.swing.JScrollPane;
    import javax.swing.JPanel;
    import javax.swing.JLabel;
    import javax.swing.JEditorPane;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JSplitPane;
    import javax.swing.UIManager;
    import javax.swing.JTree;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.tree.TreeSelectionModel;
    import javax.swing.event.TreeSelectionEvent;
    import javax.swing.event.TreeSelectionListener;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.BorderLayout;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.Dimension;
    import java.awt.GridLayout;
    import java.net.URL;
    import java.io.IOException;
    public class ModulMeniu extends JPanel {
    protected Action loadConfigurationAction, saveConfigurationAction, stopAction, continueAction, exitAction, newFilterAction, allFiltersSentAction;
    protected Action currentFilterAction, allComputersAction, probesAction, deleteAction, resetAction, hideComputersAction, backgroundAction;
    protected Action computerAction, filterAction, searchFilterByNameAction, searchPackageByPositionAction, deleteFilterAndRuleAction ;
    public ModulMeniu() {
    //Creates the actions shared by the toolbar and menu.
    loadConfigurationAction = new LoadConfigurationAction("Load Configuration",
    "This allows to load a previous configuration.",
    new Integer(KeyEvent.VK_L));
    saveConfigurationAction = new SaveConfigurationAction("Save Configuration",
    "This allows to save the current configuration.",
    new Integer(KeyEvent.VK_S));
    stopAction = new StopAction( "Stop",
    "This stops the Client.",
    new Integer(KeyEvent.VK_T));
    continueAction = new ContinueAction( "Continue",
    "This continues the traffic observing where we left on.",
    new Integer(KeyEvent.VK_C));
    exitAction = new ExitAction( "Exit",
    "This exits the Application.",
    new Integer(KeyEvent.VK_E));
    newFilterAction = new NewFilterAction( "New Filter",
    "This creates a new filter.",
    new Integer(KeyEvent.VK_N));
              allFiltersSentAction = new AllFiltersSentAction( "All Filters Sent",
    "This displays all the filters sent.",
    new Integer(KeyEvent.VK_A));
    currentFilterAction = new CurrentFilterAction( "Current Filter",
    "This displays the current filter.",
    new Integer(KeyEvent.VK_C));
    allComputersAction = new AllComputersAction( "All Computers",
    "This displays all the computers in the network.",
    new Integer(KeyEvent.VK_L));
    probesAction = new ProbesAction( "Probes",
    "This displays all the probes in the network.",
    new Integer(KeyEvent.VK_P));
    deleteAction = new DeleteAction( "Delete",
    "This deletes the filter.",
    new Integer(KeyEvent.VK_D));
    resetAction = new ResetAction( "Reset",
    "This resets the client.",
    new Integer(KeyEvent.VK_R));
    hideComputersAction = new HideComputersAction( "Hide Computers",
    "This hides given computers.",
    new Integer(KeyEvent.VK_H));
    backgroundAction = new BackgroundAction( "Background",
    "This sets the background color.",
    new Integer(KeyEvent.VK_B));
    computerAction = new ComputerAction( "Computer",
    "This sets the computer color.",
    new Integer(KeyEvent.VK_C));
    filterAction = new FilterAction( "Filter",
    "This sets the filter color.",
    new Integer(KeyEvent.VK_F));
    searchFilterByNameAction = new SearchFilterByNameAction( "Search Filter By Name",
    "This searches a filter by its name.",
    new Integer(KeyEvent.VK_F));
    deleteFilterAndRuleAction = new DeleteFilterAndRuleAction( "Delete Filter And Rule",
    "This deletes a filter or a rule.",
    new Integer(KeyEvent.VK_D));
    public JMenuBar createMenuBar() {
    JMenuItem menuItem = null;
    JMenuBar menuBar;
    //Create the menu bar.
    menuBar = new JMenuBar();
    //Create the first menu.
    JMenu fileMenu = new JMenu("File");
    JMenu setMenu = new JMenu("Set");
    JMenu viewMenu = new JMenu("View");
    JMenu optionsMenu = new JMenu("Options");
    JMenu colorsMenu = new JMenu("Colors");
    JMenu searchMenu = new JMenu("Search");
    JMenu deleteMenu = new JMenu("Delete");
    Action[] actions1 = {loadConfigurationAction, saveConfigurationAction, stopAction, continueAction, exitAction};
    for (int i = 0; i < actions1.length; i++) {
    menuItem = new JMenuItem(actions1);
    fileMenu.add(menuItem);
    Action[] actions2 = {newFilterAction};
    menuItem = new JMenuItem(actions2[0]);
    setMenu.add(menuItem);
    Action[] actions3 = {allFiltersSentAction, currentFilterAction, allComputersAction, probesAction};
    for (int j = 0; j < actions3.length; j++) {
    menuItem = new JMenuItem(actions3[j]);
    viewMenu.add(menuItem);
    Action[] actions4 = {deleteAction, resetAction, hideComputersAction};
    for (int i = 0; i < actions4.length; i++) {
    menuItem = new JMenuItem(actions4[i]);
    optionsMenu.add(menuItem);
    Action[] actions5 = {backgroundAction, computerAction, filterAction};
    for (int i = 0; i < actions5.length; i++) {
    menuItem = new JMenuItem(actions5[i]);
    colorsMenu.add(menuItem);
    Action[] actions6 = {searchFilterByNameAction};
    menuItem = new JMenuItem(actions6[0]);
    searchMenu.add(menuItem);
    Action[] actions7 = {deleteFilterAndRuleAction};
    menuItem = new JMenuItem(actions7[0]);
    deleteMenu.add(menuItem);
    //Set up the menu bar.
    menuBar.add(fileMenu);
    menuBar.add(setMenu);
    menuBar.add(viewMenu);
    menuBar.add(optionsMenu);
    menuBar.add(colorsMenu);
    menuBar.add(searchMenu);
    menuBar.add(deleteMenu);
    return menuBar;
    public class LoadConfigurationAction extends AbstractAction {
    public LoadConfigurationAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    public class SaveConfigurationAction extends AbstractAction {
    public SaveConfigurationAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    public class StopAction extends AbstractAction {
    public StopAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    public class ContinueAction extends AbstractAction {
    public ContinueAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    public class ExitAction extends AbstractAction {
    public ExitAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    public class NewFilterAction extends AbstractAction {
    public NewFilterAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    public class AllFiltersSentAction extends AbstractAction {
    public AllFiltersSentAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    public class CurrentFilterAction extends AbstractAction {
    public CurrentFilterAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    public class AllComputersAction extends AbstractAction {
    public AllComputersAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    public class ProbesAction extends AbstractAction {
    public ProbesAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    public class DeleteAction extends AbstractAction {
    public DeleteAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    public class ResetAction extends AbstractAction {
    public ResetAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    public class HideComputersAction extends AbstractAction {
    public HideComputersAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    public class BackgroundAction extends AbstractAction {
    public BackgroundAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    public class ComputerAction extends AbstractAction {
    public ComputerAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    public class FilterAction extends AbstractAction {
    public FilterAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    public class SearchFilterByNameAction extends AbstractAction {
    public SearchFilterByNameAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    public class DeleteFilterAndRuleAction extends AbstractAction {
    public DeleteFilterAndRuleAction(String text,String desc, Integer mnemonic) {
    super(text);
    putValue(SHORT_DESCRIPTION, desc);
    putValue(MNEMONIC_KEY, mnemonic);
    public void actionPerformed(ActionEvent e) {
    ___FIle ModulTabbedArea________
    //pls consider I have all the imports of the first file
    public class ModulTabbedArea extends JPanel{
         public JTabbedPane tabbedPane;
         public ModulTabbedArea(){
         public JTabbedPane createTabbedArea(){
    Border paneEdge = BorderFactory.createEmptyBorder(0,10,10,10);
    JPanel IP = new JPanel();
    IP.setBorder(paneEdge);
    IP.setLayout(new BoxLayout(IP,BoxLayout.Y_AXIS));
    JPanel TCP = new JPanel();
    TCP.setBorder(paneEdge);
    TCP.setLayout(new BoxLayout(TCP,BoxLayout.Y_AXIS));
    JPanel UDP = new JPanel();
    UDP.setBorder(paneEdge);
    UDP.setLayout(new BoxLayout(UDP,BoxLayout.Y_AXIS));
    JPanel ICMP = new JPanel();
    ICMP.setBorder(paneEdge);
    ICMP.setLayout(new BoxLayout(ICMP,BoxLayout.Y_AXIS));
    JPanel ARP = new JPanel();
    ARP.setBorder(paneEdge);
    ARP.setLayout(new BoxLayout(ARP,BoxLayout.Y_AXIS));
    JPanel RARP = new JPanel();
    RARP.setBorder(paneEdge);
    RARP.setLayout(new BoxLayout(RARP,BoxLayout.Y_AXIS));
    JPanel UNKNOWN = new JPanel();
    UNKNOWN.setBorder(paneEdge);
    UNKNOWN.setLayout(new BoxLayout(UNKNOWN,BoxLayout.Y_AXIS));
    JTabbedPane tabbedPane = new JTabbedPane();
    tabbedPane.addTab("IP", null, IP, null);
    tabbedPane.addTab("TCP", null, TCP, null);
    tabbedPane.addTab("UDP", null, UDP, null);
    tabbedPane.addTab("ICMP", null, ICMP, null);
    tabbedPane.addTab("ARP", null, ARP, null);
    tabbedPane.addTab("RARP", null, RARP, null);
    tabbedPane.addTab("UNKNOWN", null, UNKNOWN, null);
    return(tabbedPane);
    ___File ModulTree____
    //all the imports and the import of the package above
    public class ModulTree extends JPanel implements TreeSelectionListener {
    public JTree tree;
    private boolean DEBUG = false;
    public ModulTree() {
    //Create the nodes.
    DefaultMutableTreeNode top =new DefaultMutableTreeNode("Computers:");
    createNodes(top);
    //Create a tree that allows one selection at a time.
    tree = new JTree(top);
    tree.getSelectionModel().setSelectionMode (TreeSelectionModel.SINGLE_TREE_SELECTION);
    //Listen for when the selection changes.
    tree.addTreeSelectionListener(this);
    /** Required by TreeSelectionListener interface. */
    public void valueChanged(TreeSelectionEvent e) {
    DefaultMutableTreeNode node = (DefaultMutableTreeNode)
    tree.getLastSelectedPathComponent();
    if (node == null) return;
    Object nodeInfo = node.getUserObject();
    if (node.isLeaf()) {
    IPInfo ipAndName = (IPInfo)nodeInfo;
    if (DEBUG){           
    if (ipAndName.name==""){
         System.out.println(ipAndName.ip+ ": \n ");
    else {
    System.out.print(ipAndName.ip + ipAndName.name + ": \n ");
    if (DEBUG) {
    System.out.println(nodeInfo.toString());
    private class IPInfo {
    public String ip;
    public String name;
    public IPInfo(String adresaIP, String numeleComputerului) {
    ip=adresaIP;
    name=numeleComputerului;
    public String toString() {
    return ip + name;
    private void createNodes(DefaultMutableTreeNode top) {
    DefaultMutableTreeNode category = null;
    DefaultMutableTreeNode ipAndName = null;
    category = new DefaultMutableTreeNode("Computers in the Network");
    top.add(category);
    ipAndName = new DefaultMutableTreeNode(new IPInfo
    ("216.27.61.137",
    "Artemis"));
    category.add(ipAndName);
    ipAndName = new DefaultMutableTreeNode(new IPInfo
    ("216.32.61.132",
    "Venus"));
    category.add(ipAndName);
    ipAndName = new DefaultMutableTreeNode(new IPInfo
    ("216.132.61.11",
    "Zeus"));
    category.add(ipAndName);
    category = new DefaultMutableTreeNode("Probes in the Network");
    top.add(category);
    ipAndName = new DefaultMutableTreeNode(new IPInfo
    ("10.11.11.1",
    "Probe1"));
    category.add(ipAndName);
    ipAndName = new DefaultMutableTreeNode(new IPInfo
    ("10.11.1.1",
    "Probe2"));
    category.add(ipAndName);
    __File ModulMain___
    //all the imports and imports also modules.*
    public class ModulMain extends JFrame{
         public ModulMain(){
    private static void createAndShowGUI() {
    //Create and set up the window.
    JFrame frame = new JFrame("Sistem grafic de monitorizare a unei retele");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //Create/set menu bar and content pane.
    ModulMeniu menu = new ModulMeniu();
    frame.setJMenuBar(menu.createMenuBar());
    //Create the scroll pane and add the tree to it.
    JScrollPane treeView = new JScrollPane(tree);
    JSplitPane splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
    splitPane.setLeftComponent(treeView);
    splitPane.setRightComponent(tabbedPane);
    Dimension minimumSize = new Dimension(100, 50);
    tabbedPane.setMinimumSize(minimumSize);
    treeView.setMinimumSize(minimumSize);
    splitPane.setDividerLocation(100); //XXX: ignored in some releases
    //of Swing. bug 4101306
    //workaround for bug 4101306:
    //treeView.setPreferredSize(new Dimension(100, 100));
    splitPane.setPreferredSize(new Dimension(500, 300));
    //Add the split pane to this panel.
    add(splitPane);
    menu.setOpaque(true); //content panes must be opaque
    frame.setContentPane(menu);
    //Display the window.
    frame.pack();
    frame.setVisible(true);
    public static void main(String[] args) {
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    This is it guys! The code is not hard, just long and I need to deliver this project and I just dunno what to do to it to make it work :(. I appreciate any help I can get :p.
    THANK YOU for your time!
    Cristina

    hey friend,
    i don't have solution to your problem but i am facing the same problem in my project, i need to fetch filenames from folder and show it in a tree view. if you have any solution then please refer me with code..!1
    thanx in advance..

  • Tree view and / or outline

    Good Afternoon,
    Is there a way to show a treeview and / or outline view in javaFX? I would like to avoid swing if at all possible. Thank you.

    Hi. Take a look at http://docs.oracle.com/javafx/2.0/ui_controls/tree-view.htm#BABDEADA

  • Tree view of document flow

    Hi Experts,
    in former CRM releases, the document flow could be displayed in a tree view (similar to document flow in ecc).
    As far as I know, in CRM 7.0 the assignment block document flow only contains the predeccessor and successor, but it is not possible to display maybe the initial contact which led to actual billing document.
    Does anybody knows if this feature could be activated through customizing?
    Kind regards
    Hannes

    Hi Hannes,
    You can change the layout behavior of output list of DocFlow in the BSP coding.
      <chtmlb:configTable id                    = "Table"
    Just change this line to :
        <chtmlb:configTable id                    = "ItemTree"
    This will make your output list look like in Tree View Mode rather than Table View mode.
    You can also go to the particular document hyperlink and look at the parties involved Assignment Block which can give you the information about the creator of original document.
    I hope this helps.
    Thanks
    Vishal

  • How to blick tree view few specific nodes

    here i got a code which show how to blink tree view node but i am confuse that how to blink few node.
    Answered by:
    Avatar of Tamer Oz
    20,185
    Points
    Top 0.5
    Tamer Oz
    Partner Joined Sep 2009
    2
    8
    17
    Tamer Oz's threads
    Show activity
    Treeview control - How to make a node blink?
    Visual Studio Languages
    .NET Framework
    >
    Visual C#
    Question
    Alert me
    Question
    Vote as helpful
    0
    Vote
    Hi,
    Is there a "elegant" way to make blink a treeview node?
    I am thinking to use a timer with the collection of nodes that I want to make the blink effect, and update the icon ...
    Friday, November 06, 2009 6:19 PM
    Reply
    |
    Quote
    |
    Report as abuse
    Avatar of Kikeman
    Kikeman
    R. BOSCH
    105 Points
    All replies
    Question
    Vote as helpful
    0
    Vote
    Hi,
    You can develop your custom control for this purpose. The logic you mentioned was correct. Here is a sample control that I developed by the logic you mentioned.
    public class BlinkingTreeView : TreeView
    private Timer t = new Timer();
    private List<TreeNode> blinkingNodes = new List<TreeNode>();
    public BlinkingTreeView()
    t.Interval = 1000;
    t.Tick += new EventHandler(t_Tick);
    bool isNodeBlinked = false;
    void t_Tick(object sender, EventArgs e)
    foreach (TreeNode tn in blinkingNodes)
    if (isNodeBlinked)
    //update Icon
    tn.Text = tn.Text.Substring(0, tn.Text.Length - 1);//to test
    isNodeBlinked = false;
    else
    //update Icon
    tn.Text = tn.Text + "*";//to test
    isNodeBlinked = true;
    public void AddBlinkNode(TreeNode n)
    blinkingNodes.Add(n);
    public void RemoveBlinkNode(TreeNode n)
    blinkingNodes.Remove(n);
    public void ClearBlinkNodes()
    blinkingNodes.Clear();
    public List<TreeNode> BlinkingNodes
    get { return blinkingNodes; }
    public int BlinkInterval
    get { return t.Interval; }
    set { t.Interval = value; }
    public void StartBlinking()
    isNodeBlinked = false;
    t.Enabled = true;
    public void StopBlinking()
    t.Enabled = false;
    just show me how to use BlinkingTreeView class. i will have tree view which will have few node and few nodes may have few child nodes. now how to achieve by this class BlinkingTreeView and show me how to blink few specific node not all. thanks

    better to come with code. first populate tree view with some dummy node this way
    Root
           Child1
                    Child1-sub1
                    Child1-sub2
           Child2
                    Child2-sub1
                    Child2-sub2
    now blink Child1-sub2 & Child2-sub1. please come with code. thanks

  • A tree-view in HTML page with nodes generated with java script in run time is not visible in the UI Automation Tree. Need Help

    I have a HTML page with an IFrame. Inside the Iframe there is a table with a tree view
    <iframe>
    <table>
    <tr>
    <td>
    <treeview id="tv1"></treeview>
    </td>
    </tr>
    </table>
    </iframe>
    In UIA, i am able to traverse till the tree view but not able to see it.
    I have used the TreeWalker.RawViewWalker Field to traverse the node from the desktop Automation.RootElement. 
    I tried to use AutomationElement.FromPoint method to check whether i am able to get that element. Fortunately i was able to get the automation element. 
    i tried to get the path to root element from the node element using the TreeWalker.RawViewWalker. I was able to get the parent path to the root element.
    But trying the reverse way like navigating from root element to tree node, was not getting the element for me. 
    Please help me with suggestions or inputs to resolve this issue. 

    Thanks Bernard,
    It works fine with JInitiator but not working with
    the JPI. For JPI what settings I need to do ??hi TKARIM and Bernard, i am having similar problem even with the Bernard's recommended setup. could you post the webutiljini.htm (i presume you are using config=test) ?
    i am actually using jinitiator 1.3.1.28 with Oracle HTTP Server of OAS 10gR2) calling Forms Server 6i (f60cgi). After setting up according to Bernard's recommended setup steps, the java console showed that it loaded the icon jar file when it could not read the form, but it skipped the loading of the icon jar file once it read and started the form. How do we specify in the form to pick up the icon from the jar file instead from a directory ? Or do we need to specify ? Any ideas ?
    Thx and Regards
    dkklau

  • How to populate list in tree view  dynamically

    Hi,
    I am new to  Indesign Plugin creation.
    I want to create list in tree view dynamically.
    I tried wlistboxcomposite sdk sample in indesign cs4.
    I have some doubts in this.
    1. Can i write my own method in  WLBCmpTreeViewAdapter class because it's implements ListTreeViewAdapter
    If it's possible how can i call this method.
    2. In this example they populating static string in constructor like this
    WLBCmpTreeViewAdapter::WLBCmpTreeViewAdapter(IPMUnknown* boss):ListTreeViewAdapter(boss){
    K2Vector<PMString> lists;
    for (int32 i = 0; i< 12; i++){PMString name(kWLBCmpItemBaseKey);name.AppendNumber(i+1);name.Translate();lists.push_back(name);}
    InterfacePtr<IStringListData> iListData(this, IID_ISTRINGLISTDATA);}
    and this list is populating on loading time but my requirement is i have one button "get list" after clicking this button i have to populate the list, how can
    i achieve this.
    Pls do needful.
    Thanks
    Arun

    The TreeViewAdaptor is responsible for mapping your custom data to the tree view itself.  I almost always start by making it return some fixed number of objects with names "item 1" etc. That way you get the tree view working first.
    Then, after you get it laid out and displaying properly, you can worry about using real data.  At that point, you have your adaptor return the actual number of items in your list and each individual item.  Then you can populate your list when you push your button and then invalidate the IControlView of the tree view widget to cause it to redraw.  At that point your adaptor will get called and your data should appear.
    Jon
    "Expert for hire"

  • Build XML for Custom Nested Accordian (like Tree View Structure) for SharePoint List Data

    Expected output in Xml:
    <?xml version="1.0" encoding="utf-8" ?>
    - <TopRoot>
    - <Root id="1" Name="Department">
    - <Type id="2" Name="IT">
    - <SubType id="3" Name="Technology">
      <SubSubType id="4" Name="Sharepoint" />
      <SubSubType id="5" Name="ASP.NET" />
      <SubSubType id="6" Name="HTML 5" />
      </SubType>
      </Type>
    </Root>
    </TopRoot>
    List Details:
    list details for storing category / sub category data and code to build tree structure for the same.
    1.Create Custom List named “CategoryDetails”:
    2.Create Column “Category Name” of type single line of text. Make it as required field and check Yes for Enforce Unique values.
    3.Create column “Parent Category” of type lookup. under Additional Column Settings.
    Get information dropdown, select “CategoryDetails”.
    4.Choice column ["SRTypeName"] 1.Root,2.SRTYPE,3.SubSRTYPE, 4.SUBSUBSRTYPE
    In this column dropdown, select “Category Name”:  
    Referance:
    http://www.codeproject.com/Tips/627580/Build-Tree-View-Structure-for-SharePoint-List-Data    -fine but don't want tree view just generate xml string
    i just follwed above link it work perferfectly fine for building tree view but i don't want server control.
    Expected Result:
    My ultimate goal is to generate xml string like above format without building tree view.
    I want to generate xml using web service and using xml i could convert into nested Tree View Accordian in html.
    I developed some code but its not working to generate xml /string.
    My modified Code:
    public const string DYNAMIC_CAML_QUERY =
            "<Where><IsNull><FieldRef Name='{0}' /></IsNull></Where>";
            public const string DYNAMIC_CAML_QUERY_GET_CHILD_NODE =
            "<Where><Eq><FieldRef Name='{0}' /><Value Type='LookupMulti'>{1}</Value></Eq></Where>";
            protected void Page_Load(object sender, EventArgs e)
                if (!Page.IsPostBack)
                 string TreeViewStr= BuildTree();
                 Literal1.Text = TreeViewStr;
            StringBuilder sbRoot= new StringBuilder();
            protected string BuildTree()
                SPList TasksList;
                SPQuery objSPQuery;
                StringBuilder Query = new StringBuilder();
                SPListItemCollection objItems;
                string DisplayColumn = string.Empty;
                string Title = string.Empty;
                string[] valueArray = null;
                try
                    using (SPSite site = new SPSite(SPContext.Current.Web.Url))
                        using (SPWeb web = site.OpenWeb())
                            TasksList = SPContext.Current.Web.Lists["Service"];
                            if (TasksList != null)
                                objSPQuery = new SPQuery();
                                Query.Append(String.Format(DYNAMIC_CAML_QUERY, "Parent_x0020_Service_x0020_Id"));
                                objSPQuery.Query = Query.ToString();
                                objItems = TasksList.GetItems(objSPQuery);
                                if (objItems != null && objItems.Count > 0)
                                    foreach (SPListItem objItem in objItems)
                                        DisplayColumn = Convert.ToString(objItem["Title"]);
                                        Title = Convert.ToString(objItem["Title"]);
                                        int rootId=objItem["ID"].ToString();
                                        sbRoot.Append("<Root id="+rootId+"
    Name="+Title+">");
                                        string SRAndSUBSRTpe = CreateTree(Title, valueArray,
    null, DisplayColumn, objItem["ID"].ToString());
                                        sbRoot.Append(SRAndSUBSRTpe);
                                        SRType.Clear();//make SRType Empty
                                        strhtml.Clear();
                                    SRType.Append("</Root>");
                catch (Exception ex)
                    throw ex;
                return SRType.ToString();
             StringBuilder strhtml = new StringBuilder();
            private string CreateTree(string RootNode, string[] valueArray,
          List<SPListItem> objNodeCollection, string DisplayValue, string KeyValue)
                try
                    strhtml.Appends(GetSRType(KeyValue, valueArray, objNodeCollection);
                catch (Exception ex)
                    throw ex;
                return strhtml;
            StringBuilder SRType = new StringBuilder();
            private string GetSRType(string RootNode,
            string[] valueArray, List<SPListItem> objListItemColn)
                SPQuery objSPQuery;
                SPListItemCollection objItems = null;
                List<SPListItem> objNodeListItems = new List<SPListItem>();
                objSPQuery = new SPQuery();
                string objNodeTitle = string.Empty;
                string objLookupColumn = string.Empty;
                StringBuilder Query = new StringBuilder();
                SPList objTaskList;
                SPField spField;
                string objKeyColumn;
                string SrTypeCategory;
                try
                    objTaskList = SPContext.Current.Web.Lists["Service"];
                    objLookupColumn = "Parent_x0020_Service_x0020_Id";//objTreeViewControlField.ParentLookup;
                    Query.Append(String.Format
                    (DYNAMIC_CAML_QUERY_GET_CHILD_NODE, objLookupColumn, RootNode));
                    objSPQuery.Query = Query.ToString();
                    objItems = objTaskList.GetItems(objSPQuery);
                    foreach (SPListItem objItem in objItems)
                        objNodeListItems.Add(objItem);
                    if (objNodeListItems != null && objNodeListItems.Count > 0)
                        foreach (SPListItem objItem in objNodeListItems)
                            RootNode = Convert.ToString(objItem["Title"]);
                            objKeyColumn = Convert.ToString(objItem["ID"]);
                            objNodeTitle = Convert.ToString(objItem["Title"]);
                            SrTypeCategory= Convert.ToString(objItem["SRTypeName"]);
                           if(SrTypeCategory =="SRtYpe")
                              SRType.Append("<Type  id="+objKeyColumn+" Name="+RootNode+ ">");
                             if (!String.IsNullOrEmpty(objNodeTitle))
                              SRType.Append(GetSRType(objKeyColumn, valueArray, objListItemColn));
                          if(SrTypeCategory =="SRSubTYpe")
                              SRType.Append("<SRSubType  id="+objKeyColumn+" Name="+RootNode+
    ">");  
                             if (!String.IsNullOrEmpty(objNodeTitle))
                              SRType.Append(GetSRType(objKeyColumn, valueArray, objListItemColn));
                          if(SrTypeCategory =="SubSubTYpe")
                              SRType.Append("<SubSubType  id="+objKeyColumn+" Name="+RootNode +"
    ></SubSubType");  
                        SRType.Append("</SubType>");
                        SRType.Append("</Type>");
                catch (Exception ex)
                    throw ex;
                return SRType.ToString();
                // Call method again (recursion) to get the child items

    Hi,
    According to your post, my understanding is that you want to custom action for context menu in "Site Content and Structure" in SharePoint 2010.
    In "SiteManager.aspx", SharePoint use MenuItemTemplate class which represent a control that creates an item in a drop-down menu.
    For example, to create or delete the ECB menu for a list item in
    "Site Content and Structure", we can follow the steps below:
    To add the “My Like” menu, we can add the code below:      
    <SharePoint:MenuItemTemplate
    UseShortId=false
    id="OLListItemLike"
    runat="server"
    Text="My Like"
    ImageUrl="/_layouts/images/DelItem.gif"
    ClientOnClickNavigateUrl="https://www.google.com.hk/"
    />
    To remove the “Delete” menu, we can comment the code below:
    <SharePoint:MenuItemTemplate
    UseShortId=false
    id="OLListItemDelete"
    runat="server"
    Text="<%$Resources:cms,SmtDelete%>"
    ImageUrl="/_layouts/images/DelItem.gif"
    ClientOnClickScript="%SmtObjectDeleteScript%"
    />            
    The result is as below:
    More information:
    MenuItemTemplate Class (Microsoft.SharePoint.WebControls)
    MenuItemTemplate.ClientOnClickScript property (Microsoft.SharePoint.WebControls)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Display data as a tree view on IE5

    I want to display data which is parsered by .xsql and use .xsl transfrom to HTML as a tree view(using javascript).
    Is there any sample or suggestion will eb grateful.
    Regards,
    Kelly

    Thanks for the backup :-)
    A new version of the Tree Tag will be out some time this summer, by the way. It features:
    1) The possibility to attach an object to a tree node (getObject(), setObject(...)).
    This means you can display more information in the tree than just what is available
    on the tree node itself. The information in this attached object can also be displayed.
    This attached object can for instance be rendered by Struts's <bean:write ...> tags
    2) Client side event listeners.
    A new tag will be added that will only evaluate it's body when a node is expanded, collapsed,
    selected or unselected. This way you can have a small bit of javascript sent along with the tree html to the browser, when a node is expanded/collapsed or selected/unselected, that for instance reloads the page in another frame in the browser
    3) The <tree:tree...> tag will be able to detect selected/unselected nodes by itself, if the select request is sent to the page containing the <tree:tree tag>. In the current version only expands/collapses are detected automatically. This new feature is implemented to support the client side event listeners.
    4) Someone asked for no-arg contructors of the TreeNode for use with reflection. They will be added to.
    A larger, more detailed manual will probably also be available for a small fee, in addition to the free basic user guide and the free web app. example.
    Look out for it ;-)
    Jakob Jenkov
    http://www.jenkov.com

  • SharePoint 2013---How to convert current left Navigation into tree view

    Hi All,
    I want to convert current left navigation into tree view in SharePoint 2013. When we click on Modify Navigation and set headers and links; I need that should be convert into tree view. All headers should be expandable to thier links.
    I just want tree view on navigation headers and links. not for all site and subsites which we can enabled from site settings --> Modify All Site settings --> Tree view
    Please help me Master Page editing on Navigation Generation.. Thanks in advance!
    Regards,
    Anna

    Hi Anna,
    If you want to replace the Quick Launch part with the custom treeview web part in master page, you can comment out or remove the quick launch code block "<!--SPM:<SharePoint:SPNavigationManager id="QuickLaunchNavigationManager.....>....<>-->",
    then insert the custom web part snippet code in proper location in seattle master page, then all pages inheriting the seattle master page will have this web part.
    Note, please back up the master page before customizing the original master page for recovery.
    http://msdn.microsoft.com/en-us/library/office/jj862341(v=office.15).aspx
    http://www.sharepointpals.com/post/Add-snippets-in-Page-layout-using-design-manager
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

  • How to displaying "my favorite Links" as a tree view menu

    Gurus,
    I have a KM iView in portal home page, where users keep adding their favourite links from time to time.  Now I want to display all the links as in tree structure say -
    Content Admin
             |--> Page A
             |--> Page B
    System Admin
             | --> Page C
    Kindly help me out in finding a solution.
    regds,
    Sukanta Rudra

    Krishna,
    Thanks for the reply. I was able to create the tree view.  Now I have two requirements related to this.
    1. How to have them as collapsible menu structure, which gets expanded as and when user wants.
    2. Can we customize it as, Whenever a user add as page in favorites, it will ask for to to put in some folder that is there under my favorites links? I belive it requires some programming customization. Could you guide me, for some solution.
    regds,
    Sukanta Rudra

  • Using the Open Catalog Interface (OCI) between SAP-ECC 6.0 and SAP-MDM

    Hello ASUG Community.
    I'm working on an SAP-MDM project where we will configure the OCI interface between SAP-ECC 6.0 and SAP-MDM.  The business requirement will be to punch out to SAP-MDM's catalog from SAP-ECC for expensed items (e.g., no material master record exists in SAP-ECC).
    The data that will be returned to SAP-ECC will be purchase price info, material group, short text, & our global SAP-MDM item number.
    The question I've been trying to design around is "where to store the SAP-MDM item number"?
    I've looked into creating a custom filed on EKPO but now feel that a configured text field will be the best solution from an SAP-ECC point of view (less effort on the SAP-ECC side from a development perspective, no need to regenerate the EKPO table, etc.).
    The question I'd like to pose to ASUG is.... Does anyone have experience or an opinion to offer using this functionality?  It seems that I will have to code in a user exit or BAdi to insure that the SAP-MDM item numbers are returned to the appropriate text field on my POu2019s.  Or can this be done using the standard OCI functionality?
    I found OSS note 1347656 which references BADI "ME_CATALOG_INTERFACE" but I'm not sure if this right path to go down or if this would be the correct place to code non-conforming OCI mapping requiremetns.
    Any insight would be most appreciated.
    Thanks.  Sincerely,
    Rich Wortmann

    I would suggest you create a new field for this as you may require thois going forward for reporting as well. Text fields are difficult to report.
    Sorry not sure about the BADI to use.

Maybe you are looking for