Dynpro into a Splitter Container

Hello,
i have a screen with a splitter container.
How can i load a dynpro into one of those splitter containers?.
Best regards,
TomSd

Hello,
i have a screen with a splitter container.
How can i load a dynpro into one of those splitter containers?.
Best regards,
TomSd

Similar Messages

  • Splitter container with alv grid has to be replaced with a dynpro

    I have a container which I have splitt in 4 areas, on the right half I have two splitter container with alv grids.
    On the left side I have my navigation tree in 2 splitter container.
    I don't know if this really works, but is it possible that I call a dynpro in the splitter container (after using my navigation tree) where still my alv grids exist?

    so it is not able that I can show a dynpro with several text fields?
    or can I introduce the textfields in another version to the container?
    In se80 I think you have the same, there they call another transactions, is it possible that I call a transaction to the right side of a splitter container?

  • Docking container in splitter container?

    Hi forum,
    i would like to generate a view (dynpro) with is seperated in 3 vertical (resizable) areas. I have solved this with the splitter container.
    Now i would like to fill the 3 areas with dynamic content, i. e. different table views. These different contents should be nested in containers, so i can push my predefined containers into the splitter areas. (just the contents the user would like to see...)
    In my opinion, the docking container is the right choise, because i have not to carry about positioning the container at all.
    Now theres a problem in adapting the docking container to the splitter container and i am not sure if it is possible at all?!?
    I try to create the docking object with the splitter object as parent, but the debugger calls a run time error?!?
    CREATE OBJECT docking_container
      EXPORTING
        parent                      = splitter_container
    *    repid                       =
    *    dynnr                       =
    *    side                        = docking_container->dock_at_left
    *    extension                   = 50
    *    style                       =
    *    lifetime                    = lifetime_default
        caption                     = 'MyDock'
    *    metric                      = 0
    *    ratio                       =
    *    no_autodef_progid_dynnr     =
    *    name                        =
      EXCEPTIONS
        cntl_error                  = 1
        cntl_system_error           = 2
        create_error                = 3
        lifetime_error              = 4
        lifetime_dynpro_dynpro_link = 5
        others.
    Can anyone help? Different solutions are also welcome...
    Thanks in advance,
    Dennis

    Jose, thank you.
    Here is my complete code and I cannot find any differences to your example...
    DATA: custom_container TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
            splitter_container TYPE REF TO CL_GUI_SPLITTER_CONTAINER,
            splitter_cont1 type ref to cl_gui_container,
            dock_container TYPE REF TO CL_GUI_DOCKING_CONTAINER.
    * custom container
    * the name 'CUSTOM_CONTROL_BASE' references to the
    * custom control on the main dynpro 100!!!
      CREATE OBJECT custom_container
        EXPORTING
          container_name              = 'CUSTOM_CONTROL_BASE'
        EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          lifetime_dynpro_dynpro_link = 5
          others                      = 6
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        exit.
      ENDIF.
    * set splitscreen container
      CREATE OBJECT splitter_container
        EXPORTING
          parent            = custom_container
          rows              = 1
          columns           = 3
        EXCEPTIONS
          cntl_error        = 1
          cntl_system_error = 2
          others            = 3.
      IF sy-subrc <> 0.
    *    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        exit.
      ENDIF.
      CALL METHOD splitter_container->GET_CONTAINER
        EXPORTING
          ROW       = 1
          COLUMN    = 1
        RECEIVING
          CONTAINER = splitter_cont1.
    CREATE OBJECT dock_container
      EXPORTING
        parent                      = splitter_cont1
      EXCEPTIONS
        cntl_error                  = 1
        cntl_system_error           = 2
        create_error                = 3
        lifetime_error              = 4
        lifetime_dynpro_dynpro_link = 5
        others                      = 6
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    In debug - mode I can see, that 'splitter_cont' is initalized... The code only breakes when a parent is set to dock_container.
    The error comes from CL_GUI_CONTAINER->GET_FRAME_CONTAINER where the compiler runs into 'RAISE CNTL_ERROR'...
    METHOD GET_FRAME_CONTAINER.
        DATA: PARENTID TYPE I.
    *    CALL 'DY_GET_MODAL_LEVEL' ID 'MOD_LEV' FIELD PARENTID.
    *    CALL 'DY_GET_MODAL_LEVEL' ID 'MOD_LEV_UI' FIELD PARENTID.
    *    CALL 'DY_GET_MODAL_LEVEL' ID 'ACT_UI_MOD_LEV' FIELD PARENTID.
        IF CONTAINER IS INITIAL.
            CALL 'DY_GET_MODAL_LEVEL' ID 'ACT_UI_MOD_LEV' FIELD PARENTID.
        ELSEIF CONTAINER->H_CONTROL-SHELLID = -1.
            CALL 'DY_GET_MODAL_LEVEL' ID 'ACT_UI_MOD_LEV' FIELD PARENTID.
        ELSE.
            PARENTID = CONTAINER->H_CONTROL-SHELLID.
        ENDIF.
        IF PARENTID BETWEEN 10 AND 19.    " this are the dynpro areas
            PARENTID = PARENTID - 10.     " now its the corresponding frame
        ENDIF.
        data: new_dummy_parent_container type ref to CL_GUI_CONTAINER.
        IF PARENTID BETWEEN 0 AND 9.
        "    CREATE OBJECT DUMMY_PARENT_CONTAINER
        "        EXPORTING CLSID = SPACE.
        "    DUMMY_PARENT_CONTAINER->H_CONTROL-SHELLID = PARENTID.
        "    FRAME_CONTAINER = DUMMY_PARENT_CONTAINER.
            CREATE OBJECT NEW_DUMMY_PARENT_CONTAINER
                EXPORTING CLSID = SPACE.
            NEW_DUMMY_PARENT_CONTAINER->H_CONTROL-SHELLID = PARENTID.
            FRAME_CONTAINER = NEW_DUMMY_PARENT_CONTAINER.
        ELSEIF PARENTID = 99.
            FRAME_CONTAINER = CONTAINER.
        ELSE.
            IF CONTAINER_MUST_BE_TOPLEVEL = 0.
                FRAME_CONTAINER = CONTAINER.
            ELSE.
                RAISE CNTL_ERROR.
            ENDIF.
        ENDIF.
    ENDMETHOD.
    I have found further solutions like yours on the web, so it seems to be right. I cannot understand why the compiler runs into error?!?
    Thanks a lot!

  • How to display 3 alv with top-of-page using splitter container

    Hi,
    I want to display 3 different alv in a single container corresponding to the 3 check boxes on selection screen.
    i.e.
    If user selects 1 check box only one alv should be displayed, if 2 checkboxes selected by user 2 alv should be displayed and same for 3.
    I cannot use 3 different containers bcoz if second checkbox is not selected then that place remains blank. So I am using single container and using splitter container dividing it into the no of rows corresponding to the no. of checkboxs selected by user.
    Now I also want to display top-of-page for each alv. Please guide me how to achieve this.
    Thanks & regards,
    Harshada

    create with some IF_ELSE conditions as i have done below. in my case the same things are required. if error table is there only then it will be displayed, else only output will be displayed.
    * First Main Container
      CREATE OBJECT obj_main1
        EXPORTING
          container_name = 'CC_CONTAINER'
          style          = cl_gui_custom_container=>ws_maximizebox.
    * create top-document
      CREATE OBJECT obj_dyndoc_id
        EXPORTING
          style = 'ALV_GRID'.
      IF pr_view EQ c_x OR pr_stat EQ c_x.
    * First Splitter Container
        CREATE OBJECT obj_splitter1
          EXPORTING
            parent  = obj_main1
            rows    = 2
            columns = 1.
    * Place obj_parent_html in First row First column
    * for Top_of_page
        CALL METHOD obj_splitter1->get_container
          EXPORTING
            row       = 1
            column    = 1
          RECEIVING
            container = obj_parent_html.
    * Place obj_container1 in Second row First column
        CALL METHOD obj_splitter1->get_container
          EXPORTING
            row       = 2
            column    = 1
          RECEIVING
            container = obj_container1.
    * Set the height of Top of page
        CALL METHOD obj_splitter1->set_row_height
          EXPORTING
            id     = 1
            height = 24.
      ELSEIF pr_email EQ c_x.
    * First Splitter Container
        CREATE OBJECT obj_splitter1
          EXPORTING
            parent  = obj_main1
            rows    = 3
            columns = 1.
    * Place obj_parent_html in First row First column
    * for Top_of_page
        CALL METHOD obj_splitter1->get_container
          EXPORTING
            row       = 1
            column    = 1
          RECEIVING
            container = obj_parent_html.
    * Place obj_container1 in First row First column
        CALL METHOD obj_splitter1->get_container
          EXPORTING
            row       = 2
            column    = 1
          RECEIVING
            container = obj_container1.
    * Place obj_container2 in Second row First column
        CALL METHOD obj_splitter1->get_container
          EXPORTING
            row       = 3
            column    = 1
          RECEIVING
            container = obj_container2.
    * Set the height of Top of page
        CALL METHOD obj_splitter1->set_row_height
          EXPORTING
            id     = 1
            height = 24.
      ENDIF.
    Please note there is no need to create a hEADER in the container, but create it for the 1st table only which is always displayed
    ags.
    Edited by: ags on Nov 4, 2009 4:49 PM
    Edited by: ags on Nov 4, 2009 4:50 PM

  • How splitter container is useful to show multiple lines of heading in ALV

    Hi,
    I have a requirement to develop an ALV grid with below layout:
    Past
    Future
    | F1     | F2   | F3    | F4    | F5  | F6    | F7     | F8      | F9       | F10     | F11     | F12        |  
    I read forum blogs and found that splitter container can be used to develop such layout. Can anybody pleae let me know how to do so? As per my understanding first container will have headings ( Past & Future) and second container will hold headings (F1, F2...) as well as data. Since each container has a grid and for each grid we have to pass a fieldcatlog and an internal table how can we display only headings in First conatiner.
    Rgds
    Sid

    Hi sudhanshu,
    solution may exist in theory (only).
    I do not know a working solution yet. When ALV was first introduced some 12 or more years ago, the column width was specified as a number of characters ignoring that a proportional font will not match this.
    With introduction of the grid, the scaling is free and can be done in the GUI on a (display) pixel base. I tried a lot with dynamic scaling of containers and had to learn that there is still a big optimizing potential for the SAP infrastructure.
    Right now it seems as the architects try to get everything working as well on (old-style) SAP GUI, also WEB GUI, also java-based web services. The downside is that looking at it from the distance it is nice, going into the details, most (or much) is missing, undocumented or not working properly.
    For the time being you may replace detailed functionality by an impressive background picture
    Regards,
    Clemens

  • Splitter container: fixed size

    Hello,
    I have a dynpro with a docking container on the top level. Embedded in this are some nested splitter containers (easy splitter containers at the moment). Generally I like the fact that the splitters are resizing automatically when I change the screen size but now I want one of the two containers of a (easy) splitter container to stay fixed in size. Reason is that I embedded a cl_gui_toolbar which is actually fixed in size and looks quite odd when there's a lot of unused space around...
    Looking forward to any suggestions !
    Best regards,
    Patrick Baer

    Hello Patrick,
    I'm not sure I understand you correctly.
    |                         |     
    |       docking container          |
    |---------------------------------------|
    |          |               |
    |  toolbar     |               |
    |---------------|               |
    |         ^     |               |  <----- screen     
    |         |     |               |
    |           |   |               |
    |         |-->|               |
    |         |     |               |
    ------------|----------------------------
             |
            Easy Splitters
    If the above is a correct visualization of the situation, then you will not be able to restrict just the TOOLBAR area from resizing. If the rest of the screen resizes and just one area doesn't, it would certainly look bad. Though in your case it may seem desirable.
    You should probably think about subscreens and resizing attributes...
    Regards,
    Anand Mandalika.

  • Dynamically extension of splitter container

    Hello,
    I want to create a splitter container with 1 column and n rows. After the user klicked a button, I need n + m rows. I don´t want to destroy the actual object and create a new one with n + m rows, I want to extend the actually object.
    I used the methods SET_GRID and ADD_CONTROL, but I don´t get the supposed result.
    Can anybody help me?

    Hello,
    I had the same Problem and after a long time's reflection I solved it with the Method Add_control. But its a litle Bit tricky.
    First you have to create an new Splitter ( wiith the same container as the old one). Then you habe to add the references of the old n grids into the new_splitter. Afterwards create the m new grids and fill them.
    Then - very importent free the old splitter. And afterward set the reference of the new one to the old one.
    Here ist some of my conding for m = 1.
        DATA new_splitter TYPE REF TO cl_gui_splitter_container.
        DATA mygrid TYPE REF TO cl_gui_alv_grid.
        DATA mycont TYPE REF TO cl_gui_container.
        row = row + 1.
        CREATE OBJECT new_splitter
        EXPORTING
           link_dynnr        = '0100'
           link_repid        = sy-cprog
        shellstyle        = shellstyle
        left              = left
        top               = top
        width             = width
        height            = height
        metric            = cntl_metric_dynpro
        align             = 15
          parent            = r_container
          rows              = row
          columns           = 1.
        LOOP AT i_grid INTO mygrid.
          new_splitter->add_control( row      = sy-tabix
                                     column   = 1
                                     control = mygrid ).
        ENDLOOP.
        mycont = new_splitter->get_container( row      = row
        column   = 1 ).
        CREATE OBJECT grid
          EXPORTING
            i_parent = mycont.
        APPEND grid TO i_grid.
        r_splitter->free( ).
        r_splitter = new_splitter.
    Greetings Eugen Schelling

  • Splitter-container calling standard transaction

    We want to create a splitter-container with two elements:
    - Left side displays a control tree (this is OK)
    - Right side displays a standard transaction such as VA03 (not sure how to do this bit)
    Any help would be greatfully received
    PeteA

    Hi,
    Here is a sample program which implements a docking container with a splitter.
    data: docking_left     type ref to cl_gui_docking_container,
          dock_sub_cont1   type ref to cl_gui_container,
          dock_sub_cont2   type ref to cl_gui_container,
          alv_bottom       type ref to cl_gui_alv_grid,
          splitter         type ref to cl_gui_splitter_container,
          html_viewer type ref to cl_gui_html_viewer.
    parameters: p_check.
    at selection-screen output.
      data: it001w type table of t001w with header line.
      data: repid type sy-repid.
      data: url(255).
      repid = sy-repid.
      if docking_left is initial.
    Create the docking and splitter containers
        create object:
             docking_left
                    exporting repid     = repid
                              dynnr     = sy-dynnr
                              side      = docking_left->dock_at_left
                              extension = 525,
             splitter
                      exporting parent = docking_left
                                rows    = 2
                                 columns = 1.
    Set the splitters.
        call method:
                    splitter->set_border
                      exporting border = space,
                    splitter->get_container
                      exporting row            = 1
                                column         = 1
                                receiving container = dock_sub_cont1,
                    splitter->set_row_height
                      exporting id             = 1
                                height         = '25',
                    splitter->get_container
                      exporting row            = 2
                                column         = 1
                                receiving container = dock_sub_cont2.
    HTML control in the first container
        create object html_viewer
                exporting  parent              = dock_sub_cont1
                exceptions cntl_error         = 1
                           cntl_install_error = 2
                           dp_install_error   = 3
                           dp_error           = 4.
        call method:
        html_viewer->load_mime_object
                   exporting
                     object_id  = 'HTMLCNTL_TESTHTM2_SAPLOGO'
                     object_url = 'SAPLOGO.GIF'
                   importing
                     assigned_url = url
                   exceptions object_not_found     = 1
                              dp_error_general     = 2
                              dp_invalid_parameter = 3,
         html_viewer->show_data
             exporting url   = url
             exceptions cntl_error = 1.
    ALV grid in second splitter container.
        select * into corresponding fields of table it001w
                    from t001w.
        create object alv_bottom
                      exporting i_parent = dock_sub_cont2.
        call method alv_bottom->set_table_for_first_display
            exporting
                 i_structure_name       = 'T001W'
            changing
                 it_outtab       = it001w[].
      endif.
    *Reward points
    Regards

  • Splitter container titles

    hi,
    I have a splitter container that generates a variable amount of rows depending on the users requirements.
    Each container will then contain either an ALV grid, HTML Viewer or some other type of GUI control.
    What I would like to do is have a title in each splitter container visible on the screen.
    Is this possible ?
    Cheers

    Hi Rob,
    All the examples I could find using the FM were all ALV.
    However, it did point me in the direction of the class CL_DD_DOCUMENT.
    I now split each conainer into a small top area and a large main area. The main area copes with the HTML_VIEWERS, ALV, Calendars etc.
    I use the small top area for a CL_DD_DOCUMENT which I can add a text to which appears a nice title.
    Thanks for your help in pointing me towards a solution.
    Cheers
    James

  • ALV with splitter container in background

    Hi all,
    I have an ALV grid in which I am using a splitter container to display top of page and the alv grid.
    I am unaware how to use a docking container in conjunction with a splitter container, so that the ALV list is displayed in the background.
    Request assistance from you all...
    Regards,
    Vidya.

    Hi,
    In background , you can't dispaly the ALV with splitter container , dispaly ALV in foreground with splitter and in background use top-of-page to display header text with docking container.
    Code :
    DATA: o_grid             TYPE REF TO cl_gui_alv_grid,
          o_container TYPE REF TO cl_gui_custom_container,
          o_dockingcontainer TYPE REF TO cl_gui_docking_container .
      IF NOT sy-batch = 'X'.
        CREATE OBJECT o_container
                EXPORTING
                      container_name = 'CONTAINER'.
        CREATE OBJECT o_grid
                EXPORTING
                      i_parent = o_container.
      ELSE.
        CREATE OBJECT o_grid
          EXPORTING
         i_parent = o_dockingcontainer.
        IF sy-subrc NE 0.
        ENDIF.
      ENDIF
    METHOD handle_print_top_of_page.
        prev_linno = sy-linno.
        sy-linno = 64.
        SKIP.
        WRITE:/40 'Page:', sy-pagno .
        SKIP.
        sy-linno = prev_linno.
      ENDMETHOD.                    "handle_print_top_of_page
      METHOD handle_top_of_page.
        WRITE:/40 'Page:', sy-pagno .
      ENDMETHOD.                    "handle_top_of_page
    Regards
    Appana

  • Loading an external .swf into an empty container

    I'm loading an external .swf into an empty container.
    Everything seems to work fine except when the .swf is loaded both
    seems to be running extremely sluggish. The button rollovers are
    slow, the page transitions..everything. I can't figure out why it
    is doing this. Both .fla's have the same frame rate. Is there some
    known reason why this might happen?

    well, we've tried that and it is actually a little bit worse.
    Normally i test everything in a browser window anyway. I'm thinking
    it might be a naming issue of some variable or something that is
    the same for both fla's....not sure yet though.

  • Integrate web dynpro into WEB UI

    Hi,
    I have a problem with integrating wd4a application into web ui.
    When I set up url of the wd4a application (absolute url) as logical link, everything went ok in dev system.
    But after transport to test system, application was not reachable, because absolute url linked to dev.
    The second attemp was to set up the logical link to BSP application, which called absolute url to wd4a application using <bsp:call> statement in view. The problem is that this statement didnt work at all and it doesnt matter if there link to my application or to google.com.
    do you have any idea how to solve this?
    thanks
    Juraj

    Hi,
    I know this method,
    but problem is that I used absolute link in WEB UI customizing, tx CRMC_IC_LTX_URLS ... in case I could create my own link, everything is ok
    my problem is that I dont know how to define link in this tx with relative url
    or I can be solved in way that I somehow integrate web dynpro into BSP application and then set up URL in tx CRMC_IC_LTX_URLS for the BSP.
    the only problem is I dont kobw how to do this
    thanks
    Juraj

  • Picture in splitter container

    Is it possible to create a picture in a splitter container?

    What I have is this in PBO:
    DATA splitter3 TYPE REF TO cl_gui_splitter_container.
          CREATE OBJECT container
            EXPORTING
              container_name = 'CONTAINER'.
        CREATE OBJECT splitter1
          EXPORTING
            parent  = container
            rows    = 1
            columns = 2.
        CALL METHOD splitter1->get_container
          EXPORTING
            row       = 1
            column    = 1
          RECEIVING
            container = container_1.
        CREATE OBJECT splitter3
          EXPORTING
            parent  = container_1
            rows    = 3
            columns = 1.
        CALL METHOD splitter3->get_container
          EXPORTING
            row       = 1
            column    = 1
          RECEIVING
            container = container_1_1.
        CALL METHOD splitter3->get_container
          EXPORTING
            row       = 2
            column    = 1
          RECEIVING
            container = container_1_2.
        CALL METHOD splitter3->get_container
          EXPORTING
            row       = 3
            column    = 1
          RECEIVING
            container = container_1_3.
        DATA: o_dd_document TYPE REF TO cl_dd_document.
        CREATE OBJECT o_dd_document.
        CALL METHOD o_dd_document->add_picture
          EXPORTING
            picture_id       = 'ENJOY_SAP'
            width            = '350'.
        CALL METHOD o_dd_document->display_document
              EXPORTING
                reuse_control      = 'X'
                container          = container_1_3.
    *        parent             =
    *      EXCEPTIONS
    *        html_display_error = 1
    *        others             = 2
    The result is that I get a message with that container "container_1_3" is not of same type like the method display_document.

  • Webserver/jsp engine call into weblogic ejb container

    Which one of these architectures would give the best performance.
              First architecture:
              3 boxes -
              1st box - webserver(IIS or IPlaner) with a JSP engine. (The JSP's
              produce dynamic content.)
              2nd box - weblogic 5.1 hosting EJB's
              3rd box - Oracle or DB2
              The 1st box is used to server up dynamic contect. The JSP's make dynamic
              contect from calls into the EJB container in the 2nd box. The EJB's then
              calls the DB in the 3rd box.
              2nd architecture:
              3 boxes-
              1st box - webserver with weblogic plug-ins for IIS or IPlanet
              2nd box - weblogic 5.1 - hosting JSP pages and EJBs
              3rd box - Oracle or DB2
              The 1st box's webserver just receives the request to JSPs and lets the
              plug-in find the appropriate weblogic instance. The JSPs that are processed
              on the 2nd box make calls into the EJB container on the 2nd box. The EJBs
              then make calls to the DB on the 3rd box.
              thanks
              -cb
              

    thanks you both for you input
              "Cameron Purdy" <[email protected]> wrote in message
              news:[email protected]...
              > It is certainly more efficient in terms of JSP/Servlet to EJB invocations
              if
              > you use WebLogic to do all three (JSP/Servlet/EJB) due to the
              well-designed
              > client stubs for EJBs that do pass-by-reference. If you have lots of
              small
              > invocations to EJBs, that is a good reason to consider WL for all three
              > (JSP/Servlet/EJB).
              >
              > OTOH there are a good number of developers that I have spoken with that
              > prefer other Servlet engines. These developers have had excellent
              > experiences with WL EJB handling, but some issues with JSP/Servlets, or
              > simply needed features offered by other servers. A few may have decided
              on
              > a price basis. Some of the technical issues were related to WL class
              > loading issues that are scheduled to be completely improved in the fall WL
              > release.
              >
              > All of that said, I personally would probably stick with WL to do all
              three
              > (JSP/Servlet/EJB). I believe that I have found most of the problems that
              WL
              > has ;-) and I have come through the other side still really liking the
              > product -- so even it's worst points (like the linkage error that had me
              > pulling out my hair and even searching through the Sun JVM sources ;-)
              > aren't that bad because it is a strong enough product that there are
              always
              > ways to work through or around just about anything. If I had to look at a
              > different JSP/Servlet engine, I would start with Caucho Resin, simply
              > because I like their approach and I know it works well with WL.
              >
              > Lastly remember that in the J2EE world, "no one ever got fired for buying
              > BEA WebLogic!"
              >
              > --
              >
              > Cameron Purdy
              > http://www.tangosol.com
              >
              >
              > "Chris Bick" <[email protected]> wrote in message
              > news:[email protected]...
              > > So you would not support/advise an architecture that has the JSP/Servlet
              > > engine on a different box then weblogic? If this is the case, could you
              > > give some reasons why?
              > >
              > > thanks,
              > > -cb
              > > "Cameron Purdy" <[email protected]> wrote in message
              > > news:[email protected]...
              > > > 1. Your bottleneck will probably be the third box (database server)
              in
              > > > either scenario. That's probably your biggest up-front cost -- making
              > > sure
              > > > the db server is up to the task.
              > > > 2. The second architecture is suggested by WL. The reason is that if
              > box
              > > > #2 (WL) is a cluster, you can theoretically add more boxes easily to
              get
              > > > pseudo-linear scaling for JSP and EJB processing. Of course, that
              only
              > > > helps if your database is not a bottleneck ;-) WL cluster is $17k per
              > > CPU.
              > > > 3. The real answer is that it depends on your application and the
              > number
              > > of
              > > > users that you are expecting. You want to make sure that when your
              site
              > > is
              > > > loaded that there is no significant queueing of requests on the WL
              side.
              > > I
              > > > believe you can see that information in the WL monitor.
              > > >
              > > > --
              > > >
              > > > Cameron Purdy
              > > > http://www.tangosol.com
              > > >
              > > >
              > > > "Chris Bick" <[email protected]> wrote in message
              > > > news:[email protected]...
              > > > > Which one of these architectures would give the best performance.
              > > > >
              > > > > First architecture:
              > > > >
              > > > > 3 boxes -
              > > > >
              > > > > 1st box - webserver(IIS or IPlaner) with a JSP engine. (The
              > > JSP's
              > > > > produce dynamic content.)
              > > > > 2nd box - weblogic 5.1 hosting EJB's
              > > > > 3rd box - Oracle or DB2
              > > > >
              > > > > The 1st box is used to server up dynamic contect. The JSP's make
              > > dynamic
              > > > > contect from calls into the EJB container in the 2nd box. The
              EJB's
              > > then
              > > > > calls the DB in the 3rd box.
              > > > >
              > > > > 2nd architecture:
              > > > >
              > > > > 3 boxes-
              > > > >
              > > > > 1st box - webserver with weblogic plug-ins for IIS or IPlanet
              > > > > 2nd box - weblogic 5.1 - hosting JSP pages and EJBs
              > > > > 3rd box - Oracle or DB2
              > > > >
              > > > > The 1st box's webserver just receives the request to JSPs and lets
              the
              > > > > plug-in find the appropriate weblogic instance. The JSPs that are
              > > > processed
              > > > > on the 2nd box make calls into the EJB container on the 2nd box.
              The
              > > EJBs
              > > > > then make calls to the DB on the 3rd box.
              > > > >
              > > > > thanks
              > > > > -cb
              >
              >
              >
              

  • ABAP Objects: Problems with controls in splitter container

    Hi community,
    I have problems with the second control in a splitter container.
    In the left container I build up a <u>list tree</u>.
    On double click on a node a <u>column tree</u> in the right container is created.
    This is working fine.
    But if I double click on another node in the left container the right tree remains unchanged.
    What do I have to do to update/refresh the tree in the right splitter container.
    Thanks in advance.
    Regards
    Ferdi

    Thanks for your reply Thomas and Serdar,
    I now destroy the right container and the right tree control if it exists after the event 'double_click' on a node in the left tree.
    The result is now that the container is created (I can see it on screen) but no tree is shown.
    If I just destroy the tree control but not the container the tree from the first double click on the left tree is shown.
    In the debugger I see that the list tree instance is linked to the caontainer (after first and second creation of tree control)
    Maybe you can see in the coding below what's wrong or missing.
    Coding after EVENT DOUBLE_CLICK in left Tree: <pre>
    destroy ‘old’ tree instance and container
      if not g_container_2 is initial.
        call method g_container_2->free.
        clear: g_container_2, g_tree_2.
      endif.
    create right container
      call method g_splitter->get_container
                exporting row      = 1
                          column   = 2
                receiving container = g_container_2.
    setup the hierarchy header
      hierarchy_header-heading = 'Hierarchy Header'.
      hierarchy_header-width = 37.       
    create a column tree model instance
      create object g_tree_2
        exporting
          node_selection_mode = cl_column_tree_model=>node_sel_mode_single
          item_selection = 'X'
          hierarchy_column_name = 'C1'
          hierarchy_header = hierarchy_header.
    create tree control
      call method g_tree_2->create_tree_control
        exporting
          parent = g_container_2.
      perform add_columns.
      perform define_events.
    set registered events
      call method g_tree_2->set_registered_events
        exporting
          events = events.
      perform get_data.
      perform add_nodes_2.
    expand the root node
      call method g_tree_2->expand_node
        exporting
          node_key = 'Root'
          level_count = 3.
    </pre>
    Regards
    Ferdi
    Message was edited by: Ferdi Meyer

Maybe you are looking for