TreeView Menu

Hey Experts,
I have successfully created Point of Sale module in forms 6i
I want to create a treeview menu like below attached snap.
Plz help me to create treeview menu like attach picture.
[IMG]http://i44.tinypic.com/aphfdl.png[/IMG]

This might help Working with trees - Andreas Weiden - About Oracle

Similar Messages

  • Flash TreeView menu and user interaction

    Hi,
    I've developed in Javascript a TreeView menu.
    I would like to do the same in Flash/AS but i do not know
    where to start :-(
    before to start i would like to know :
    - if it is possible to make this TreeView menu dynamic ?
    i mean by that that web developer could use this TreeView
    menu by adding
    several nodes and children to this menu like :
    MyFlashMenu.addChild("new node", "parent node", imageNode);
    but i do not know if from web page it is possible to pass
    arguments to
    flash.
    thanks a lot,
    A.

    Sorry, I meant GhostWire, not GhostWriters...
    http://ghostwire.com
    -ML
    "Marc Lee" <[email protected]> wrote in message
    news:fju6kl$97j$[email protected]..
    > I've been using a 3rd-party treeview from GhostWriters.
    That tv would
    allow
    > dynamic updates. We're doing it. I'm not familiar with
    the V2 component
    > treeview (a built-in for Flash 8 and later), but I would
    imagine that
    would
    > allow dynamic updates as well.
    >
    > There is an API to the Flash player that is embedded in
    your webpage that
    > should allow you to pass commands to your tree. I don't
    have the
    > documentation right in front of me but you should be
    able to find it quite
    > easily through googling.
    >
    > Contact me offline if you'd like to discuss more.
    >
    > HTH,
    >
    > Marc Lee
    >
    > "R.A.F." <[email protected]> wrote in message
    > news:fjrrvr$j3s$[email protected]..
    > > Hi,
    > >
    > > I've developed in Javascript a TreeView menu.
    > > I would like to do the same in Flash/AS but i do
    not know where to start
    > :-(
    > >
    > > before to start i would like to know :
    > > - if it is possible to make this TreeView menu
    dynamic ?
    > >
    > > i mean by that that web developer could use this
    TreeView menu by adding
    > > several nodes and children to this menu like :
    > >
    > > MyFlashMenu.addChild("new node", "parent node",
    imageNode);
    > >
    > > but i do not know if from web page it is possible
    to pass arguments to
    > > flash.
    > >
    > > thanks a lot,
    > >
    > > A.
    >
    >

  • Using TreeViewer and creating a pop-up menu?

    I am using Eclipse Ganymede(3.1?) to write my program. This project has multiple parts(most issues/progress can be tracked back in java-forums.org) and I am trying to get the last bit of my GUI finished. I have a TreeViewer that displays on top of a composite display(not a component) which is why I haven't been able to find a solution that works for me. My tree is interactive(double click nodes to expand, deepest nodes open up an editor view, auto refresh new nodes/deletes etc) and I'm trying to make a pop-up menu appear on right click that would give all the options the File menu gives. I haven't been able to find a work around on how to attach the menu since my TreeViewer is based on a composite instead of a component there is no where to attach the menu. I have been working on this one issue for a week with no progress and am at the point where I'm tempted to rewrite my entire project using JPanel and JPanes and Tree but I REALLY don't want to have to do this. This is my createPartControl method with the relevent sections.
    public void createPartControl(final Composite parent) {
    //          final Tree tree = new Tree(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
              treeViewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
    //          treeViewer = new TreeViewer(tree);
              treeViewer.setContentProvider(new ViewContentProvider());
              treeViewer.setLabelProvider(new ViewLabelProvider());
              treeViewer.setInput(createDummyModel());
    //Double click listener
              treeViewer.addOpenListener(new IOpenListener() {
                   public void open(final OpenEvent event) {
                        //double click expands/shrinks nodes, opens up target editors
    //Selection listener
              treeViewer.addSelectionChangedListener(new ISelectionChangedListener() {
                      public void selectionChanged(SelectionChangedEvent event) {
                           final IActionBars bars = getViewSite().getActionBars();
                           selObj = ((IStructuredSelection) event.getSelection()).getFirstElement();                      
                                      //...outputs selection to status bar
    //Mouse listener
              treeViewer.getTree().addMouseListener(new MouseAdapter(){
                 public void mouseUp(MouseEvent event){
                      if(event.button==3){         //right click
                           System.out.println(event.getSource());        //Tree{ }
                           System.out.println(event.display);             //org.eclipse.swt.widgets.Display@1e328e0
                           if(selObj instanceof Server){
                                System.out.println(treeViewer.getControl().toString());          //Same as event.getSource()
                                               /*code to have menu appear goes here*/
                                System.out.println("Server Menu");
                                //Delete Server
                                //Edit Server
                                //View Properties
         }Does anybody know a way I can attach a popup menu to the node I click on or if it's possible(and if so how would I go about) attaching it to the display beneath the TreeViewer and somehow setting the focus or making the popup a heavy component so it would appear on top?
    P.S there's alot more superfluous code in the listeners but they don't pertain to this so I removed them.

    Can anyone confirm that what I'm trying to do is not possible? I found this link which states an SWT bug of the header not being a control so it become unattachable. http://dev.eclipse.org/newslists/news.eclipse.platform.swt/msg38040.html
    Any truth in this and if so where can I track progress of the bug?

  • [CS3] TreeView Node Right click Contextual Menu

    Fellow Developers,
    Following is the code that I wrote in class FooPnlNodeEH : public CEventHandler to add a contextual menu. It doesnt work. Anybody has an insight what I might be doing wrong?
    bool16 FooNodeEH::RButtonDn(IEvent* e)
       do
             InterfacePtr<IApplication> theApp(gSession->QueryApplication());
             InterfacePtr<IActionManager> actionMgr(theApp->QueryActionManager());
             InterfacePtr<IMenuManager> menuMgr(actionMgr,UseDefaultIID());
             // get the coordinates based on the mouse location
             GSysPoint location = e->GlobalWhere();
             menuMgr->HandlePopupMenu(
                PMString("Do something", PMString::kEncodingASCII, PMString::kNoTranslate),
                location, location, kFalse, this);
          } while (kFalse);
       return kTrue;
    Thanks
    Jack

    This UI change is really stupid and useless. People got used to some specified menu items order. Changing this order could only annoy and anger.
    Also the reload button has been relocated. This is another example of stupid Firefox 4 UI change. The good news is that it could easily be relocated to its original place.
    It looks like the Firefox developers are suffering from idleness and boredom.
    CHANGE IT BACK ASAP!!!

  • How can i loop over treeview selected nodes and then to delete each node if it's a directory or a file ?

    I have this code:
    if (s == "file")
    file = false;
    for (int i = 0; i < treeViewMS1.SelectedNodes.Count; i++)
    DeleteFile(treeViewMS1.SelectedNode.FullPath, file);
    I know it's a file and it is working if it's a single file.
    On the treeView i click on a file right click in the menu i select delete and it's doing the line:
    DeleteFile(treeViewMS1.SelectedNode.FullPath, file);
    And it's working no problems.
    But i want to do that if i selected some files togeather multiple selection then to delete each file.
    So i added the FOR loop but then how do i delete from the SelectedNodes each node ?
    The treeView SelectedNodes dosen't have FullPath like SelectedNode also doing SelectedNodes[i] dosen't have the FullPath property.
    Same as for if i want to delete a single directory or multiple selected directories:
    This is the continue of the code if it"s not a "file" (else) it's null i know it's a directory and doing:
    else
    file = true;
    RemoveDirectoriesRecursive(treeViewMS1.SelectedNode, treeViewMS1.SelectedNode.FullPath);
    Also here i'm using SelectedNode but if i marked multiple directories then i how do i loop over the SelectedNodes and send each SelectedNode to the RemoveDirectoriesRecrusive method ?
    My problem is how to loop over SelectedNode(multiple selection of files/directories) and send each selected file/directory to it's method like i'm doing now ?

    foreach (TreeNode n in treeViewMS1.SelectedNodes)
    // Remove everything associated with TreeNode n here
    I don't think it's any harder than that, is it?
    If you can multi-select both an item and one of its descendents in the tree, then you'll have the situation that you may have deleted the parent folder and all of its children by the time you get around to deleting the descendent.  But that's not such
    a big deal.  A file can get deleted externally to your program too - so you'll just have to deal with it having been deleted already (or externally) when you get around to deleting it yourself.

  • Display Pop-Up Menu Programmatically

    Hellow
    Can Anybody tell me how to display popup menu programmatically??
    For Ex. If I used Left Click instead of
    Right-Click, I wanna have this menu displayed.
    Regards,
    Tariq

    > Sorry, this is post transferred from foundation forum.
    > I hope someone could help me on this issue. Just to add on, I have a
    > viewer (inherited from TreeViewer),
    > and upon right mouse click, it will display a pop-up menu.
    > I would like to programmatically set the options on this pop-up
    > menu.
    I can't tell if you're trying to change the contents of the menu when it
    pops up or if you're just trying to reuse the implementation of a menu
    action from the timer.
    A standard method for configuring the contents of a menu dynamically is to
    setRemoveAllWhenShown(true) on your MenuManager and then add an
    IMenuListener to the MenuManager that adds all your menu items every time
    the menu is shown.
    The tutorial at
    http://www.eclipse.org/articles/viewArticle/ViewArticle2.htm l covers this.
    Jeff

  • Tree type expandable collapsible menu in JSP.

    Hi,
    I am looking for an expandable collapsible menu which can be integrated into a jsp as a tile. I googled it but only came up with handful and even those are not free to use.
    Regards,

    Try, Yahoo! UI Library: TreeView
    http://developer.yahoo.com/yui/treeview/

  • Hierarchical treeview structure in Reports

    Hi,
    I am working with an MNC, can anybody help me out by valuable guidelines in doing an hierarchical treeview structure in Reports.
    Your early response would b helpful to me.
    Bye
    Pavan

    HI
    see this site you wil find lots of examples
    http://www.sapdev.co.uk/reporting/alv/alvtree.htm
    The ALV tree report produces uses OBJECT METHOD functionality in-order to produce a
    tree structured ALV output.
    The creation of an ALVtree report first requires the creation of a simple program to build the ALV
    details such as the fieldcatalog and to call a screen which will be used to display the ALVTree.
    The screen should be created with a 'custom control' where you wish the ALVtree report to appear.
    For the following example it will have the name 'SCREEN_CONTAINER'.
    <b>Creation of Main Program code, Data declaration and screen call</b>
    *& Report  ZDEMO_ALVTREE                                               *
    *& Example of a simple ALV Grid Report                                 *
    *& The basic requirement for this demo is to display a number of       *
    *& fields from the EKPO and EKKO table in a tree structure.            *
                             Amendment History                           *
    REPORT  zdemo_alvgrid                 .
    *Data Declaration
    TABLES:     ekko.
    TYPE-POOLS: slis.                                 "ALV Declarations
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
    END OF t_ekko.
    DATA: it_ekko     TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          it_ekpo     TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          it_emptytab TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko     TYPE t_ekko,
          wa_ekpo     TYPE t_ekko.
    DATA: ok_code like sy-ucomm,           "OK-Code
          save_ok like sy-ucomm.
    *ALV data declarations
    DATA: fieldcatalog  TYPE lvc_t_fcat WITH HEADER LINE.
    DATA: gd_fieldcat   TYPE lvc_t_fcat,
          gd_tab_group  TYPE slis_t_sp_group_alv,
          gd_layout     TYPE slis_layout_alv.
    *ALVtree data declarations
    CLASS cl_gui_column_tree DEFINITION LOAD.
    CLASS cl_gui_cfw DEFINITION LOAD.
    DATA: gd_tree             TYPE REF TO cl_gui_alv_tree,
          gd_hierarchy_header TYPE treev_hhdr,
          gd_report_title     TYPE slis_t_listheader,
          gd_logo             TYPE sdydo_value,
          gd_variant          TYPE disvariant.
    *Create container for alv-tree
    DATA: l_tree_container_name(30) TYPE c,
          l_custom_container        TYPE REF TO cl_gui_custom_container.
    *Includes
    *INCLUDE ZDEMO_ALVTREEO01. "Screen PBO Modules
    *INCLUDE ZDEMO_ALVTREEI01. "Screen PAI Modules
    *INCLUDE ZDEMO_ALVTREEF01. "ABAP Subroutines(FORMS)
    *Start-of-selection.
    START-OF-SELECTION.
    ALVtree setup data
        PERFORM data_retrieval.
        PERFORM build_fieldcatalog.
        PERFORM build_layout.
        PERFORM build_hierarchy_header CHANGING gd_hierarchy_header.
        PERFORM build_report_title USING gd_report_title gd_logo.
        PERFORM build_variant.
    Display ALVtree report
      call screen 100.
    *&      Form  DATA_RETRIEVAL
          Retrieve data into Internal tables
    FORM data_retrieval.
      SELECT ebeln
       UP TO 10 ROWS
        FROM ekko
        INTO corresponding fields of TABLE it_ekko.
      loop at it_ekko into wa_ekko.
        SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
          FROM ekpo
          appending TABLE it_ekpo
         where ebeln eq wa_ekko-ebeln.
      endloop.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    FORM build_fieldcatalog.
    Please not there are a number of differences between the structure of
    ALVtree fieldcatalogs and ALVgrid fieldcatalogs.
    For example the field seltext_m is replace by scrtext_m in ALVtree.
      fieldcatalog-fieldname   = 'EBELN'.           "Field name in itab
      fieldcatalog-scrtext_m   = 'Purchase Order'.  "Column text
      fieldcatalog-col_pos     = 0.                 "Column position
      fieldcatalog-outputlen   = 15.                "Column width
      fieldcatalog-emphasize   = 'X'.               "Emphasize  (X or SPACE)
      fieldcatalog-key         = 'X'.               "Key Field? (X or SPACE)
    fieldcatalog-do_sum      = 'X'.              "Sum Column?
    fieldcatalog-no_zero     = 'X'.              "Don't display if zero
      APPEND fieldcatalog TO gd_fieldcat.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'EBELP'.
      fieldcatalog-scrtext_m   = 'PO Iten'.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-col_pos     = 1.
      APPEND fieldcatalog TO gd_fieldcat..
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'STATU'.
      fieldcatalog-scrtext_m   = 'Status'.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-col_pos     = 2.
      APPEND fieldcatalog TO gd_fieldcat..
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'AEDAT'.
      fieldcatalog-scrtext_m   = 'Item change date'.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-col_pos     = 3.
      APPEND fieldcatalog TO gd_fieldcat..
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'MATNR'.
      fieldcatalog-scrtext_m   = 'Material Number'.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-col_pos     = 4.
      APPEND fieldcatalog TO gd_fieldcat..
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'MENGE'.
      fieldcatalog-scrtext_m   = 'PO quantity'.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-col_pos     = 5.
      APPEND fieldcatalog TO gd_fieldcat..
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'MEINS'.
      fieldcatalog-scrtext_m   = 'Order Unit'.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-col_pos     = 6.
      APPEND fieldcatalog TO gd_fieldcat..
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'NETPR'.
      fieldcatalog-scrtext_m   = 'Net Price'.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-col_pos     = 7.
      fieldcatalog-datatype     = 'CURR'.
      APPEND fieldcatalog TO gd_fieldcat..
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname   = 'PEINH'.
      fieldcatalog-scrtext_m   = 'Price Unit'.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-col_pos     = 8.
      APPEND fieldcatalog TO gd_fieldcat..
      CLEAR  fieldcatalog.
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    FORM build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
      gd_layout-totals_text       = 'Totals'(201).
    gd_layout-totals_only        = 'X'.
    gd_layout-f2code            = 'DISP'.  "Sets fcode for when double
                                            "click(press f2)
    gd_layout-zebra             = 'X'.
    gd_layout-group_change_edit = 'X'.
    gd_layout-header_text       = 'helllllo'.
    ENDFORM.                    " BUILD_LAYOUT
    *&      Form  build_hierarchy_header
          build hierarchy-header-information
         -->P_L_HIERARCHY_HEADER  structure for hierarchy-header
    FORM build_hierarchy_header CHANGING
                                   p_hierarchy_header TYPE treev_hhdr.
      p_hierarchy_header-heading = 'Hierarchy Header'(013).
      p_hierarchy_header-tooltip = 'This is the Hierarchy Header !'(014).
      p_hierarchy_header-width = 30.
      p_hierarchy_header-width_pix = ''.
    ENDFORM.                               " build_hierarchy_header
    *&      Form  BUILD_REPORT_TITLE
          Build table for ALVtree header
    <->  p1        Header details
    <->  p2        Logo value
    FORM build_report_title CHANGING
          pt_report_title  TYPE slis_t_listheader
          pa_logo             TYPE sdydo_value.
      DATA: ls_line TYPE slis_listheader,
            ld_date(10) TYPE c.
    List Heading Line(TYPE H)
      CLEAR ls_line.
      ls_line-typ  = 'H'.
    ls_line-key     "Not Used For This Type(H)
      ls_line-info = 'PO ALVTree Display'.
      APPEND ls_line TO pt_report_title.
    Status Line(TYPE S)
      ld_date(2) = sy-datum+6(2).
      ld_date+2(1) = '/'.
      ld_date3(2) = sy-datum4(2).
      ld_date+5(1) = '/'.
      ld_date+6(4) = sy-datum(4).
      ls_line-typ  = 'S'.
      ls_line-key  = 'Date'.
      ls_line-info = ld_date.
      APPEND ls_line TO pt_report_title.
    Action Line(TYPE A)
      CLEAR ls_line.
      ls_line-typ  = 'A'.
      CONCATENATE 'Report: ' sy-repid INTO ls_line-info  SEPARATED BY space.
      APPEND ls_line TO pt_report_title.
    ENDFORM.
    *&      Form  BUILD_VARIANT
          Build variant
    form build_variant.
    Set repid for storing variants
      gd_variant-report = sy-repid.
    endform.                    " BUILD_VARIANT
    <b>Creation of 'INCLUDES' to store ALVtree code</b>
    Three includes need to be created in-order to store the ABAP code required for the ALVtree report.
    Typically these will be one for the PBO modules, one for PAI modules and one for the subroutines(FORMs):
       *Includes
        include zdemo_alvtreeo01. "Screen PBO Modules
        include zdemo_alvtreei01. "Screen PAI Modules
        include zdemo_alvtreef01. "ABAP Subroutines(FORMS)
    If you are using the code provide within the ALVtree section of this web site simply create the includes by
    un-commenting the 'Includes' section within the code(see below) and double clicking on the name
    i.e. 'zdemo_alvtreeo01'. Obviously these can be renamed.
    *Includes
    *include zdemo_alvtreeo01. "Screen PBO Modules
    *include zdemo_alvtreei01. "Screen PAI Modules
    *include zdemo_alvtreef01. "ABAP Subroutines(FORMS)
    *Start-of-selection.
    start-of-selection.
    <b>Create Screen along with PBO and PAI modules for screen</b>
    The next step is to create screen 100, to do this double click on the '100' within the call screen
    command(Call screen 100.). Enter short description and select 'Normal' as screen type.
    To create the PBO and PAI modules insert that code below into the screen's flow logic. Much of this code
    should automatically have been inserted during screen creation but with the module lines commented out.
    Simple remove the comments and double click the module name(STATUS_0100 and
    USER_COMMAND_0100) in-order to create them, this will display the perform/module creation screen.
    The MODULES are usually created within two includes one ending in 'O01' for PBO modules and
    one ending in 'I01' for PAI modules(See code below).
    Please note in order for these includes to be displayed on the creation screen they need to have be
    created along with the following lines of code added to the main prog(see previous step):
                                     INCLUDE ZDEMO_ALVTREEO01. "Screen PBO Modules
                                     INCLUDE ZDEMO_ALVTREEI01. "Screen PAI Modules
    Otherwise use the 'New Include' entry and SAP will add the necassary line for you.
    Screen flow logic code
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    ***INCLUDE Z......O01 .
    *&      Module  STATUS_0100  OUTPUT
          PBO Module
    module status_0100 output.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    endmodule.                 " STATUS_0100  OUTPUT
    ***INCLUDE Z......I01 .
    *&      Module  USER_COMMAND_0100  INPUT
          PAI Module
    module user_command_0100 input.
    endmodule.                 " USER_COMMAND_0100  INPUT
    <b>Define OK CODE(SY-UCOMM) variable</b>
    In order to define the OK CODE you must fist declare a variable of type SY-UCOM and then insert this
    variable into the OK code declaration within the element list (see screen shot below). If you have used
    the code contained on the iwebsite the ok code should already have been declared as OK_CODE.
              i.e. OK_CODE like sy-ucom.
    Note: there is also a variable called SAVE_OK, it is good practice to store the returned ok code into
    a work area as soon as you enter the PAI processing.
    <b>Add screen control to PAI module(INCLUDE Z......I01)</b>
    The following code adds simple screen control to the report and whenever the user presses the cancel,
    exit or back icon they will exit from the report. It also processes the ALVtree user interactions within the
    'others' case statement
       INCLUDE Z......I01                                                *
    *&      Module  USER_COMMAND_0100  INPUT
          text
    module user_command_0100 input.
      DATA return TYPE REF TO cl_gui_event.
      save_ok = ok_code.
      case ok_code.
        when 'BACK' or '%EX' or 'RW'.
        Exit program
          leave to screen 0.
      Process ALVtree user actions
        when others.
          call method cl_gui_cfw=>get_current_event_object
                  receiving
                     event_object = return.
          call method cl_gui_cfw=>dispatch.
      endcase.
    endmodule.                 " USER_COMMAND_0100  INPUT
    <b>Create pf-status</b>
    In order to created the pf-status for the screen you need to un-comment '*  SET PF-STATUS 'xxxxxxxx'
    and give it a name.
                   i.e.   SET PF-STATUS 'STATUS1'.
    Step 1
    Now double click on 'STATUS1' in-order  to create the pf-status. Enter short text, select status type as
    'Online status' and click save.
    Step2
    You should now be presented with the status creation screen. Choose 'Adjust template' from the Extras menu
    (4.6 onwards only).
    Step 3
    Now select 'List status' and click the green tick (see below).
    Step 3
    All the basic menu bars/buttons should now have been entered. Now click save then activate. The
    pf-status has now been completed.
    Once you have the main program code in place to call the screen which will display the
    ALVtree, you now need to setup the actual ALVtree and populate it. As this is screen
    based(dialog) the display coding will be performed within the PBO screen module.
    Therefor you need to add the following processes to the PBO(STATUS_0100) module
    of the screen.
    <b>Create Custom control</b>
    Via screen painter insert 'custom control' on to screen and give it the name 'SCREEN_CONTAINER'. This is
    the possition the ALVtree will appear so align appropriately.
    http://www.sapdev.co.uk/reporting/alv/alvtree/alvtree_basic.htm
    see this site you wil find lots of examples
    http://www.sapdev.co.uk/reporting/alv/alvtree.htm
    <b>Reward if usefull</b>

  • Portal Eventing JSP TreeView

    I am trying to refactor a piece of code that was originally designed using HTMLB to create a tree view role menu that invokes an event in another iView.
    My question is, can portal eventing be done with traditional  JavaScript as opposed to using HTMLB? We are not using WebDynPro for this project.
    I would like to use a jsp treeview to re-engineer the existing htmlb tree structure, but wanted to get some feedback on the options...thanks

    Hi Ryan,
    > whether or not the eventing
    > has to be done on the server side
    The eventing between iViews is done by EPCF, and this is, as said, a pure JS framework. Often it might be senseful for the iView which gets "informed" by some other iView about some event with some event data, to use this data and to refresh itself. This depends on the concrete use case.
    Having this said, it is obviously totally independent if you usue EPCF from some portal HTMLB-JSP, a "pure" JSP without HTMLB or a BSP - all of these things end up in HTML with the possibility to include JS - the EPCF calls.
    See http://help.sap.com/saphelp_nw04/helpdata/en/82/04b340be3dff5fe10000000a155106/frameset.htm for further details.
    > Can all of this be done without post backs
    > to the server,
    As said before, the eventing through EPCF works on client side, but in many cases it makes sense to refresh some iView with some data sent by the event.
    Imagine a List-Details iView combination. The user has one iView with a list of products and another iView with the details of one product. By choosing one product in the list iView, this iView could raise an event, which is subscribed by the details iView, for example passing some product-ID. Now it would make sense to refresh the details iView with the ID given. The alternative would be to load all details data and only to show up the chosen details and to switch on the event. Two disadvantages: It's much harder to code and you may have a very long transmission/network time for the inital call of this iView.
    > without using htmlb using JSP not BSP
    See above, it's independent from the HTML-Layer.
    > can you store a result set in a client side object,
    > like a cookie, and if so, how?
    For sure, somehow you can (at least some representation). But here I'm unsure again, in which direction this question aims, if this is really helpful.
    Hope it helps
    Detlev

  • TreeView doesn't appear in console...

    Hi I just installed WLS 6.0b,
    and when I run the console, there is nothing in the left panel of the
    page... which is supposed to be a treeview. I see the page on the right
    though :)
    Does anyone knows why ?
    Thanks
    David

    Hi Johan,
    I posted the first message of this thread, but still can't see the tree
    view in the left frame of the page in the console... it seems from your
    answer that you are able now... what did you do?
    As far as I know, my version of IE 5.5 sp1 is configured to be java enabled
    so now I really don't what's going on?
    Can you tell me what did specifically in your browser settings?
    Thank you
    David
    "Johan Thorselius" <[email protected]> wrote in message
    news:[email protected]..
    >
    Thanks. It's a small problem, but the astonishing and embarrasing thingfor Bea is that they don't make any reply to my questions. The question has
    been posted in this supportchannel for more than 3 weeks now.
    >
    "Joe Hoffman" <jhoffman@precise_nospam.com> wrote:
    I'm not from BEA, however your symptoms could be caused by not having
    JAVA enabled
    in the browser as the tree menu is an applet.
    hope it helps.
    joe
    "Johan Thorselius" <[email protected]> wrote:
    I have exectly the same problem
    as I describe in another thread, but with IE5 on NT 4. Can anyone at
    Bea pls reply to my problem.
    >>>
    Johan Thorselius
    "Sandy Edmiston" <[email protected]> wrote:
    David
    Are you running Netscape under Solaris by any chance?
    If so you need to specify all of the Netscape class jar files in your
    classpath as per the Netscape release
    notes. I suffered this problem and that was the only solution. Istill have a problem with the font in the
    panel being too small to read. However I think that is a Netscapeunder Solaris problem as I visited
    another website which uses applets and it had the same symptoms
    HTH
    Sandy Edmiston
    "David Pare" <[email protected]> wrote:
    Hi I just installed WLS 6.0b,
    and when I run the console, there is nothing in the left panel of
    the
    page... which is supposed to be a treeview. I see the page on theright
    though :)
    Does anyone knows why ?
    Thanks
    David

  • Dynamic Navigation (treeView)

    Hello,
    knows somebody a good tutorial how to build a own Navigation Tree and fit it in the dynamic Navigation area? Or give me some hints?
    I need to generate a TreeView ivew with links to a other iView
    thx for beginners help

    Hi Amit,
             I need to create an iView that displays menu in TreeView  dynamically and when i select any node in a tree, it should navigate to that particular link.
    How i can do this ?
    Yours help will be appreciated.
    Regards,
    Eben
    Message was edited by:
            Eben Metilda

  • Add New Node - Adobe Director Microsoft Treeview Control 6.0 xtra?

    Can some one help me on how to add new node to TreeView Control provided as xtra with Adobe Director. Tried using sprite(1).Nodes.Add but not working. Please assist

    Right, I am accessing the control via Insert  ->Controls -> ActiveX -> Microsoft Treeview. (unable to find any documentation)
    I am actually trying to make a treeview and on selection do some stuff.
    I have tried using CxtraPopup to create the same but when publishing it says unregistered version.
    Can you please suggest any xtra that supports Menu.
    Thanks

  • How to create a "right click menu"?

    I am creating a treeview control i LV. When a user right click in the
    treeview, I want a menu to pop up.
    How do I do that?
    I know that it works in both C++ and VB.
    Regards Richard

    Yorky wrote:
    Hello, sorry for hi-jacking the thread,...
    Yorky,
    Did you realize that the thread you hijacked was over 4 years old??!
    Many things have changed since, for example (as tst pointed out above), LabVIEW 8+ has this feature built-in. What is your LabVIEW version?
    LabVIEW Champion . Do more with less code and in less time .

  • How to create treeview in datawindow for data editing?

    Suppose I have table like:
    mytree(id, parentid, ....)
    It contains tree data with parent-child relationship. I want to maintain this data. There are 2 solutions:
    Use treeview to load data from mytree table.
    Use datawindow to populate data.
    I want to UI can display data like treeview. Is it possible to use datawindow with trewview to allow user to maintain the data(add, delete, update)?
    the treelevel is dynamic, could be any level. not only 2 level tree.
    What's the best solution for this case?

    Personally I would use a TreeView, then either
    right mouse to a custom pop menu with add, change, delete items to a form datawindow in a small (maybe response) window which would retrieve and update to the database.  Or
    use a preview window / area to the right of the treeview (a bit akin to scroll linkage in pfc)
    Treeview items would have the primary key as data...

  • Context menu in SelectionTreeView

    Have worked to this point with savable TreeViews. Due to the multiple kinds of EMF resources I have for a project I now need to use SelectionTreeView instead.
    I see that there are no context menus on the EMF elements visualized in a SelectionTreeView. Is there a way to add the menus?

    On 05/08/2015 19:09, John Conlon wrote:
    > Hi Francesco,
    >
    > Yes, I am familiar with that part of the documentation.
    > I have to this point worked with both the DSL and the non-DSL types of
    > projects and have done a lot of menu customization. I tried to do the
    > same things to customize menus in non-DSL SelectionTreeView and
    > SelectionTreeForm based Parsley projects but could not get any
    > ContextMenus to show.
    > I even tried creating a simple DSL based Parsley project that uses a
    > SelectionTreeView but could not get it to show any ContextMenus either.
    > Here is my Parsley DSL from this project:
    >
    >
    > import
    > com.verticon.parsley.selectionTreeViewTest.SelectionTreeViewTestOnSelectionTreeView
    >
    > import com.verticon.im.Location
    >
    > /* com.verticon.parsley.selectionTreeViewTest Emf Parsley Dsl Module
    > file */
    > module com.verticon.parsley.selectionTreeViewTest {
    >
    > parts {
    > viewpart com.verticon.parsley.selectionTreeViewTest {
    > viewname "SelectionTreeViewTest"
    > viewclass SelectionTreeViewTestOnSelectionTreeView
    > }
    > }
    > menuBuilder{
    > menus{
    > Location-> #[
    > submenu("Edit",#[
    > actionCopy,
    > actionCut,
    > separator,
    > actionPaste
    > ])
    > ]
    > }
    > }
    >
    > }
    >
    Hi John
    Francesco was referring to the section "Contextual Menu" not to the
    "Menu Builder"; the custom menu builder you implemented is fine, but in
    Parsley we automatically set context menus only on viewers inside a
    "saveable view", not the ones inside "on selection views"; this is
    because saveable views act on a resource and are meant to be editable,
    while on selection views are usually used in read-only mode (at least,
    we found this default behavior sensible :)
    If you want the context menu on a viewer (inside any view that is not a
    saveable one), you need to setup it yourself with the Java lines
    documented in the section "Contextual Menu"; you also need to override
    menuAboutToShow; you may want to have a look at
    http://git.eclipse.org/c/emf-parsley/org.eclipse.emf-parsley.git/tree/plugins/org.eclipse.emf.parsley.views.common/src/org/eclipse/emf/parsley/views/AbstractSaveableViewerView.java
    which is how we setup the context menu on saveable views.
    As Francesco said, we're working on making this API much easier to use
    and it should only take fewer lines to have a context menu on a viewer
    (even without menuAboutToShow).
    Please let us know if this fixes your problem.
    cheers
    Lorenzo
    Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
    HOME: http://www.lorenzobettini.it
    Xtext Book:
    http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book

Maybe you are looking for