Open a new popup window in OTL Create timecard page

I am have created a new item called button on the create timecard page in OTL. when i click on the button it opens up a new window which runs a function in it. I want to set the properties of the new window like remove toolbar,location and menubar. when i set the properties in Target Frame I dont see any change in window style.
The proerties of the button are
Item Style Button
Property Value
*ID BIO_PROJ
Access Key
Additional Text
Admin Personalization truefalse
Attribute Set
CSS Class
Comments
Data Type VARCHAR2DATEDATETIMENUMBERBOOLEANCLOB
Destination Function :BIO_PROJ_INFO
Destination URI :OA.jsp
Disable Server Side Validation truefalse
Disabled truefalse
Export View Attribute
Extends
Horizontal Alignment centerleftrightstartend
Prompt
Rendered truefalse
Scope
Target Frame =javascript:window.open("","Last 10 Projects","location=0,toolbar=0,menubar=no")
View Attribute
View Instance
Warn About Changes truefalse
Please help
Thanks

What I usually do in this case is place a javascript function at the end of the processRequest method:
String function = "function openWindow(pageUrl,windowName){window.open(pageUrl,windowName,'width=725,height=520,menubar=no,location=no,toolbar=no,scrollbars=yes,resizable=yes');}";
pageContext.putJavaScriptFunction("openWindow",function);
The I can put the destination of a link or button as javascript:openWindow(url,name)

