How to display a view on external window

Hi folks,
I have a scenario like to implement the function that Output views should display on external window.
I couldn't get as per my requirement..
Please help me on this.
thanks i nadvance..
Regads,
Prashanthi

Hi,
            U need to the following
           1.Create another window
           2.Create a view in it tat contains Interacive form element.
           3. call this window dynamically thru the first window by creating a context element of IWDWindow  type
The code may help:
  IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("SearchEmpwind");
      IWDWindow window = wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(windowInfo, true);
      window.setWindowPosition(WDWindowPos.CENTER);
      window.setWindowSize(400, 250);
      window.open();
      wdContext.currentContextElement().setEmpSearchWind(window);
Regards
Ishita

Similar Messages

  • Can I display 2nd view on external window ?

    Hi all
    I would like to implement the function that Output views come out on external window.
    For example, OnAction method searches data from DataBase and the result appears on external window not original window.
    Comparing this function to HTML, I imagine anchor with "target = BLANK".
    I try to use 2 methods ,create_window and create_external_window, in if_wd_window_manager.
    But I couldn't get my want.
    Howcan I do ?
    Please help.
    Best regards
    Tom

    HI
    there are two scenrios here.
    1. creating a MODAL POPup window using create_window and this will create a window having the the second view with the desired data.
    here in this case you have to create a comman context node in the comp contrl and use it both views. then
    create second window and embed the second view in it.
    now fill the data in the first view in the context node and then use the method create_window to create the modal popup
    window and show your data here in the second view may be table or form (whatever you want).
    2. second scenario is to create sn external non modal window itself which will open in a seprate browser window.
    there how ever you cannot pass the context node itself. masimum you can do is pass url string paramters.
    which you can fetch in the second application and disply the result accordingly.
    thanks
    sarbjeet singh

  • How to display a view which contain interactive form in an external window

    Anyone know how to display a view which contain interactive form in an external window?
    I managed to display the view in an internal window with the following code:
    IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PdfReportWin");
    IWDWindow window = wdComponentAPI.getWindowManager().createWindow( windowInfo, true);
    For external window, I tried this method : wdComponentAPI.getWindowManager().createExternalWindow(String URL, String title, boolean modal) but there are no parameter for view name?
    Maybe this is not the correct way, really appreaciate if anyone can help.

    Hi,
                U need to the following
               1.Create another window
               2.Create a view in it tat contains Interacive form element.
               3. call this window dynamically thru the first window by creating a context element of IWDWindow  type
    The code may help:
      IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("SearchEmpwind");
          IWDWindow window = wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(windowInfo, true);
          window.setWindowPosition(WDWindowPos.CENTER);
          window.setWindowSize(400, 250);
          window.open();
          wdContext.currentContextElement().setEmpSearchWind(window);
    Regards
    Ishita

  • Open view in external window..

    Hi,
    try this:
    define a new window
    and at this to the link action:
    //Create a new Window and open it
    IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("MyNewWindow");
    IWDWindow window = wdComponentAPI.getWindowManager().createWindow( windowInfo, true);
    window.setWindowPosition(x, y);
    window.open();
    // Save WindowInstance in Context
    wdContext.nodePopup().bind(wdContext.nodePopup().createPopupElement());
    wdContext.currentPopupElement().setWindowInstance(window);
    Regards
    Sebastian

    >
    Husalban RM wrote:
    > Hi all,
    >
    > This is the scenario:
    >
    > In my WD i have a initial view with a selection criteria for search documents (like POWL) when you select one and push the button 'Display' I start a navigation to another view to display the details...
    >
    > Now the client wants to change that. When the user push the button 'Display' a new external window must be opened.
    >
    > With the method CREATE_EXTERNAL_WINDOW of the class IF_WD_WINDOW_MANAGER i need an URL that i haven't for call this view.
    >
    > Then, is necessary to create a new Webdynpro Application in my component in order to do it? Or is there any other way to do it?
    >
    > Thanks in advance.
    Hi,
    Should  it be absolutely a external window ?
    You can use a create_window method of the IF_WD_WINDOW_MANAGER to show it on a popup window.

  • How to display recently viewed pages?

    Im looking for advice/tutorial on how to display a vertical
    list (<ul>) inside a div which will display say the last few
    pages (via their title) which a user has viewed on my site. Just a
    simple vertical text based list rather like the list shown on the
    "Back" button in IE. Are we talking croutons?
    If a user leaves the site then goes back I want the list to
    be cleared again.
    Ok I know people may say, just use the back button but I
    thought it could be a handy feature on the page itself.

    Hi freidaf1,
    You should take a look at the Tile Tabs add-on:
    https://addons.mozilla.org/en-US/firefox/addon/tile-tabs/
    I believe it will do exactly what you are looking for. You could always open multiple windows, but I think this is a more elegant solution.
    Hopefully this helps!

  • How to display existing View as content in TABSTRIP tab?

    Is it possible to display existing View as tab content in TabStrip tab? If so how can we do this?
    Thanks in advance!

    Hi,
    Please have a look into this linl. It will really help you a lot and give you clear idea on UI development and also about using TabStrip.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e617bc3-0401-0010-2c82-81f82e73300e">Developing Web Dynpro User Interfaces</a>
    Thanks and Regards
    Avijit

  • How to display Calendar view without having to select date

    Hi there,
    I would like to know can I display Calendar view without having user to select date first.
    And also, how do I highlight the date in calendar view for example, to show that i have set a reminder on that date?
    I have searched many threads before, but I could not get the final answer.

    Hi,
    Is there a way to display a full calendar popup with time stamp so the users can pick the timestamp from the popup?Date Picker doesn't have this feature. You can use Javascript to achieve the same. But at same time it's highly unrecommended to use javascript with OAF pages.
    Regards,
    Gyan

  • How to display error message in Popup window

    Hi,
    I have main view and when I click button I opened new pop up window.
    I have some validation for the form in pop up window. I want to display the error message in pop up window.
    Please let me know how to get it.
    Thanks

    Hi mami,
           Is is very difficulty to request focus to the POP window..in our case we are trying lot of time ..but we are not success to display massage in pop window.
    you will  put TEXTView in you pop window where you want to display massage in you POPWINDOW.
    and Create one context value Attribute as Massage
    Value Attribute-----ErrMassage.
    ErrMassage Attribute set your Text property of TEXTVIEW  UI Element.
    If(your condition is TRUE){
    //Excute Your code perfectly.
    else
    wdContext.currentContextElement().setErrMassage("Please provide proper name");
    In this way we were this massage showing in our popwindow..
    thanks
    jati

  • How to display an image in a window ?

    Hi all,
    Could someone point me to a document that explains (preferably with code samples) how I go about displaying a JPEG image in a window.
    What I'm eventually trying to create is a slideshow, but for now, I just want to add an image to a JFrame and have that display, and even this simple first step is beyond me. There seem to be quite a few different classes to deal with images, but I'm just looking for the simplest one.
    With a view to my future requirements, I will want to be able to dynamically shrink an image so that it fits in the window, as well as cropping images so that the full resolution is displayed, but anything that doesn't fit in the window is chopped off.

    hi,
    how to place an image in the cells of a grid and to drag and drop that image. i have the code to locate the postion of each cell on mouse click. now i want to place an image in particular cell and i want to drag and drop that particular image to other cells of grid.
    is it possible.
    pls give me a suggestion.
    here my code:
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    public class Grid
    public Grid()
    GridPanel gridPanel = new GridPanel();
    CellSelector cellSelector = new CellSelector(gridPanel);
    gridPanel.addMouseListener(cellSelector);
    JFrame f = new JFrame();
    //ImageIcon ii= create ImageIcon("C:/Documents and Settings/sreehari.m/Desktop/new/java //pgm/new");
    //cellSelector.addImageIcon();
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.getContentPane().add(gridPanel);
    f.setSize(400,400);
    f.setLocation(200,200);
    f.setVisible(true);
    public static void main(String[] args)
    new Grid();
    class GridPanel extends JPanel
    double xInc, yInc;
    final int
    GRID_SIZE = 4,
    DRAW = 0,
    FILL = 1,
    PAD = 20;
    int[][] cells;
    public GridPanel()
    initCells();
    protected void paintComponent(Graphics g)
    super.paintComponent(g);
    Graphics2D g2 = (Graphics2D)g;
    g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
    RenderingHints.VALUE_ANTIALIAS_ON);
    double w = getWidth();
    double h = getHeight();
    xInc = (w - 2*PAD)/GRID_SIZE;
    yInc = (h - 2*PAD)/GRID_SIZE;
    // row lines
    double x1 = PAD, y1 = PAD, x2 = w - PAD, y2 = h - PAD;
    for(int j = 0; j <= GRID_SIZE; j++)
    g2.draw(new Line2D.Double(x1, y1, x2, y1));
    y1 += yInc;
    // col lines
    y1 = PAD;
    for(int j = 0; j <= GRID_SIZE; j++)
    g2.draw(new Line2D.Double(x1, y1, x1, y2));
    x1 += xInc;
    // fill cells
    g2.setPaint(Color.red);
    for(int row = 0; row < cells.length; row++)
    for(int col = 0; col < cells[0].length; col++)
    if(cells[row][col] == FILL)
    x1 = PAD + col * xInc + 1;
    y1 = PAD + row * yInc + 1;
    g2.drawString("("+row+","+col+")" , (int) x1+50, (int)y1+50);
    //g2.drawString("("+Grid("+row+","+col+")+")" , (int) x1+50, (int)y1+50);
    // g2.drawString("("")" , (int) x1+50, (int)y1+50);
    // g2.fill(new Rectangle2D.Double(x1, y1, xInc - 1, yInc - 1));
    public void toggleCellColor(int row, int col)
    int mode = DRAW;
    if(cells[row][col] == DRAW)
    mode = FILL;
    cells[row][col] = mode;
    repaint();
    private void initCells()
    cells = new int[GRID_SIZE][GRID_SIZE];
    for(int row = 0; row < cells.length; row++)
    for(int col = 0; col < cells[0].length; col++)
    cells[row][col] = DRAW;
    class CellSelector extends MouseAdapter
    GridPanel gridPanel;
    public CellSelector(GridPanel gp)
    gridPanel = gp;
    public void mousePressed(MouseEvent e)
    Point p = e.getPoint();
    int col = 0, row = 0;
    double x = gridPanel.PAD + gridPanel.xInc;
    // find column
    for(int j = 0; j < gridPanel.GRID_SIZE; j++)
    if(p.x < x)
    col = j;
    break;
    x += gridPanel.xInc;
    // find row
    double y = gridPanel.PAD + gridPanel.yInc;
    for(int j = 0; j < gridPanel.GRID_SIZE; j++)
    if(p.y < y)
    row = j;
    break;
    y += gridPanel.yInc;
    gridPanel.toggleCellColor(row, col);
    }

  • How to Display XML data on a Window within my JDev App?

    I want to display some XML data stored on the database (in a CLOB field) in such a way that the XML tags and values are colored/highlighted as if they were read in a browser like Internet Explorer.
    Currently I am displaying the data using a JEditorPane field and the results are hard to read as the tags and values show on the same color and in plain text.
    I want to dispay this within my application (9i), not going to an external browser; i.e. I want the window (panel) to act as a browser when displaying the data.
    Any ideas would be appreciated.
    Thanks.

    You can use utl_http in the database to call the webservice and display the result in a form item.
    Example:
    http://www.oracle-base.com/articles/9i/ConsumingWebServices9i.php

  • How to display SharePoint view column vertically?

    Hi
    I want to display my column header in vertical orientation. I created a page and inserted list view web part and content editor web part in that. I added following code in content editor web part: 
    <style type="text/css">
    .ms-vh2 {
    WRITING-MODE: tb-rl; -moz-transform: rotate(90deg);
    width:10px;
    .ms-viewheadertr {
    HEIGHT: 240px;
    }</style>
    This rotates the column header successfully. But this also changes the orientation of the drop down option list. Is there any way to avoid this??
    One more thing...I don't want to apply this to all the columns. I want it to be applied to only certain columns. Please let me know how this can be achieved?

    Hi Pratima,
    Thanks for posting your issue, Kindly browse below mentioned URL to fix your issue with the given code and steps
    http://sharepoint.stackexchange.com/questions/26700/viewing-a-custom-list-vertically
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • How to print list view of Finder window

    I want to print a list of the contents of a disk or a folder, just as I see it in the Finder's list view. How is this done in Tiger? In some older versions of the OS there was a menu command for this operation, something called Print Directory, I think.

    There may be more user-friendly ways of doing this, but here's one way:
    Open Terminal (in the Utilities folder).
    Use "cd" to change directory to the folder you want to print
    eg cd /Users/myuser/Documents
    Use "ls" to list the contents to a file
    ls -al > filelist.txt
    You can then open the filelist.txt file from Finder in TextEdit and print it.
    Matt

  • How to display webdynpro view data in PDF format.

    Dear All,
    Greetings!!!
    scenario :
    i am having five tabstrips  in a table , first four for the different kinds of data
    and fifth one is for to display all tabstrips data in a PDF format.
    Kindly let me know how to acheive this .
    is it possible with out ADLC..?  any demo or article is available for similar requirement?
    Thanks in Advance.
    Best Regards,
    Kranthikumar Palle.

    It's better to use the Adobe form to display your WD data. But you can choose Smartform as a PDF doc to display the WD data.
    Check out the thread [Display a Smartform as PDF document in WD ABAP|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785] for more details.

  • How to display tables values in next window

    Hello Abapgurus,
    This is my problem which i explained below.
      IF the text has 11 rows and you can only print 8 rows in the
    current page, THEN go to next page print all 11 rows at the fresh page.
    How cna i achieve this.
    Waiting for your favourable replies
    Regards
    Maruthi

    Hi ,
    use protect and endprotectin the text elment of your script.
    what protect and endprotect does is that it will print everything at one place.
    Thanks

  • Display a document pdf in an external window (WD ABAP)

    Hi all,
    I have an application <u><b>Web dynpro Abap</b></u> and it adds articles in a alv component that it is a purchase basket.
    This alv has a user function what opens a document pdf (interactiveForm)
    that shows the lines of the order. I would like that this pdf be displayed in an <b>external window</b>, and it was  independent of the window of alv of the purchase basket.
    This is possible. If it is possible, how can I do it?
    Regards,
    Ana

    hi
    good
    go through these links, which ll help you to give a clear idea about creating of the external window.
    http://help.sap.com/saphelp_nw04s/helpdata/en/0f/134540631d6f13e10000000a1550b0/content.htm
    thanks
    mrutyun^

Maybe you are looking for

  • Tables not expanding across a sidehead+column

    DITA 1.2 XML FrameMaker 10.0.2.419 I have some tables that I want to go across my column and sidehead for my printed manuals. I have been able to change my EDD/template to place the table anchor in the sidehead and that is working just fine. That's n

  • How to store output data in JCOP scripts?

    Hello! I want to create JCOP script files that can use the output data from one call as input data to the next. Is this possible? If yes, how do I do it? like: /send command ->outputdata 9000 /send command+outputdata Thanks in advance!

  • PHP error help needed

    I've worked through the Adobe tutorial, "Developing a web application with Dreamweaver" http://www.adobe.com/devnet/dreamweaver/articles/develop_web_application.html). Everything works fine until I get to the final step of testing the Record Insert f

  • Export function won't work - help!

    Running iPhoto 6 and for some reason my "export" function doesn't work anymore. I'm not sure if upload companions (shutterfly, flickr, etc.) are interfering, but suspect they are. Any have this problem before? Any suggestions on how to fix? Many than

  • Insert Flash with Dreamweaver CS3 Question

    So I have been building websites for awhile and have always relied on the built in insert flash object that came with dreamweaver as I have never had issues with it. However as I finished a site recently the client had a friend look at it and brought