Checkbox and report page in new window

Hi team,
I have the following problem.
On a page I display a report where each row has a checkbox.
The user can check a row and press a button (button in region)to produce a more detailed report. I want to display this report in a new window. I know that I can use the javascript PopUpURL or PopUp2. The issue I have is that I have to process the checkbox with function htmldb_application.g_f01(i). I can't use that directly. So what I have done is create a hidden field and assign the return value of the formentioned function to it in a Page processing computation. The problem I hit is that page processing is/has not taken place. Therefor the call to the new page is missing a paramater because the hidden field is empty.

Hi Raymond,
1. Create a URL redirect branch back to the same page when the VIEW button is pressed
"f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:&REQUEST.:&DEBUG.:"
2. Create an Hidden Item P1_HIDDEN_ITEM
3. Create an after submit computation to null the hidden value item
4. Create an after submit computation to find out which check box is checked.
Dynamically generate the popup URL you would like to view into the Hidden Item.
P1_HIDDEN_ITEM
3. Create a JavaScript function called showpopup in the page HTML Header region
<script>
function showpopup () {
if ("&REQUEST." == "VIEW")
if ("&P1_HIDDEN_ITEM." != null)
popupURL('&P1_HIDDEN_ITEM.');
</script>
4. Call the showpopup function in on load JavaScript region. onLoad="showpopup();"
Try this and see if it works for you.
Also I would have changed the Checkbox to a Radio button group because this will limit the user to select only one row.
Vivek Ananda

Similar Messages

  • Report on a new window

    Hi All,
    I have a calendar and a report on the same page:101. But I want to open a report on a new window whenever a user clicks on the event. I can not move the report on the different page because it is before login and public.
    Please let me know.
    Thanks.

    If you're wanting to just dump some data to a new window/popup, in the "Column Link" section:
    + Select "URL" for the Target field.
    + Enter the following in the URL field:
    javascript:var newwin=document.open('','_errmsg','width=500,height=500'); newwin.document.write('#ERROR_MSG#')
    ...where ERROR_MSG (for this scenario) is one of the columns/attributes on the page.

  • Open an on demand sub report in a new window

    Hi There!
    While reading the forum threads, there is an thread that have the same issue that i want to find out, but the thread is not yet answered. Could you guys help me. Thanks!
    Thread by: Kylie Edwards  
    Hi I am wondering if it is possible to open an on demand sub report in a new window.
    I have a report that has 6 level drill and I want to be able to close the information in the sub report to give the end user the ability to keep drilling.
    I have tried inserting a text box with a hyper link back to the main report but hyper links do not seem to work the subreport. "
    Thanks and Regards,
    Joni

    Hi all,
    Sorry for the late reply, and thank you guys for the helped. I manage to solve the problem myself
    To Falk:
    Ya you are right, for what i know,  Inforview is not possible to open a subreport from a RPT file in a new windows as well.
    To Wallie Cheng :
    When i posted the question for help, i just want to know if i could display a crystal report on a new window.
    My situation is that i have a page that is size 3in x 3in ( Just a small static graph ) and i wanna attached a A4 report. In order to have a nicer view at inforview ( 3in x 3in border box ), i will need to reduced the size of the crystal report. The size of the main report is now properly change, but it affects the view for the sub report ( As subreport is A4 size, the system display the A4 size document in a serveral 3in x 3in page. -_-"' ).
    To Abhishek:
    I wanna try out your solution, but i can't find the hyperlink tab in perference option ( in inforview ).
    I manage to solved my problem (suitation that i have explain to Wallie Cheng ). That is to created a hyperlink to the report. Rather than a subreport link.
    Thanks and Regards,
    Joni

  • How to automatically startup a report in a new window after committing a form

    I have a form on a portal-page. The user enters values in the form and presses the INSERT button.
    After doing so, I want to show a report in a NEW window querying some values the user entered in the form.
    I was hoping to be able to use the After Processing Form PLSQL-section as follows:
    declare
    l_id integer;
    l_url varchar2(2000);
    begin
    l_id := p_session.get_value_as_NUMBER(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_ID');
    l_url := 'APP_OWNER.MY_REPORT.show?'
    | | 'p_arg_names=id&p_arg_values='
    | | to_char(l_id);
    htp.p('<a href="' &#0124; &#0124; l_url &#0124; &#0124;' target="_blank"></a>');
    end;
    But I see only "Inserted one record" and no report is started.
    I've tried to use the after-form-processing part, but it seems I can only startup reports in the same window with GO and CALL.
    Also the ID-variable can not be read from that part.
    A second solution I tried was to put this PLSQL in the PLSQL-handler-section of the button, but for some reason all double quotes " are automatically changed into single quotes ' causing several Java-script errors. Perhaps a bug?
    Does anyone have a solution for this functionality?
    Thanks,
    Jan Willem Vermeer

    Hi,
    There are 2 scenarios I can think of:
    1. The value of ORD_ID is not known until the insert processing completed.
    2. The value of ORD_ID is known and can be retrieved without a roundtrip to the server.
    The 2nd scenario is being simpliest and could be done from Javascript w/out any server involvement, all you need is the getField() function (or any other function to get the field value) described here : http://technet.oracle.com:89/ubb/Forum81/HTML/000073.html
    Javascript piece goes something like this:
    myWindow = window.open("http://myhost/portal30/pos.APPROVAL_INVOICE_DYN.show?p_arg_names=ord_id&p_arg_values=" + getField(this.form,"ORD_ID"),
    "myWindowName","toolbar=yes,location=yes,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,height=400,width=600");
    The first scenario is more complicated.
    During the "accept cycle", when your PLSQL insert/update etc. event handlers are
    fired all the processing output will happen into the current window.
    Neither owa_util.redirect_url() nor wwa_app_module.set_target() will help.
    Both of them will do a redirect only in the current browser window,
    actually, wwa_app_module.set_target() internally calls owa_util.redirect_url().
    What you need is:
    1. Get the field value, and either: 1. store it somewhere in a package variable,
    or: 2. do this all at once in "before displaying the page"
    2. After the form processing is completed (but not in the onSuccess!!! code),
    open a new browser window w/Javascript specifying the same url you were passing to
    set_target().
    Here is my example, place following code into "before displaying the page" additional PLSQL block:
    declare
    l_id integer;
    begin
    l_id := p_session.get_value_as_NUMBER(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_ORD_ID');
    if l_id is not null then
    htp.p('{SCRIPT} var myWindow = window.open("http://myhost/portal30/pos.APPROVAL_INVOICE_DYN.show?p_arg_names=ord_id&p_arg_values=' &#0124; &#0124; l_id &#0124; &#0124; '",
    "mySubWindow","toolbar=yes,location=yes,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,height=400,width=600");
    myWindow.focus();
    {SCRIPT}');
    end if;
    end;
    To do: you will need to add more logic to decide when to open a new window,
    whatever is appropriate for your application,
    rather than just 'is null' check I did.
    Hope this will help.
    Thanks,
    Dmitry

  • Using firefox 14.0.1. Loading a link using right-click and "Open Link In New Window", results in new window opening but address bar does not show URL..

    Using firefox 14.0.1. Loading a link using right-click and "Open Link In New Window", results in new window opening but address bar does not show URL. However, if I right click on a link and select "Open Link In New Tab", the Tab shows URL in address bar. So it's working when it's a New Tab but not a New Window.

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • Open that jspx page in new window using commandLink

    Hi All,
    I'm working on adf application.I'm using jdeveloper 11.1.1.5 version.I want to get the attribute value of current row and pass it to jspx page.And i want to open that jspx page in new window.I tried like following:
    <af:column id="resId1c7" align="center" width="50">
    <af:commandLink actionListener="#{bindings.setCurrentRowWithKeyValue.execute}"
    text="MSG-ID"
    disabled="#{!bindings.setCurrentRowWithKeyValue.enabled}"
    id="cl1"
    action="dialog:Confirm" windowHeight="600"
    windowWidth="800" useWindow="true"
    partialSubmit="true"/>
    </af:column>
    And in my faces-config.xml i add the navigation rule like this.
    <navigation-rule>
    <navigation-case>
    <from-outcome>dialog:Confirm</from-outcome>
    <to-view-id>/AuditLogInfo.jspx</to-view-id>
    </navigation-case>
    </navigation-rule>
    Here my problem is i want to get the result jspx page in new window.But im not able to do it.Please help me how can i do this?
    Thanks in advance!

    Thq very much.It is working fine.
    I added the command link in my home page.When i'm clicking on that link im able to get my child.jspx page in new window.But I have added the login page to my adf application.If i run the login page im able to get my home page.But now i'm not able to get my child.jspx page when i'm clicking on command link.How can i resolve this.Please give me your suggestions.
    Thnks in advance.

  • Open Page in new window using hyper link

    I put the window.open method on OnClick event of outputlink to open a page in new window, but the page is started in a old window.
    How do I start the page in a new window.
    My sintaxe of outputlink:
    <h:outputLink binding="#{P0110.hyperlink1}" id="hyperlink1"
    onclick="WindowObjectReference = window.open('about:blank', '','menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes');" value="http://www.sun.com/jscreator">
    </h:outputLink>

    Hi,
    Following are the steps to open a new window using the window.open method for the hyperlink component:
    1. Drag and drop a hyperlink component onto the page
    2. In the properties sheet go to the Value property and delete the value present there
    3. Click on the ... button next to the onclick property
    4. Enter the line of code given below:
    window.open("http://www.yahoo.com","New window");
    5. Save and run the project
    On clicking on the hyperlink a new window will open with the www.yahoo.com page.
    Hope this helps
    Cheers
    Giri :-)
    Creator Team

  • Open Page in new window from button

    I have a button that need to open up a page in new window when clicked. The page it needs to open is dynamic and stored in an item called 'P0_STUDENT_RECORD_LIST'.
    I added this to item pre-element text:
    <button onclick="javascript:PopupSTUDENT()">
    How can I get the function to open the page name stored in the item?
    Is there a different method I should use?
    function PopupSTUDENT(){  popUp('f?p=&APP_ID.:DYNAMIC_PAGE_NAME:&SESSION.::NO:::');}

    how about this:
    function PopupStudent()
    javascript:window.open('f?p=&APP_ID.:&DYNAMIC_PAGE_NAME.:&SESSION.::NO.:::','Popup','width=800,height=500,scrollbars=1,resizable=1');

  • Open Page in new window

    ..................... I use JDeveloper 11g TP4 ......................
    How Can I Open Page In New Window when I press In Command button or link??
    Thank You.

    Hi,
    You have to set the "useWindow" property on the button to "true", and the action must start with "dialog:", like "dialog:action". And, in adfc-config.xml you have to have navigation defined also with "dialog:action".
    <af:commandButton text="Button"
             action="dialog:action"
             useWindow="true">
    {code}
    Pedja                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • I keep getting an error window about java since I updated to firefox 8, my tabs will flash, tabs will close and open in a new window, everything stops working, firefox is non responsive, please help

    Since I upgraded to firefox 8, I get this error window that pops up says something about java. My tabs flicker or flash, the tabs will close and open in a new window then everything stops. Then firefox does not respond. When I get this error message, I have to close all tabs wait a few seconds then open it back up it will work for a little while and then do the same thing. I have disabled plug-ins that I do not use, I have cleared my cache and cookies, I am not happy at all with this new version. I waited a while before updating. The first time I was going to update, firefox would not let me keep my anti-virus plug-in. PLEASE HELP

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Opening a new OAF page in New window have error

    Hi OAF gurus,
    I am trying to open a page in new window. It opens perfectly and all the functionality is also working. But I am getting some Java script error..
    The code which I am using is...
    StringBuffer l_buffer = new StringBuffer();
    StringBuffer l_buffer1 = new StringBuffer();
    l_buffer.append("javascript:mywin = openWindow(top, '");
    l_buffer1.append("PGFile name with path");
    l_buffer1.append("&DeliveryId=");
    l_buffer1.append(deliveryId.toString());
    l_buffer1.append("&retainAM=Y");
    String url = "/OA_HTML/cabo/jsps/frameRedirect.jsp?redirect=/OA_HTML/OA.jsp&page="+l_buffer1.toString();
    OAUrl popupUrl = new OAUrl(url, OAWebBeanConstants.ADD_BREAD_CRUMB_SAVE);
    String strUrl = popupUrl.createURL(pageContext);
    l_buffer.append(strUrl.toString());
    l_buffer.append("', 'lovWindow', {width:750, height:550},false,'dialog',null);");
    pageContext.putJavaScriptFunction("SomeName",l_buffer.toString());
    Error message ....
    Error: No such Interface Supported.
    Could anyone please help me out in this.
    Thanks
    Anoop

    Anoop,
    Without the profile change, i guess it is not possible to open new window, as MAC key validation will be imposed! You can read about these profile options from Metalink doc id:390203.1 and explain to your client side1
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Open a new page  in new window programatically.

    Hi all,
    I am able to open the new page in new window by setup (setting up the distination URI and and target fram as balnk), my requirememet is to do it programatically, from CO i have to call the new page on some conditions, how can i achive this?

    Hi
    You can open a new page in new window programmatilcally like this :
    for this we have created a Static Styled Text Bean of Id item1
    import oracle.apps.fnd.framework.webui.beans.* ;
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAStaticStyledTextBean ost = (OAStaticStyledTextBean)webBean.findChildRecursive("item1") ;
    ost.setLabel("Click here for my website");
    ost.setDestination("http:\\XX.com");
    } Ajay
    Edited by: Ajay3107 on Jul 19, 2010 9:53 PM

  • Issue: Opening the page in new window causing issues.

    Hi All,
    I have a page where in there are many PPR events implemented.
    Apart from this i have content container region where in there are help links each of which is OALinkBean .
    All these help links point to the same OAF page with different parameters.
    I wanted to open these help links in different windows (as these would display some data to the user ie not transaction based)
    for which i have set the destination property of the link bean saying :
    OA.jsp?page=/oracle/apps/pos/reqform/mdm/webui/SARSMDMDisplayPG&RULE_ID={@RuleId}&retainAM=Y
    and target frame to _blank to get it opened in new window.
    Now,
    when the page loads, it gets rendered fine along with the content container with help links in it.
    When i click on the link, it will open the correspoding OAF page in new window. - fine upto this
    On the main page, when i do any form submit, it is throwing me server side validation like "attribute xyz required in xyzVO".
    This happens when ever i click on the link to open a new window.
    Not sure if something needs to be handled to avoid doing this server side validations.
    I have disabled server side validations too on the link bean.
    I do have lot of events getting fired on the main page for the business requirements.
    Please do let me know a solution to the same.
    Thanks,
    Sushma.

    Hi All.. I am also facing the similar issue... actually the second page is VO or EO has no relation with the mail PAGE.. Second page is completely independent... but issue is that whenever i do any operation in first page after open the 2nd page the VO of the main page is geting quried without any condition.... i have a search screen and after conducting search if i try to open the second page and do any operation in the main page the whole value from vo will be shown in the page...... that is causing multiple issues....
    Plzz help as it is very urgent.....

  • BSP code to open new page in new window after button click

    Hi expert,
    I have a requirement to write a BSP code to open new page in new window after button click. I have done the same for opening in same window but not for opening in new window.
    Can you please help me out with the code in which the page opens in new window and the menubar & Addressbar is displayed in hide mode.

    Hi,
    To add more with Anubhav...
                              onClientClick = "javascript:window.open( 'pop.htm' ) "
    You can create a pop.htm page, and call the same in another page using the above code.
    Refer standard BSP examples, SBSPEXT_HTMLB, SBSPEXT_PHTMLB, SBSPEXT_XHTMLB. You can run the default.htm pages and see what way you want to design your BSP.
    Thanks,
    Sreekanth

  • Outlook 2010 on Exchange 2007 ~ Can no longer see Calendar in Folder List ~ Only viewable by right-clicking favorite icon and selecting 'Open in New Window'

    Office 2010, Windows 7 64 bit, BB sync, everything has been fine since forever. All of a sudden between Saturday and today, *poof* I can't get the calendar view.
    I have tried the switches, /resetfolder and all the rest, repair install Office, etc., no go.
    I can log into my OWA view and calendar shows up there, but on the local system, when you clicl on Calendar, it shows My Calendars at the top, but there is no calendar. The only way to view it is to right click Calendar and choose 'Open in New Window'.
    All my data is there, can add to it and all, but it is missing from the folder list, thereby making it very difficult to use.
    I also created a new profile, connected to Exchange ONLY and it still will only show the calendar if you select 'Open in New Window Only'. I can post a screen shot if this allows.
    Thanks in advance.
    Brian

     
    Hi ,
    I suggest you refer to the following steps to recreate the Calendar folder.
    1. Switch Outlook to Online mode.
    2. Start MFCMAPI and create a backup of the Calendar items
    a. Open the Calendar folder by double clicking it.
    b. Select all items (simple ctrl+a).
    c. Copy all items into an empty folder.
    d. Additionally you can create a backup using a PST file if you wish.
    3. Delete the Calendar folder using MFCMAPI.
    4. Close Outlook.
    5.Recreate Windows Profile and Outlook Profile.
    6. Start Outlook with “/resetfolders” switch, this will recreate the default Calendar folder.
    7. Try to set permissions on the Calendar folder to see how it works with a fresh and empty folder.
    8. Copy/Move the items back into the Calendar.
    By the way, I don’t understand “the local system” what you said, it can view My calendars at top in Outlook or OWA ?
    And it can’t view calendar list or the calendar content under My Calendar?
    Wendy Liu
    TechNet Community Support

Maybe you are looking for

  • Purchase order number in VL01N

    Dear Expert My seinero that: My plant as 1000, Vendor Plant as 2000, now I my plant have a material need to purchase from Plant 2000, the same material number in two plant, vendor code as "ABC" in our plant against with Vendor plant. Now in Tcode ME2

  • Drop Down Values

    I am using a dropdown by key , I have coded as data lr_node type ref to if_wd_context_node. data lr_node_info type ref to if_wd_context_node_info. lr_node = wd_context->get_child_node( if_psp_main=>wdctx_drop ). lr_node_info = lr_node->get_node_info(

  • OCI Function call vs Odatabase Class

    In my application I've used ODatabase class to open a database connection. At the same time, I use OCI function calls method to connect to the same database. This is use to execute store procedure & query. My question is that does it cause double con

  • Full load Concept

    Hi all, Can somebody explain me why there are full loads that should not be deleted from the Infocube? Theoratically, a full brings all data from the Source System, but we have fulls that only bring the data from a specific day and therefore we need

  • I get red pixels in the dark areas when converting duotone images to RGB

    Hi, I have been using Duotone with my photos, but since the other day, everytime that I process a photo this way, when I convert then back to RGB mode, the dark (black) areas of the photo become a kind of bitmap of red pixels. I have tried with many