Similar Messages

  • Urgent help on opening a new popup window when clicking on h:comandButton

    Hi All,
    I am working on a JSF application.I got a requirement where i need to Open new popup window when the user clicks on <h:commandButton>. Here is my sample code.
    <h:panelGroup>
    <h:commandButton onclick="window.open('/gwp/pages/client/auto_id_card_proof.jsp','PrintIDCards','top=30,left=0,width=800,height=600, scrollbars=1')"
    value="#{ClientLabels['PrintAutoIdCard.PrintProofOfInsurance']}" immediate="true"/>
    </h:panelGroup>
    Iam getting an error message in the new popup window as below when i click on the commandButton.
    JSP Processing Error
    HTTP Error Code: 404
    Error Message:JSPG0036E: Failed to find resource /pages/client/auto_id_card_proof.jsp
    Root Cause:java.io.FileNotFoundException: JSPG0036E: Failed to find resource /pages/client/auto_id_card_proof.jsp     at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.findWrapper(AbstractJSPExtensionProcessor.java:293)     at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:266)     at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)     at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
    Any help will be highly appreciated.
    Thanks
    Vijay

    Please, urgency is your own problem and thus irrelevant to us. This way you are seemingly putting pressure to us, which is rude.
    At any way, a 404 simply means that the URL is wrong.

  • How do i open a new browser window(IE or Netscape)?

    I need to open a new browser window to show a web page returned by a PHP aplication.
    If i use an editorpane the returned page is shown unformatted.
    PLEASE HELP!
    Rui

    or to open a window using a hyperlink, u can try this:
    Link Name
    This will open a window and send then send u to the page you want for processing.

  • Load page in popup window with different (from parent page) browser

    Hi,
    Environment: Windows XP or Windows 7, Visual Studio 2010, Internet Explorer 8 (IE)
    I have an application which opens page containing HTML editor.  Here you can edit a document (pooled from db). Next, btnPreview opens a new popup window and shows changes you made via Internet Explorer (IE - default browser).
    Here is original code - works OK when you run from both - VS 2010 (http://localhost:50827/NCSite/MenuEditor.aspx) or via browser IE (http://localhost/NCSite/MenuEditor.aspx).
    Please pay attention - with VS2010 was used a dynamic address (localhost:50827) created by VS2010
    Here is a code I used for that:
    URL = Request.Url.Scheme +
    "://" + Request.Url.Host + appPath + URL;
    ClientScriptManager cs = Page.ClientScript;
    cs.RegisterStartupScript(this.GetType(),
    "NewWindow",
    "<script>window.open('" + URL +
    "', 'New')</script>");
    Now I have a request to add two more buttons to preview in Google Chrome (GC) and Mozilla Firefox (FF).
    I used next code:
    using System.Diagnostics;
    //for btnIE:
    URL = Request.Url.Scheme +
    "://" + Request.Url.Host + appPath + URL;
    Process.Start("iexplore",
    URL);
    //for btnGC:
    URL = Request.Url.Scheme +
    "://" + Request.Url.Host + appPath + URL; 
    Process.Start("chrome",
    URL);
    //for btnFF:
    URL = Request.Url.Scheme +
    "://" + Request.Url.Host + appPath + URL; 
    Process.Start("firefox",
    URL);
    It works OK when you run from VS2010 (http://localhost:50827/NCSite/MenuEditor.aspx)
    but when you open application via default browser (IE) and after editing document press btnIE, btnGC, or btnFF it is not creating a new popup window and simply replacing existing window
    and shows updated document via IE.  Processes for GC and FF not even started (looked through Task Manager).
    Is it any way to solve that issue?
    Thanks,
    Dm
    dmirkin

    Hi dmirkin,
    If Andy's suggestion still cann't resovle your issue.
    You are more likely to get more efficient responses to
    ASP.NET issues at http://forums.asp.net where you can contact ASP.NET
    JavaScript experts. This forum is for web application.
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • OTL Create Timecard

    Dear All ,
    i have customized the OTL Create Timecard page to Include the Country, State and City LOV's in Create TimeCard Page through LDT file .
    when i create a Timecard and enter the values for Project, Task , Type and country ,state, city and SAVE.
    These Project , Task , Type and country ,state, city Value's are getting saved in the table HXC_TIME_ATTRIBUTES Table with Attribute_category ='PROJECTS'. under attribute1,attribute2,attribute3,attribute8,attribute9,attribute10
    These values should also be saved in "PA_EXPENDITURE_ITEMS_ALL" Table (Expenditure Item DFF)after running the standard program "PRC:Transaction Import Program"
    can any body please provide a solution as to how to achieve this to be stored in Table "PA_EXPENDITURE_ITEMS_ALL" (Expenditure Item DFF)
    2) Simillarly the Country ,State and City vlaues that are selected in the created timecard page should default at the FreeText Filed's (Country,State,& City enabled at PAEXPENDFF-ST DFF) in the Details Page,
    after running the PRC:Transaction Program, the country,state and City should be stored in "PA_EXPENDITURE_ITEMS_ALL" Table (Expenditure Item DFF)
    can any body please provide a solution as to how to achieve this to be stored in Table "PA_EXPENDITURE_ITEMS_ALL" (Expenditure Item DFF)
    Kindly request you to help us in this resolution
    Thankyou in advance
    Kiran

    Hi,
    I have already thought of that process. Thanks anyway for taking time to reply my question.
    There are scenarios in which, i think, this approach can create problem.
    * In case employee forgets to register his/her punch out then our dummy value will remain intact and will be treated as final value. This is because there are huge number of employees and it is quite unfeasible to point out which dummy values is left out without update of real punchout value.
    * As this process of transferring data in to Oracle time card will be "real-time", employees and supervisors will be able to see dummy data as end-time. This might create problem in case someone confuses it with real data. Second, if, in fact, such an occurrence has happened then?
    Thank you anyway. Hope Oracle comes out with something to meet this requirement in future.
    Regards,
    Saurabh

  • Opening a new browser window in APEX

    Hi.
    I am trying to open a new browser window in APEX (v2.1) for a new Navigation Bar Entry.
    What I did is the following:
    1) Created the new Navigation Bar Entry
    2) On the properties of this entry I put the Target Type: "URL"
    and on the Target: javascript:window.open('f?p=&APP_ID.:63:&APP_SESSION.:::::' , 'Despre','scrollbars=1,resizable=1,width=400,height=600');
    when I click on my Navigation Bar Entry, the page 63 opens on the same window,NOT on a NEW browser window.
    Can you please help ?

    It seems that I found the answer.
    I had to do the following:
    javascript:(window.open('f?p=&APP_ID.:63:&APP_SESSION.:::::', 'Despre','Scrollbars=1,resizable=1,width=400,height=600')).focus();
    and then logout and login back in the application and it worked.

  • Opening a new browser window always puts a flv-file (0bytes of a youtube vid viewed earlier) on desktop. Firefox 18.02

    Opening a new browser window always puts a flv-file (0bytes of a youtube vid viewed earlier) on desktop. Firefox 18.02
    viewed the yuotube vid yesterday. deleted all the flv-files on the desktop.
    same thing today, a new window always puts the same empty file from yesterday.
    any suggestions?

    You can check the home page setting:
    *Tools > Options > General > Startup: Home page
    *https://support.mozilla.org/kb/How+to+set+the+home+page
    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created

  • Pdf links will not open in new browser window

    I have created a pdf document in Acrobat 9 Pro that is password protected. You must enter the password to open it. In this document there are perhaps 15 links to other pdf documents. I set up each of the links to open in a new window. The links work as expected in Acrobat, each opening in a new window, however, when I posted the documents to the web, the links open in the same window as the original document. This would not be a big issue if the original document were not password protected, but each time the user clicks on a link, it takes him out of the original document. To get back to the original document requires re-entering the password. This is a major irritation with so many links.
    I know that you can set Acrobat to display the documents in its own window rather than in the browser, but my users don't know that. Control clicking on a pdf link does not open it in a new window as it would with an HTML link. Is there a simple fix to this problem that does not involve user intervention?

    Well, I came up with a solution, thanks to Ted Padova who offers a simple JavaScript solution on his blog at http://www.acrobatusers.com/blogs/tedpadova/opening-pdfs-new-browser-windows.
    The solution is clearly laid out even for beginners, if you know how to create a link or button.
    It seems to me that a prime objective of Adobe in developing Acrobat would be to have it behave the same way in free-standing mode and as a plug-in. In this case it does not, and obviously, it has not for the last forty-eleven years that Acrobat has been on the market. Maybe some day they will get around to a fix for this obvious problem. In the meantime, read Ted's blog and be happy we have guys like him who can solve these problems.

  • JavaScript for opening a new browser window.

    Hi all,
    Let me start by saying that I'm not JavaScript savvy at all.
    I have two buttons on a slide and I want each to open a new browser window.
    I Googled for a script and found this:
    window.open ('URL')
    I tried in my project and it worked fine but the browser window that my project was running in also changed.
    I've attached a .gif image of what happens to my project window when either of the two buttons is clicked.
    Can anyone help??

    You can check the home page setting:
    *Tools > Options > General > Startup: Home page
    *https://support.mozilla.org/kb/How+to+set+the+home+page
    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created

  • Unable to Open a New Browser Window

    I have a couple users who are having trouble logging in to Discoverer on new PCs. They are using Internet Explorerer 8. They are able to get to the login screen, but when the hit connect (or Go) they get an error: "Unable to open a new browser window. Ensure that you do not have popup windows disabled for this site."
    Obviously the first thing I had them do was turn off the popup blocker all together. But they still get the error (even after they restart their PC). Other than that, is there something I am missing in how they need to configure IE8? I'm personally used to using IE6 at work and don't know much about configuration setting for IE8.
    Thanks!

    Hi,
    Exactly not sure,see if there are any pop-up blockers still exists,if so try turning pop-up on and off and check it.One more thing what java plug in are you using?? May be it perisists due to java also.
    Best Wishes,
    Kranthi.

  • Open a new browser window when click a button

    Hi,
    I am working on Apex - 3.2.0.00.27.
    I want that when I click on a button, it should open a new browser window. I have tried to set property on the button , direct to url , html = _blank.
    but somehow it is not working.
    can you suggest something ?
    Thanks in advance.
    -Jasmine

    Hi,
    Even if i create different regions , it is not possible for me to place them between items.
    But anyways, I created a separate button in the same region and it works fine.
    Thanks Jari for your help.
    -Jasmine

  • Open a new browser window to show document

    Hi,
    I am trying to click an item in datagrid to open a new
    browser window and display the document for this selected item. how
    to implement it? thank you.

    Here is a full example that should do what you are asking.
    You need to create an itemRenderer for your DataGrid.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    backgroundAlpha="0" >
    <mx:Script>
    <![CDATA[
    import mx.collections.*;
    private var catalog:ArrayCollection;
    private static var contacts1:Array = [
    {URL: "
    http://www.macromedia.com/software/dreamweaver/",
    Product: "Dreamweaver"},
    {URL: "
    http://www.macromedia.com/software/flash/",
    Product: "Flash"},
    {URL: "
    http://www.macromedia.com/software/coldfusion/",
    Product: "ColdFusion"},
    {URL: "
    http://www.macromedia.com/software/flex/",
    Product: "Flex"},
    {URL: "
    http://www.macromedia.com/software/breeze/",
    Product: "Breeze"},
    {URL: "
    http://www.macromedia.com/software/director/",
    Product: "Director"}
    private function initCatalog(cat:Array):void
    catalog = new ArrayCollection(cat);
    myDatagrid.dataProvider = catalog;
    public function generateHtml(url:String):String {
    return '<a href="'+url+'"
    target="_blank">'+url+'</a>';
    ]]>
    </mx:Script>
    <mx:Text text="This example uses a Text itemRenderer for
    the second column that
    changes the font color of those cells and uses the htmlText
    property of Text
    to make the cell a link." width="350" />
    <mx:DataGrid id="myDatagrid" width="600" height="300"
    creationComplete="initCatalog(contacts1)" >
    <mx:columns>
    <mx:DataGridColumn dataField="Product" />
    <mx:DataGridColumn dataField="URL" width="400">
    <mx:itemRenderer>
    <mx:Component>
    <mx:Text color="0x0000FF"
    htmlText="{outerDocument.generateHtml(data.URL)}"/>
    </mx:Component>
    </mx:itemRenderer>
    </mx:DataGridColumn>
    </mx:columns>
    </mx:DataGrid>
    </mx:Application>
    Joan Lafferty
    Flex SDK QA

  • Tip Message with hyperlink to open in new tab/window

    Hi Guys,
    I have created a FND Message which has the following content:
    some text <a href="https://www.google.co.uk"target="_blank">Click Here</a> some more text
    This is referenced in a custom OAF page as a Tip Message (OATipBean), the text and hyperlink render with no issues, however the hyperlink does not open in a new tab/window (it opens in the current tab) - when you view the source of the page the '...target="blank"...' is not there:
    ... <a href="https://www.google.co.uk">Click Here</a> ...
    Is there a way of getting hyperlinks in Messages to open in new tabs/windows?
    Regards
    Carl
    Message was edited by: CarlHammond

    I think part of your problem might lie in the way you are trying to use your quotation marks.  It appears you are trying to have the single quotes do what double quotes should be doing.
    document.write("<a href='"+imagelinks[ry]+"' target='_blank'><img src='"+myimages[ry]+"' border='none'></a>
    If you want to have doublequotes appear in code as doublequote characters you can try slashing them to have them read literally... \"
    document.write("<a href=\""+imagelinks[ry]+"\" target=\"_blank\"><img src=\""+myimages[ry]+"\" border=\"none\"></a>

  • RoboHelp HTML 8  - avoid opening a new browser window

    How do I avoid opening a new browser window every time I call the context sensitive help from within Java?
    I am using Robohelp HTML 8 with IE8
    I am calling it this way from Java:
    RoboHelp_CSH.RH_ShowHelp(0, "C:\\\RoboHelp\\!SSL!\\WebHelp\\XHelp_File.htm", RoboHelp_CSH.HH_HELP_CONTEXT, 2);

    Hi,
    Welcome to Adobe forum,
    As I understand you are trying to open the hyperlinks in a new window instead of a tab.
    Well it is possible in Robohelp 8 HTML
    Here are the steps which you need to follow.
    1. Select the text Right click on it and then select Insert Hyperlink.
    Once you click on the Insert Hyperlink another Popup window will appear in your screen.
    You need to check this screenshot and select the appropriate option.
    Try and generate the Webhelp and see if that helps you,
    I hope that will resolve your issue.Please reply if that resolves your issue.
    Thanks
    Priyank

  • How can I open a new browser window from UIX?

    I need to open a new browser window from an event handler. How that can be done? HELP!
    Thanks!
    Martin Patrici

    HTML doesn't really let you do this on the server side; the client is in charge
    of creating new windows, not the server.
    If you know that clicking a certain link/button, etc. will always raise a new window,
    then you should use Javascript or "targetFrame" accordingly.
    If the decision will only be made on the server side, then you could reload the current
    window, only this time use an "onLoad" on the <body> to raise a window.

Maybe you are looking for

  • I cannot share my music with family with new iTunes

    I have followed all of the steps to share music between my account and my husband's account, but cannot transfer music.  I can't transfer purchased music or music I downloaded from a cd. I have followed all of the proper steps to do this, but I am no

  • Adobe acrobat won't work in firefox 24

    Whenever I click on any .pdf icon all I get is a blank page. Have tried usual avenues such as disabling pop up blockers- etc. No problems if I try to perform this task in IE. Have had varying issues that have piled up over time with the constant upgr

  • Data Configuration in OWB

    Hi all, i'm newbies in Oracle Warehouse Builder. I need to trace data depedency from table target. If I wanna see the source table from the table target I should use lineage tools right. Know it's writen to be default configuration. So how that data

  • Syncing (or sinking cause that's what I'm feeling)

    How do I know if I have sync'ed my IPhone to Itunes correctly? I see my information, contacts, applications, etc when my phone is attached but when I disconnect my phone I see nothing. What am I doing wrong???

  • Where are all my mailboxes in Mountain Lion??

    I updated to ML and all my Mail mailboxes are gone. Are they really gone??