Popup new page

Hi.
Is it possible to open a popup window from an applet much like showDocument() but only show a frame without the navigation bar etc. More like, a new Frame not a new Browser window.
Thanx.

<pre>
private void buildInterface(int typeOfScreen) {
          if(!interfaceOpen) {
               popup = new Frame("Planet Systems Interface");
               popup.setSize(300,400);
               popup.setBackground(Color.black);
               popup.setLayout(null);
               popup.show();
               interfaceOpen = true;
               popup.addWindowListener(new WindowAdapter() {
               public void windowClosing(WindowEvent e) {
                              closePop();
               pif = new PlanetInterface(applet, this, talker, typeOfScreen);
               popup.add(pif);
</pre>
some of the code from my online game, when you call buildInterface(1) you get a popup frame
hth

Similar Messages

  • Can you open a second jsp page as popup/new window?

    Hi all gurus!
    I have a question regarding popups/new windows in an iview application. Instead of starting with a question let me instead describe what I want to do.
    We have a jsp page that presents a search and then the search result in a table where one column is "clickable". When the user clicks a cell a server round trip retreives data specific for that cell value. This is standard functionality and already fixed so here is what differes: we want a new jsp window to open like a popup, with the data retreived from the server round trip and at the same time the first page with the table shall still be there so that you just can close the popup and click the next cell which creates a new server round trip and a new jsp popup and so on.
    My solution which doesn't work yet: In application "a" I have a JavaScript for the clicked cell which opens another iview application "b" in a new window, by window.open("navurl_to_the_iview"), and that works fine.
    At the same time the value of the clicked cell is written to the data bean and the bean is put in the http session (since component session does not reach between applications).
    The second iview "b" retreives the bean from the http session and fills the jsp page with data.
    Here is now the problem: no data is displayed and this because the iview "b" retreives the bean BEFORE iview "a" has been able to put the bean/value into the http session. How do I know this for sure? Simple, if I do a refresh of iview "b" the value is displayed.
    I could do a JavaScript that recursively checks if the value in the bean is null or not but then I have to do a method that retreives the bean from the http session each time.
    This could work but I wonder if this is the most simple solution. So my question for you gents and madams is: do you know of a more simple solution?
    Best regards
    Benny Lange
    Edited by: Benny Lange on Oct 6, 2009 11:33 AM

    Hi you all.
    In this case the solution was to pass the id in the url to the second iview and let that iview use the id to retreive data from the backend system.
    But I still think the question is interesting, if it's possible to open a second jsp window after a server round trip and still have the first one open.
    All the best
    Benny

  • Need help on filtering out one record from a report and open in new page

    Hi I am new and embarrassed to write in the forum asking silly questions. Thing is I am learning all from scratch without help from anyone. I have created a database (have previous knowledge only from Access) and have managed to create a beautiful report from a search filter. This report lines up several records matching what I needed. Now, I want to make the whole report with hyperlinks to a detailed page on each of the records in the report. I have tried using the feature where one can make one column hyperlinked and redirect to a new page, where I am getting all the records again - instead of only getting the record I am clicking on. I have looked and looked in the forums without finding solution and I have tested and tried various methods without luck. I am suspecting that I need some sort of knowledge on how to write a select query with where conditions that can apply to filtering out a record from one report to get another detailed on only one object (i.e. record). :/ Stupid or what?

    Hrefna.
    What you need to look into is two things:
    1) The link you defined, needs to set additional attributes for the target page. In the "Column Link" box, you have set the link to "Page in this Application" and followed by the page number (let's say, Page 10). Below that, you should set an Item to an item on you target page (let's call that P10_PRODUCT_ID). This item should be the primary key of your detail table (on the targe page). You can select this item from the popup list. The Value of the item should be picked from a popup list as well, being the value from the record you clicked on. This should then transfer your selected item to your page. The URL will then have something like P10_PRODUCT_ID:5 at the end.
    2) On the target page, 10, you must change the query slightly, so that it adds a WHERE clause:
    WHERE PRODUCT_ID = :P10_PRODUCT_ID
    Now, you should be set.
    Hope this helps.
    Borkur

  • New page on click of absolute url

    I need IE to open new page of the absolute url when user click the url on initial page, but as result the new page always replace the inital page but not open a new session, I also refer to the threads in the forum like adding "sap-sessioncmd=open" or "syscmd=nocookie" but still does not work, can anyone give me any suggestion?following is my coding:
    Layout of the page1.htm:
    <htmlb:link id = "link1"
                text = "google with new session"
                reference = "http://www.google.com"
                target    = "_BLANK"
                onClick   = "LinkClick">
    <htmlb:link>
    OnInputProcessing:
      if event_id = cl_htmlb_manager=>event_id. " HTMLB event?
        data: lr_htmlb_event type ref to cl_htmlb_event.
        lr_htmlb_event = cl_htmlb_manager=>get_event( request ).
        if lr_htmlb_event is not initial.
          if lr_htmlb_event->server_event = 'LinkClick'.
            call method navigation->use_absolute_url.
            call method navigation->goto_page
              exporting
                url = 'http://www.google.com/ncr?sap-sessioncmd=open'
    *          url = 'http://www.google.com/ncr?sap-syscmd=nocookie'
                session = 'NEW'.
          endif.
        endif.
      endif.
    Message was edited by: Patrick Yan

    now i got a few minutes to work on this.
    here is a sample code.
    in the layout of the flow logic:
    i am using button for example,
    1) <htmlb:button id = 'CONTINUE'
          text          = "Continue"
          onClick       = "OnInputProcessing(continue)" />
    2) create a page attribute called index and also link the 'continue' page to the same page in the BSP
    3)in the layout
    <% IF INDEX = '1'.(use the dynamic link)
    l_url = 'http://www.google.com/'. %>
        <script type="text/javascript">
      <!--
        window.open("<%=l_url%>","ErrorLog","width=400,height=250,left=250,top=200 dependent=yes resizable=yes");
      //-->
    </script>
    4) in the oninput processing of this page
    assign event
      l_event = cl_htmlb_manager=>get_event( runtime->server->request ).
      IF l_event->id = 'CONTINUE'.
      l_index = '1'.
           navigation->set_parameter( name  = 'INDEX'
                                 value =  l_index ).
        navigation->NEXT_page( 'CONTINUE' ).
    endif.
    so when you click on the button you should get the google page in a popup.
    this is working for me. let me know if you are still having problms.
    regards,
    manasa

  • I have an iPad 2, and every time ii attempt to open a new page "about blank" appears. What can I do to get rid of this from my system baring in mind that I am not particularly computer literate.  Many thanks

    I have an I pad 2, and when I attempt to open a new page "about blank" appears. What can I do to remove this from the system baring in mind that I am not particularly co outer literate.
    Many thanks

    Is this in safari?
    try going into settings, safari and clear history. You may also want to clear cookies (means you will need to sign back into sites)
    It's possible that that page is a popup ad of some sort that can't run, for example a flash based ad.  You may have picked the cookie up browsing the internet and now that it's in there the only way to get rid of it is to clear your history and cookies.

  • With firefox, how do I bookmark a new page into folder contained in From Internet Explorer?

    i imported IE favorites into firefox bookmarks. my IE favorites contained many folders with different categoties of information......eg., folders for car repair, investments,etc. now that i am using firefox, how do i
    bookmark a new page into one of the existing IE favorite folders? I have tried every option I could think of using the options shown when i click bookmark this page.......i am getting as far as FROM INTERNET EXPLORER, but i can't seem to find a way to reach one of the sub-folders within the FROM INTERNET EXPLORER folder? also, nothing is happening when i click on the star symbol to the right of the address space?

    thanks for the suggestion....sounds good to Old Goofy! Before your response was received, I continued to fiddle with the popup box that appears when you click the "bookmark this page". in my fiddling, i noticed that at least once, a litlle small solid triangle appeared just before From IE....I clicked on that little triangle and voila, there were all my sub-folders under the main IE folder!!! Nowhere in all the old posted Firefox support had I seen I clear illustration of doing this......probably I missed it or I'm just a dumbie?
    Meanwhile, if anyone is having all kinds of strange problems with computer, and no browsers including IE, with the exception of Firefox, are working properly, if you have Norton Security on your computer and it al;so is not working properly, UNINSTALL NORTON!!!!!!!!!!! That was my situation, to the extent HP free support was going to help me wipe the drive and try to put the computer back "as new", but using a different security program!!!!!

  • BUG: Popup in page fragment; with many regions and popup binded to backing.

    BUG: Popup in page fragment; with many regions and popup or parent binded to backing bean.
    JDEV11.1.2.1 Popup will not popup.(sometimes works if using RichPopup.Show() in backing bean Java code.)
    I have a bug (Popup will not popup)that only happens when I have more than one of the same region.
    And I have a popup in the page fragment is binded to backing bean.
    My SR guy is out today but we plan to enter one.
    test.jspx
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
        <jsp:directive.page contentType="text/html;charset=UTF-8"/>
        <f:view>
            <af:document title="test" id="d1">
                <af:form id="f1">
                    <af:panelGroupLayout id="pgl1" layout="horizontal">
                        <af:outputText value="BUG JDEV11.1.2.1 and IE7. Broken Popup! If I have a jsff fragment and I have many regions of this fragment."
                                       id="ot2"/>
                        <af:outputText value="Inside the fragment I have a popup. If that popup or its parent are binded to a Backing Bean the popup doesn't work."
                                       id="ot1"/>
                    </af:panelGroupLayout>
                    <!-- with a single region it also works (with bindings in place in fragment). -->
                    <af:region value="#{bindings.taskflowemp1.regionModel}" id="r1"/>
                    <af:region value="#{bindings.taskflowemp2.regionModel}" id="r2"/>    
                    <!--
                    <af:region value="#{bindings.taskflowemp3.regionModel}" id="r3"/>
                    <af:region value="#{bindings.taskflowemp4.regionModel}" id="r4"/>
                    -->
                </af:form>
            </af:document>
        </f:view>
    </jsp:root>region.jsff
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
      <af:group id="g1">
      <!-- If I remove the binding for popop or popup group, the popup works fine. -->
    <!--Working code here
        <af:group id="g2">
          <af:popup childCreation="deferred" autoCancel="disabled" id="p1" >
        -->
           <!-- Problem code here   -->
        <af:group id="g2" binding="#{TestBean.popupGroup}">
          <af:popup childCreation="deferred" autoCancel="disabled" id="p1" binding="#{TestBean.testPopup}"> 
            <!-- End problem code -->
            <af:dialog id="d2" title="Dialog Title">
              <f:facet name="buttonBar"/>
              <af:outputText value="Dialog Contents" id="ot100"/>
            </af:dialog>
          </af:popup>
        </af:group>
        <af:panelGroupLayout id="pgl1">
          <af:panelBox text="Region" id="pb1">
            <f:facet name="toolbar"/>
            <af:commandButton text="showPopupBehavior" id="cb1" >
              <af:showPopupBehavior popupId="p1"/>
            </af:commandButton>
            <af:commandButton text="AdfPage.PAGE.findComponent JavaScript" id="cb2" actionListener="#{TestBean.popupTestJavaScript}"/>
            <af:commandButton text="RichPopup.Show() Java" id="cb3" actionListener="#{TestBean.popupTestJava}"/>
          </af:panelBox>
        </af:panelGroupLayout>
      </af:group>
    </jsp:root>TestBean.java
    package view;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ActionEvent;
    import oracle.adf.view.rich.component.rich.RichPopup;
    import org.apache.myfaces.trinidad.component.UIXGroup;
    import org.apache.myfaces.trinidad.render.ExtendedRenderKitService;
    import org.apache.myfaces.trinidad.util.Service;
    public class TestBean {
        private RichPopup testPopup;
        private UIXGroup popupGroup;
        public TestBean() {
        public void setTestPopup(RichPopup testPopup) {
            this.testPopup = testPopup;
        public RichPopup getTestPopup() {
            return testPopup;
        public void popupTestJava(ActionEvent actionEvent) {
            if(testPopup != null){
                RichPopup.PopupHints ph = new RichPopup.PopupHints();
                testPopup.show(ph);
            }else{
                System.err.println("TestBean.testPopop IS NULL!");
        public void popupTestJavaScript(ActionEvent actionEvent) {
            showPopupTest("r1:0:p1");
        private static void showPopupTest(String popupId) {
            FacesContext facesContext = FacesContext.getCurrentInstance();
            ExtendedRenderKitService service =
                Service.getRenderKitService(facesContext,
                                            ExtendedRenderKitService.class);
            service.addScript(facesContext,
                              "AdfPage.PAGE.findComponent('" + popupId + "').show();");
        public void setPopupGroup(UIXGroup popupGroup) {
            this.popupGroup = popupGroup;
        public UIXGroup getPopupGroup() {
            return popupGroup;
    }

    Thanks that fixed the problem.
    "a user error"
    Well I followed your book! Chapter 6 of the "Oracle Fusion Developer Guide - Working with Bounded Task Flows in ADF Regions". I think this comes back to book writer error. I found almost no mention of BackingBeanScope in this chapter. Don't you think this would be an important note?
    "did you know that there is a Java API (on the RichPopup instance) to launch a popup ?"
    Yes I posted in my code! If you read the above code you would see it there.
    I don't really understand why the scope of the bean has anything to do with af:showPopupBehavior or AdfPage.PAGE.findComponent.

  • Clicking on 'ADF Calendar Component activity' should navigate to New page

    Jdeveloper Version - 11.1.2.0.0
    We implemented the ADF calendar component and it displays fine. However, we have a requirement that by clicking on the activity, it should navigate to another new page. For an activity, there are options like contextMenu, acitivtyHover, activityDetail etc.., where all shows the details in popup of the same page. We want to navigate to new page by clicking on the activity. Is it possible?
    Thanks in Advance.

    Hi,
    I don't think it is possible.
    All the facets you mentioned support only af:popup as child to them.
    http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_calendar.html
    -Arun

  • New Page Format implentation in Sap Scripts and Reports

    Hi,
       I want to print Report details and also some of the SAP Script details on the paper size of 350MM width and 310MM Height in the PORTRAIT format.
       So i created new page format with these dimensions.
       How i can use this for reports. So i can set these parameters while taking output from Report.
       Pls specify if any configuration required for this.
    Thanks in Advance,
    Regards,
    Pavan.

    In SAPscript, you set the Page Format for the document in the "Page Format" field of the "Basic Settings" page of the documents "Header" information. The popup list of this field will show all available formats in your system, so this is a ggod way to make sure your new format is set up properly.
    For reports, page format is set either with the LINE-SIZE addition to the REPORT and NEW-PAGE commands, or through the PARAMETERS addition to the NEW-PAGE command. When you use LINE-SIZE the print system picks the format for you, based on the available formats in the systems.
    I don't remember if there is an activation step for Page Formats, or if saving is all you have to do.

  • Is it possible to open Account Search window in a new page

    Hi All,
    Is it possible to open Account Search window in a new page instead of displaying Account Search on Work center page.
    Any pointers will be helpful.
    Thanks,
    Udaya

    Have a look at the NavBar component and the generic workcenter component. If you are lucky, they utilize one common method for navigation. I would try to put some custom coding in there and use it to open the new link inside a popup.
    Never tried it before as the necessity never occured to me. Thus I can not help you any further. It is just an idea.
    Maybe you get some good results and can post them here
    cheers Carsten

  • Calling new page from Portal menus

    I have created a portlet which contains a menu generated using the Menu Wizard and the LINK within this menu was populated using the popup window provided within the menu editor. Any Forms or Reports called from this menu are not generated as a new page. I have gone into the portlet repository and defined these reports / forms as an applicaton that should open in new window but it still doesn't work.
    How can I get the applications that are called via the LINK in a Menu to break out into a new window without having to hardcode each LINK Menu item.

    Hi,
    Portal menus works that way. The links open in the same page. If you want to open it in a new window
    then in the menu wizard where you specify the links, call the link using javascript like this
    javascript:void open('<portal_schema>.CAL_0520032153.SHOW')
    or
    javascript:void open('http://www.oracle.com')
    This will open the calendar or the url in a new window.
    Thanks,
    Sharmila

  • Disable app link when opening new page in safari

    I am wondering if there is a way to turn off the app link that appears in Safari when opening a new page on websites that have apps available. This is super annoying to me because if I wanted to open the app, or install the app for that matter I WOULD OPEN OR INSTALL IT MYSELF, lol. I don't need a popup taking up screen space, slowing down how Safari loads and operates. This pops up every time I load a new Google page, or Amazon page - etc, whether I have the app installed or not. I've been all through the settings and searching the web and I cant find any way to turn this "feature" off. Can anyone out there help me please?

    Hi Scooter!
    Thanks for posting a Presuming "SOLUTION"
    I don't have these problems as you described, but did you drag the Cookies.plist to the desktop and relaunch Safari an try to open a NEW TAP.
    What happens now ... is Safari handling opening a new tap from the TOP SITE window?
    Post back ...
    Dimaxum

  • Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount 28

    Post Author: tadj188#
    CA Forum: Formula
    Needed: Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount > 28
    Background:
    1) Report SQL is created with unions to have detail lines continue on a page, until it reaches page footer or report footer, rather than using  subreports.    A subreport report is now essentially a group1a, group1b, etc. (containing column headers and other data within the the report    with their respective detail lines).  I had multiple subreports and each subreport became one union.
    Created and tested, already:
    1) I have calculated @TotalLineForEachOfTheSameGroup, now I need to sum of the individual same group totals to get the total line count on a page.
    Issue:
    1) I need this to create break on a certain line before, it dribbles in to a pre-printed area.
    Other Ideas Appreciated:
    1) Groups/detail lines break inconveniently(dribble) into the pre-printed area, looking for alternatives for above situation.
    Thank you.
    Tadj

    export all image of each page try like this
    var myDoc = app.activeDocument;
    var myFolder = myDoc.filePath;
    var myImage = myDoc.allGraphics;
    for (var i=0; myImage.length>i; i++){
        app.select(myImage[i]);
        var MyImageNmae  = myImage[i].itemLink.name;
        app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.high;
        app.jpegExportPreferences.exportResolution = 300;
           app.selection[0].exportFile(ExportFormat.JPG, File(myFolder+"/"+MyImageNmae+".JPEG"), false);
        alert(myImage[i].itemLink.name)

  • Open Jasper Report in new page using servlet

    Guys,
    Looks very simple but i am having problem making this process work. I am using 11.1.1.4
    This is my use case:
    - From a employee page, user clicks on a menu item to open report for current employee. I need to pass appropriate report parameters to servlet and open report into new page.
    I can successfully call servlet using commandmenuitem and set request parameters and call servlet from backing bean.... but that doesn't open report in a new page.... any way i can do this?
    Another option i tried was that using gomenuitem and setting target=blank but in that case i need to pass the parameter using servlet url which i like to avoid.(in case i need to pass many parameters in future) (also values will be set on page so i need to generate url when then click the menuitem...... so there are some hoops and loops i need to go through) I don't know a way to pass the request parameter using backing bean to servlet... i don't think it is possible.
    Those are the two approaches i tried.
    If you have any better approach...I would appreciate if you can let me know. (i have searched on internet for two days now.... for the solution)
    -R
    Edited by: polo on Dec 13, 2011 7:22 AM

    Hi,
    Hope following will useful
    http://sameh-nassar.blogspot.com/2009/10/using-jasper-reports-with-jdeveloper.html
    http://www.gebs.ro/blog/oracle/jasper-reports-in-adf/

  • How do I move page order in Thumbnails view in the new pages? (which is driving me nuts btw)

    I'm really struggling with the new pages, having used the old version so much I just can't get the hang of this one - so much has changed:( Really wish I hadn't bothered but now have too many documents created in it that I can't open on old version as it doesn't let you (mump mump - well I am scottish).
    So in the old version I used thumbnail view to move about the order of the pages (really useful when making up artwork for magazines etc). Anyone know how to do it on the new version?
    Also can't seem to view document in '2 up' - 2 pages side by side (also very handy for magazines etc).
    Also the tables facility doesn't let you move borders of individual cells - you can only move the whole column - I can't even select them.
    I could go on but will go before I start the 'pages shake'.

    Hilary,
    Scottish or not, your best option is to retreat to the last good version of the app, Pages '09.
    Cut your losses.
    Jerry

Maybe you are looking for