Is it possible to refresh parent window using only JSP??

If I open a up a new browser window using target="_blank" in the link. Is it possible for me to refresh the parent window using only JSP?
I know it's possible using Javascript ( window.opener.location.reload(true) ), but my customer don't allow me to use Javascript.

There is no problem Timo. I'm actually glad that you responded. You're a person that works with ADF for a long time so you know what can be or not easily done, so many thanks.
I'm going to ask you another question so i don't have to open a new topic and cause a little spam on the forum.
Is there any way to have more than 2 attributegroups working in my treemap, or in another words, more than 2 ifs in my treemap to color the elements by more than 2 colors or patterns?
I have this:
<dvt:treemapNode value="#{row.Store}" label="Store: #{row.Store},  amount: #{row.Amount}" id="tn2" drilling="replace">
     <dvt:attributeGroups value="#{row.Amount lt 10000000}" type="color" id="ag5" label="#{row.Amount lt 10000000 ? 'Abaixo dos 10.000.000' : 'Abaixo dos 20.000.000'}"/>
     <dvt:attributeGroups value="#{row.Amount lt 20000000}" type="color" id="ag7" label="Amount less than 20.000.000"/>
</dvt:treemapNode>
If i try to put another attributeGroups, it will not work, for example, for the tests, i've try to add a attributeGroup for an especific amount and all my elements got colored.
Don't know if it is important but i have a hierarchy in my treemap.
Any ideias Timo?
Regards and many thanks.

Similar Messages

  • How to close child windows when parent window closed in jsp

    how to close child windows when parent window closed in jsp
    becoz it can't be able to recognise it's parent
    with the whole application
    plz send me some sample code of it

    Hi, I have no idea how to do this is JSP.
    However createing a modal window (with javascript) would mean that the user can not use the parent window untill he closes the child window. However not sure if this is what you are searching.
    Otherwise you can detect the onClose (I think) and close the window from there.
    However both the above are JavaScript and not JSP.
    rwgards,
    sim085

  • Is it possible that my update stats used only correct tables?

    Whenever there is a schedule maintenance run I receive a error:
    Executing the query "UPDATE STATISTICS [Perf].[PerfHourly_F65954CD35A54..." failed with the following error: "Table 'PerfHourly_F65954CD35A549E886A48E53F148F277' does not exist.". Possible failure reasons: Problems with the query, "ResultSet"
    property not set correctly, parameters not set correctly, or connection not established correctly.
    Is it possible that my update stats used only correct  tables?
    Thanks

    Use below script ...(change if required)
    USE [dbname]
    go
    DECLARE @mytable_id INT
    DECLARE @mytable VARCHAR(100)
    DECLARE @owner VARCHAR(128)
    DECLARE @SQL VARCHAR(256)
    SELECT @mytable_id = MIN(object_id)
    FROM sys.tables WITH(NOLOCK)
    WHERE is_ms_shipped = 0
    WHILE @mytable_id IS NOT NULL
    BEGIN
     SELECT @owner = SCHEMA_NAME(schema_id), @mytable = name
     FROM sys.tables
     WHERE object_id = @mytable_id
     SELECT @SQL = 'UPDATE STATISTICS '+ QUOTENAME(@owner) +'.' + QUOTENAME(@mytable) +' WITH ALL, FULLSCAN;'
     Print @SQL
     EXEC (@SQL)
     SELECT @mytable_id = MIN(object_id)
     FROM sys.tables WITH(NOLOCK)
     WHERE object_id > @mytable_id
      AND is_ms_shipped = 0
    END
    Or use below for required table only but it will not execute only generate script, make change as per ur requirements:
    SELECT X.*,
      ISNULL(CASE
        WHEN X.[Total Rows]<=1000
        THEN
          CASE
            WHEN [Percent Modified] >=20.0
            THEN 'UPDATE STATISTICS ' + [Schema Name] + '.' + [Table Name] + ' WITH ALL, FULLSCAN  --20% Small Table Rule'
          END
        WHEN [Percent Modified] = 100.00
        THEN 'UPDATE STATISTICS ' + [Schema Name] + '.' + [Table Name]     + ' WITH ALL, FULLSCAN  --100% No real Stats Rule'
        --WHEN X.[Rows Modified] > 1000
        --THEN 'UPDATE STATISTICS ' + [Schema Name] + '.' + [Table Name]     + ' WITH ALL, FULLSCAN  --1000 Rows Modified Rule'
        ELSE
          CASE
            WHEN X.[Total Rows] > 1000000000 --billion rows
            THEN CASE
                   WHEN [Percent Modified] > 0.1
                   THEN 'UPDATE STATISTICS ' + [Schema Name] + '.' + [Table Name]     + ' WITH ALL, FULLSCAN  -- 1B Big Table Rule'
                 END
            WHEN X.[Total Rows] > 100000000  --hundred million rows
            THEN CASE
                   WHEN [Percent Modified] > 1.0
                   THEN 'UPDATE STATISTICS ' + [Schema Name] + '.' + [Table Name]     + ' WITH ALL, FULLSCAN  -- 100M Big Table Rule'
                 END
            WHEN X.[Total Rows] > 10000000   --ten million rows
            THEN CASE
                   WHEN [Percent Modified] > 2.0
                   THEN 'UPDATE STATISTICS ' + [Schema Name] + '.' + [Table Name]     + ' WITH ALL, FULLSCAN  -- 10M Big Table Rule'
                 END
            WHEN X.[Total Rows] > 1000000    --million rows
            THEN CASE
                   WHEN [Percent Modified] > 5.0
                   THEN 'UPDATE STATISTICS ' + [Schema Name] + '.' + [Table Name]     + ' WITH ALL, FULLSCAN  -- 1M Big Table Rule'
                 END
            WHEN X.[Total Rows] > 100000     --hundred thousand rows
            THEN CASE
                   WHEN [Percent Modified] > 10.0
                   THEN 'UPDATE STATISTICS ' + [Schema Name] + '.' + [Table Name]     + ' WITH ALL, FULLSCAN  -- 100K Big Table Rule'
                 END
            WHEN X.[Total Rows] > 10000      --ten thousand rows
            THEN CASE
                   WHEN [Percent Modified] > 20.0
                   THEN 'UPDATE STATISTICS ' + [Schema Name] + '.' + [Table Name]     + ' WITH ALL, FULLSCAN  -- 10K Big Table Rule'
                 END
            END
      END,'') AS [Statistics SQL]
    FROM (
    SELECT  DISTINCT
            DB_NAME()   AS [Database],
            S.name      AS [Schema Name],
            T.name      AS [Table Name],
            I.rowmodctr AS [Rows Modified],
            P.rows      AS [Total Rows],
            CASE
              WHEN I.rowmodctr > P.rows
              THEN 100
              ELSE CONVERT(decimal(8,2),((I.rowmodctr * 1.0) / P.rows * 1.) * 100.0)
            END AS [Percent Modified]
    FROM
            sys.partitions P
            INNER JOIN sys.tables  T ON P.object_Id = T.object_id
            INNER JOIN sys.schemas S ON T.schema_id = S.schema_id
            INNER JOIN sysindexes  I ON P.object_id = I.id
    WHERE P.index_id in (0,1)
      AND I.rowmodctr > 0
    ) X
    WHERE [Rows Modified] > 1000
    ORDER BY [Rows Modified] DESC
    Please click "Propose As Answer"
    if a post solves your problem, or "Vote As Helpful" if a post has been useful
    to you

  • Popup form refreshing parent window

    We have a main parent page, from which you can do many things
    (among them add a file, delete a file, replace a file, where
    replace is basically delete then add) - the way it's coded, when
    you first go to the page, the parameters are in the URL; if you add
    a file, they stay in the URL, and everything's happy; if you
    replace or delete a file, though, the URL gets stripped of the
    parameters (since they're now in form variables). If you *then* go
    to add or replace a file after replacing or deleting, when the
    popup that lets you choose the file to add closes and tries to
    refresh the parent, you get the annoying "to display this webpage
    again, Internet Explorer needs to resend form data..." popup. If
    the user clicks "retry", it works just fine, but I'd like to
    eliminate the annoyance if at all possible.
    Right now, the refresh parent/close popup is being
    accomplished with javascript:
    opener.location.reload(true);
    self.close();
    The root of the problem seems to be that the delete function
    doesn't need a popup, and so doesn't retain the full URL with
    parameters, and I could do a lot of work to change that, but I'm
    wondering if there's any other way around this that might be
    simpler, since it's not something that comes up often or even
    causes any functional problems, but is annoying.

    Bummer.
    I actually already tried that, but I think because we're
    using fuseactions, it took me back to the default page for that
    URL, which is not the same page. Ah, well.

  • Refreshing parent window

    Hi
    My window is opening a pop up window which is itself a jsf, however when this pop up window get closed i need to refresh the parent window that loaded it (in example a compose mail window is loading a select contact window, the select contact window is updating a bean with the selected contact) how do i refresh the parent window with the selection from the popup jsf window?

    I guess not. Write it yourself or wait for somebody else to do it (MyFaces?).
    I should let somebody more knowledgeable than me answer, but I'll take a shot at what I think they might say (except they'd probably take the time to be much more diplomatic): the JSF RI you download from Sun is only supposed to be a starter kit. JSF is a specification, not a product. The specification includes some basic html behavior that you can be sure all conforming implementations will support. Furthermore, it's intended to be something foundational, not really an end-user product. The expectation is that vendors will proceed to develop wonderfulness using JSF as a basis.
    (You have a reminder set to check this thread every 3 days, don't you? :)
    John.

  • Refreshing Parent Window on Close of Child Window

    I need to open a new popup window/tab using window.open method of javascript and on close of the new tab/popup window have to return some values from closing window to parent window. When I open a popup suing window.open in my asp .net application which is supposed to be compatible with iPad. Value has successfully been returned when I use IE, Chrome, FireFox and Safari (on PC with windows 7).
    Unfortunately the same code fails in Safari when I access the application through iPad. On iPad domObject is prompted on new window open instead of prompting returned value on new window close.
    Below is the code. Parent Window:
    Parent Window:
    <script type="text/javascript">
            function modalWin() {       
                    retVal = window.open('About.aspx', 'name', 'height=255,width=250,toolbar=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no ,modal=yes');
                    alert(retVal);
        </script>
    //HTML
    <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <a title="Test New Popup" onclick="modalWin();">New Popup for all browsers.</a>.
    </asp:Content>
    Popup window or new tab:
        <script type="text/javascript">
            function closeIt(tempValue) {
                window.returnValue = tempValue;
                window.close();
        </script>
    //HTML:
    <input id="btnButton1" value="btnButton1" type="button" title="Press it to Close" onclick="closeIt('btnButton1');" />
        <br />
        <input id="btnButton2" value="btnButton2" type="button" title="Press it to Close" onclick="closeIt('btnButton2');" />
        <br />
        <input id="btnButton3" value="btnButton3" type="button" title="Press it to Close" onclick="closeIt('btnButton3');" />

    HI for your reference
    am opening the new window by using
    <i><b>page navigation property</b></i> in that I am setting the
    Launch a new window  :   display in seperate window
    now if i close the main window ie potral screen i want the window which is opened through this also to be closed
    regards
    Abhijith YS

  • Re: Is it possible to completely recover VistaOS using only Recovery DVD?

    Hidden WinRE partition was deleted by mistake but I still got the original Recovery DVD for my A200.
    Is it possible to completely recover VistaOS without the WinRE partition, using only Recovery DVD?

    Of course.
    The Toshiba Recovery CD was designed to recover the notebook.
    Using the recovery CD you will get the factory settings.
    But note; the Toshiba recovery CD formats the whole HDD and erases the partitions from the HDD.
    Greets

  • Set Parent window using User32 at lv7.1

    Hello all,
    I am using User32.dll to make a parent-child relationship between two VIs. I use SetParent function, and pass the handle of parent VI and child VI to this function. Now, after this relationship has been established, the child window postion is not fixed when refresh, attachment is my source code , Can anyone help me on this?
    Thanks in advance!
    Attachments:
    Sample.zip ‏47 KB

    I think there are actually several not necessarily related issues here. First of all when I tested this program in LabVIEW 8.6 (not having had an older version handy at that moment) the first thing I noticed, was that the VI never got parented at all. The reason was simply the data type mismatch in the handle between what Get Window Handle returns and what Add Child uses. Once I fixed that it worked like a charm with no jumping whatsoever.
    So I did a test in LabVIEW 7.1 just now and indeed it does jump there. But, I wouldn't exclude that LabVIEW 7 migh have done it correctly for the OS (W2K) that was current at that time it came out. But there are really at least two solutions: Upgrade to a newer LabVIEW version, at least 8.6 works fine (8.2.1 didn't I just checked) or don't call the VI continously but let it run as an independant "process" and pass data by other means than through the connector pane (personally I would point out that globals are a bad way for this )
    And by the way, almost all Windows handles are actually pointer sized entities so if you happen to use such window managment VIs in LabVIEw 8.6 or higher it is advisable to not configure them as U32 but as pointer sized (unsigned) integer instead
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Possible to force X to use only user listed modes?

    Section "Screen"
    Identifier "amdcccle-Screen[1]-0"
    Device "amdcccle-Device[1]-0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1920x1080" "1280x960" "800x600" "960x540" "640x480"
    EndSubSection
    EndSection
    This is my screen section in xorg.conf file. I would like to only have these resolutions available and not the rest of the crap (built-in standard vesa modes, etc...). Is that possible somehow?

    That's not important. What is important is that I want to use exactly these modes and nothing else.

  • Problem in refreshing html page using LinkToURL API

    Hi all,
    I use LinkToURL in order to open a html page in a new window. My problem is that this html file is changed (the name is the same but the contents is diff) dynamically. I click on the link and the window is open, but later on when the html file is changed and I reopen the window it shows the old html file. Is it possible to refresh this window automatically every time when it is opened? Otherwise the user has to press Refresh button in order to see the new html file.
    10x for your help.
    Svetlomira

    Hi Svetlomira,
    Do you have access to html file? Can you changed it?
    Or you can use following approach: if html is static (not jsp or asp or similar)
    you can append System.currentTimeMillis() to the html file name after '?' sign:
    final String nonCachedURL = "http://www.domain.com/index.html?" + System.currentTimeMillis();
    You can achieve this by using calculated context attribute and bind it with LinkToUrl`s reference proprty.
    Best regards, Maksim Rashchynski.

  • Calling a Function in the Parent Window from the Child Window

    QUESTION: How do I call a function resident in the parent
    window from a child window?
    BACKGROUND
    I have a JavaScript function resident in the parent window
    that reformats information obtained from the Date object and writes
    the result to the parent window using the document.write( ) method.
    I would like to call this function from the child window and have
    it write to the child window instead. Is this possible? If not,
    must I rewrite the entire function and nest it in the below code?
    If so, what is the proper form of nesting?
    CODE: The code that creates and fills the child window is
    provided below. The highlighted area indicates where I would like
    to enter the information from the function resident in the parent
    window. I have tried every imaginable permutation of code that I
    can imagine and nearly destroyed my parent document in the process.
    I am very happy that I had a back-up copy!
    function openCitationWindow() {
    ciDow = window.open("", "", "width=450, height=175, top=300,
    left=300");
    ciDow.document.write("A proper way to cite a passage of text
    on this page:<br /><br />Stegemann, R. A. 2000.
    <cite>Imagine: Bridging a Historical Gap</cite>. " +
    document.title + ". [<a href='" + location.href + "'
    target='_blank'>online book</a>] &lt;" + location.href
    + "&gt; (");
    MISSING CODE;
    ciDow.document.write(").<br /><br /><input
    type='button' value='Close Window' onclick='window.close()'>");
    ciDow.focus();

    Never mind - I was doing something very stupid and wasn't
    calling the function as a method of a movie clip. I was simply
    calling checkTarget(event) rather than
    event.currentTarget.checkTarget(event); which seems to work.

  • How to pass value to pop up window using javascript function?

    I am not sure how to do this, I want to open new window from existing form,This is Mod/PLsql for consists some javascript functions also. When I am clicking on new window in form then new form should open with results of value entered,but new window form is opening with main page :( , not able to get text box value from parent form. How to call textbox input value in popup window from parent window using javascript?
    currently I'm using following code:
    HTP.p('<script type="text/javascript">
    function pop_up5()
    var l_url=window.opener.document.getElementById("p_single_store_pc").value;
    window.open(l_url, '''', ''fullscreen=no, scrollbars=1'');
    </script>' );
    Edited by: user11970612 on Jun 14, 2012 5:02 AM

    this is probably due to the Javascript code and not a "real link" to another page... I don't know if the null is due to the Javascript...
    But if you really really want to use javascript instead of a ... you can pass the location of the url with JSP (on your main page) as a parameter to the open window... (...) u can put instead of main.jsp <%= request.getServerName()+request.getRequestURI() %>
    the value <%= ... %> will return something like test.com/html/main.jsp
    Hope this helps.

  • Refresh the window only one time

    hi,
    i want to refresh my window only one time using the javascript code window.location = window.location.href. But i am in a situation to write the code in the event of form load. so i the code is executing infinitely. but i want to refresh my window for only one time. any suggestion would be appreciated. thanking u
    rgds
    parameswaran

    Send a URL param with it, then check for that param before refreshing.
    And this isn't really JSP-related.

  • Can I limit where a child window can move inside the parent window?

    I was wondering if it is possible to define a region of the parent vi window that a child window must be contained within so that the child window cannot be drug over my vi buttons and controls on the side.
    Thanks

    For child window, take a look G Toolbox at:
    http://gtoolbox.yeah.net
    To limit window position, you've to catch the window move event, and
    check the window position, move it back if needed.
    Sprinter wrote:
    > I've had the same problem like cjs.
    > I think your answer (Labviewguru) is OK byt it isn't exactly what I and (I
    > think) cjs need.
    > I need the child window always was on the top of parent window (and only
    > parent window not other windows), even when the parent is being clicked and
    > is active.
    > The child window should minimize to the bottom of parent, not to the Windows
    > taskbar.
    > I know winutil.llb but it doesn't work exactly in required (by me
    > certainly) way.
    > If you have any other suggestions I'd be grateful.
    >
    > Gregor
    >
    >
    >
    > Uzytk
    ownik "cjs" napisal w wiadomosci
    > news:[email protected]..
    >
    >>I was wondering if it is possible to define a region of the parent vi
    >>window that a child window must be contained within so that the child
    >>window cannot be drug over my vi buttons and controls on the side.
    >>
    >>Thanks
    >
    >
    >

  • Accssing web applcation in weblogic server using only https

    There was a demo certificate that comes with the weblogic. I installed that certificate,
    but I still can accesse the application using http. is it possible to access
    the application using only https..?
    Mohamed

    Instead of using defaultauthenticator, you need to create RDBMS Authentication Providers inside myrelam of weblogic server.
    http://docs.oracle.com/cd/E13222_01/wls/docs92/secmanage/atn.html#wp1204622
    Regards,
    Sunil P

Maybe you are looking for

  • Opportunity Product Revenue report using Narrative option

    Hi, I have created quote report using "Opportunity product revenue report" with the use of narrative option and its working fine but the problem here is if opportunity has multiple product revenue items it shows in multiple quotes. For me it should s

  • Photoshop cs5 mac os x 10.5.8 crash on launch

    After a fresh install of cs5, photoshop will not launch and provides the report below. Illustrator and InDesign launch without issue.  Previous versions of photoshop on the machine launch without issue. I have attempted: Repair permissions, updating

  • Mail messages won't load in Mail 4.5

    After a seeming successful installation of Snow Leopard, my Mac Mail also seemed to update properly (4.5). All my incoming items are listed. However, after double clicking on any e-mail in the inbox, a window opens up with the title of the e-mail, bu

  • How do i get ios 3.1.3 for my old ipod touch?

    My Ipod tich is now 5 years old. When I try to download an app like Public Radio Tuner, I get an error message that I require Ios 3.1.3. But when I go to Itunes and ask for an update I get the message that the operating system is up to date. Any solu

  • How to calculate the area of polygon in WPF Bing map?

    Hi everyone, I have a polygon on Bing Map WPF and want to calculate its area in square feet. I used a list contained all points of the polygon to calculate using this formula: area += (point.X * nextPoint.Y - point.Y * nextPoint.X)/2. However, the re