Open BW webreport via button on form in (new) popup window possible ?
Hi,
We need to give the opportunity to the end-users to launch a BW webreport to make a detailed analysis. I know how to do this via a button and a html iview but then the result is displayed in the same window overwriting the current content of the VC application.
I thought to solve this by using a popup iview but I have just learned that this is not supported ?
Can anyone give me a hint how to achieve this ? I searched for a "add hyperlink" function but didn't find that neither.
Hi Double U,
Ok i see, what do you mean. I thought I did a workaround and use a nested iView with a html view in a popup iView.
Best Regards,
Marcel
Message was edited by:
Marcel Salein
A colleague told me that this is with this workaround not possible.
Similar Messages
-
Opening a Form in a popup window
Hi,
What's the easiest way to open a Form in a popup window? Do I use Javascript or is there another way? Is there a documented example either in Technet or Metalink?
Thanks,
Steve WestHi,
For further information you can see the following reply
Re: Fax and voice solution technical details!
Thanks
Vineet -
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
VijayPlease, 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. -
Open calling form in new browser window
HI,
I am using forms 9i. From menu item, i am calling a form using call_form, the called form is opening in same window, my requirement is the called forms want to open in new browser window. I am using mdi window.
Any idea ?
Regards
Ramesh babuIf you look in your browser address field, you will see your current forms has a (probably very) long url, one section of which is the form name. Now, you can use this as the URL argument in a WEB.SHOW_DOCUMENT() call. However:
(1) if your URL doesn't include the userid, etc. (very likely in a production situation) you will have to log in again.
(2) as (1) might lead to suspect, you are in a new database session.
Why do you want to do this?
Cheers, APC -
Open a Form in a popup window from a PL/SQL portlet
Hi,
I have a form that I want to open in a popup window from a URL in a PL/SQL portlet. What is the easiest way to do this? Are there any examples in here or on Metalink as to how to achieve this?
Thanks,
Steve WestIs it a HTML page somewhere on a server with a HTML form on it? You can use javascript tags in ur link to do this maybe?
javascript:window.open('http://<server name>/page.htm','mywindow','width=400,height=200')
Obviously if this is a portal form you can also link directly to the show procedure no problems. -
Call form in new browser window
Hello all,
I am trying to call a form that will appear in a new browser window, but be part of the same forms application. I am able to call the applet by using web.show_document, however you must log on to the forms services before you can access the form. I would simply like to click a button and have it call a form that opens in a new window. I am doing this for our data entry techs that need to utilize dual monitors looking at 2 separate tables.
Thanks in advance,
-JordanBe aware that there are limitations with Forms if you are trying to run the application on the secondary monitor. Known issues related to dual monitors have been corrected in the upcoming patch set for 10.1.2. This patch is due for release soon (exact date unknown). A one-off patch is also available for 9.0.4.3.
Take a look at this thread for more details:
Users with two monitors -
Hello
I have a button on a page opening a popup window. This popup window includes a page with form and the classical Create Cancel Submit Delete buttons.
Of course, when clicking Cancel, Submit or other buttons, the popup does not close and I end up with the target page in the popup !
How can I solve this ? (I'm using apex 4)
Edited by: Arnaud Ladrière on 26 août 2010 16:16Hi Arnaud,
You may find it useful to refer to the Build Custom Popup Pages 'How To' available here: http://www.oracle.com/technetwork/developer-tools/apex/how-to-create-custom-popups-085945.html , which outlines the steps to create the popup, including the JavaScript to pass back values to the parent page and then close the popup.
There's also numerous related threads on the forum which could also prove useful to you:
http://forums.oracle.com/forums/search.jspa?threadID=&q=how+to+close+popup+window&objID=f137&dateRange=last90days&userID=&numResults=15
Regards,
Hilary -
Hey guys,
trying to open a folder on my harddrive full of photos but it comes up with "can’t be opened because you don’t have permission to see its contents."
ive tried making all permissions 'read & write' on both computers and ive also tried clicking the lock in get info section on both computers.
all the other folders on the harddrive containing photos are fine to open just this one for some reason
help please
cheeeeersHey elmsy,
Here is an article with some helpful information about troubleshooting permissions issues in OS X:
Troubleshooting permissions issues in Mac OS X
http://support.apple.com/kb/HT2963
Thanks for coming to the Apple Support Communities!
Cheers,
Braden -
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
ThanksWhat 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) -
when I select a pdf file within a webpage and click to download instead of getting the "download" window and the file automatically opening after download using adobe reader I get a blank webpage (in the same tab) and in the bottom left corner it says"done". No file is downloaded and if I click "back" I just return to the webpage containing the link.
Aha! The properties for the plugin file nppdf32.dll for Adobe Reader indicate the file is for Adobe Acrobat. This misidentification is then used by SeaMonkey as a label in the helper application list.
Adobe Reader 11.0.3.37: nppdf32.dll has version 11.0.3.37. This is the version in SeaMonkey's plugins folder.
Adobe Acrobat 7.0.8.218: nppdf32.dll has version 7.0.9.50.
As for having both Adobe Reader and Adobe Acrobat on the same PC, this generally works providing Reader is installed AFTER Acrobat. Reader is freeware, and I want to keep it current. Acrobat is purchaseware, and I cannot afford to keep buying upgrades or newer versions. -
How to close the adobe forms in popup windows once.
hi,expert..
i show a adobe form in a popup windows in my webdynpro program...but i find out that i at least click twice on the "CLOSE" button on the right top of the window.....how can i modify my program to close the window once..
the original codes are as follow:
method onactionprint .
data lo_nd_zhrhap_vp_app_01 type ref to if_wd_context_node.
data lo_nd_zhrhap_t_document type ref to if_wd_context_node.
data lt_zhrhap_t_document type wd_this->elements_zhrhap_t_document.
lo_nd_zhrhap_vp_app_01 = wd_context->get_child_node( name =
wd_this->wdctx_zhrhap_vp_app_01 ).
lo_nd_zhrhap_t_document = lo_nd_zhrhap_vp_app_01->get_child_node(
name = wd_this->wdctx_zhrhap_t_document ).
lo_nd_zhrhap_t_document->get_static_attributes_table(
importing
table = lt_zhrhap_t_document ).
DATA lo_nd_zhrhap_s_app_leader TYPE REF TO if_wd_context_node.
DATA lo_el_zhrhap_s_app_leader TYPE REF TO if_wd_context_element.
data ls_zhrhap_s_app_leader type
wd_this->element_zhrhap_s_app_leader.
lo_nd_zhrhap_s_app_leader = lo_nd_zhrhap_vp_app_01->get_child_node(
*name = wd_this->wdctx_zhrhap_s_app_leader ).
lo_el_zhrhap_s_app_leader = lo_nd_zhrhap_s_app_leader->get_element(
lo_el_zhrhap_s_app_leader->get_static_attributes(
IMPORTING
static_attributes = ls_zhrhap_s_app_leader ).
DATA lo_nd_zhrhap_s_dates TYPE REF TO if_wd_context_node.
DATA lo_el_zhrhap_s_dates TYPE REF TO if_wd_context_element.
data ls_zhrhap_s_dates type wd_this->element_zhrhap_s_dates.
lo_nd_zhrhap_s_dates = lo_nd_zhrhap_vp_app_01->get_child_node( name
*= wd_this->wdctx_zhrhap_s_dates ).
lo_el_zhrhap_s_dates = lo_nd_zhrhap_s_dates->get_element( ).
lo_el_zhrhap_s_dates->get_static_attributes(
IMPORTING
static_attributes = ls_zhrhap_s_dates ).
采集表名称和日期
data lo_nd_if_data type ref to if_wd_context_node.
data lo_el_if_data type ref to if_wd_context_element.
data ls_if_data type wd_this->element_if_data.
lo_nd_if_data = wd_context->get_child_node( name =
wd_this->wdctx_if_data ).
lo_el_if_data = lo_nd_if_data->get_element( ).
lo_el_if_data->get_static_attributes(
importing
static_attributes = ls_if_data ).
ls_zhrhap_s_dates-valid_begda = ls_if_data-begda.
ls_zhrhap_s_dates-valid_endda = ls_if_data-endda.
DATA lo_el_zhrhap_vp_app_01 TYPE REF TO if_wd_context_element.
data ls_zhrhap_vp_app_01 type wd_this->element_zhrhap_vp_app_01.
data lv_description like ls_zhrhap_vp_app_01-description.
lo_el_zhrhap_vp_app_01 = lo_nd_zhrhap_vp_app_01->get_element( ).
lo_el_zhrhap_vp_app_01->get_attribute(
EXPORTING
name = `DESCRIPTION`
IMPORTING
value = lv_description ).
REPLACE ALL OCCURRENCES OF '类别:' in lv_description with ''.
lv_description = ls_if_data-stext.
data l_is_ok type boole_d.
data pdf_source type xstring.
data l_msg type ref to cl_hrpa_message_list.
create object l_msg.
call method zcl_hr_appraisal_utility=>print_contract_direct
exporting
form_type = 'COD'
zhrhap_t_document = lt_zhrhap_t_document
zhrhap_s_dates = ls_zhrhap_s_dates
zhrhap_s_app_leader = ls_zhrhap_s_app_leader
description = lv_description
job_description =
message_handler = l_msg
importing
is_ok = l_is_ok
pdf_xstring = pdf_source
check l_is_ok is not initial and pdf_source is not initial.
data lo_nd_pdf type ref to if_wd_context_node.
data lo_el_pdf type ref to if_wd_context_element.
data ls_pdf type wd_this->element_pdf.
data lv_source like ls_pdf-source.
lo_nd_pdf = wd_context->get_child_node( name = wd_this->wdctx_pdf ).
lo_el_pdf = lo_nd_pdf->get_element( ).
lo_el_pdf->set_attribute(
exporting
name = `SOURCE`
value = pdf_source ).
*-->ADOBE View embeded to ViewContainer UI
data: lr_view type ref to if_wd_view_controller,
lr_api_main type ref to if_wd_component,
lr_window_man type ref to if_wd_window_manager,
comp_usage type ref to if_wd_component_usage,
l_title type string value '打印合同',
lr_window type ref to if_wd_window.
lr_view = wd_this->wd_get_api( ).
lr_api_main = wd_comp_controller->wd_get_api( ).
lr_window_man = lr_api_main->get_window_manager( ).
l_title = wd_colr_mp_controller->model->get_text( '006' ).
call method lr_window_man->create_window
exporting
modal = abap_true
window_name = 'POPUP'
title = l_title
button_kind = if_wd_window=>co_buttons_yesno
message_type = if_wd_window=>co_msg_type_none
default_button = if_wd_window=>co_button_yes
receiving
window = lr_window.
lr_window->open( ).
endmethod.
looking forward to your help....thanks in advancePing,
1st, see the Markup formatting options over on the right part of the screen - if you wrap your code between the code tags it will read MUCH better.
2nd, I can't replicate this issue - we have several PDFs opening in new windows & we only need to click once on the clost 'X' - how are you calling the PDF in a new window?
If you can't find a final resolution, an alternative would be to place a LinktoAction on your web dynpro application somewhere that makes sense which would close the window for you.
We do this on Sucess Message Views...
You can simply add the link to action to the screen, and in the event handler use
data : l_view_cntr type ref to if_wd_view_controller,
l_win_cntr type ref to if_wd_window_controller,
l_window type ref to if_wd_window,
l_parameter_list type wdr_event_parameter_list,
l_parameter type wdr_event_parameter,
l_val type ref to data.
field-symbols <fs> type any.
l_view_cntr = wd_this->wd_get_api( ).
l_win_cntr = l_view_cntr->get_embedding_window_ctlr( ).
l_parameter-name = 'CLOSE_WINDOW'.
create data l_val type c.
assign l_val->* to <fs>.
<fs> = 'X'.
l_parameter-value = l_val.
insert l_parameter into table l_parameter_list.
l_win_cntr->if_wd_view_controller~fire_plug(
exporting plug_name = 'EXIT_PLUG'
parameters = l_parameter_list ).
Make sure you have an Exit plug on your Window with Plug Type EXIT. -
Javascript to open a new sized window
Hello everyone
I am working on a responsive project (CP8) which is going to be converted into an iPad App with phonegap.
The app has several links that open PDF documents. The problem is that when the new window is opened you are stuck on it and con'not get back to the actual App. There is no back button like an android phone and pressing the home button and going back to the App just reopens the link with the PDF document.
I was thinking of adding javascript to open a small window to view the pdf document so the user can X out of it, but I do not know if this will work and am uncertain on what code I would need to open a link in lets say an 800 wide x 400 high new popup window.
Any idea on how to resolve this issue.I have checked the setting and in 3.6 it is under:
Advanced JavaScript Settings:
I do have 'Move or resize existing windows' checked.
There is no 'Allow Scripts to...' check box.
I am the original poster. -
Multiple buttons on popup window
Hi Experts,
Is there any possible way to add 4 buttons on webdynpro poup window.Iam already adding 2 buttons
submit(yes),reject(No)...is there any way to add two more like cancel,change...
if any one could u give solution is grately appreciated thanks in advance...
Regards,
kranthiHi Kranthi,
If you are using standard buttons from window manager ( IF_WD_WINDOW_MANAGER) while generating popup window, we can have maximum of 3 buttons.
Other way:
You can add as many buttons you want inside the view and do not use standard buttons.
Please follow the below steps
Create a view V_POPUP and add your ui elements
create 4 buttons YES, NO, CANCEL & CHANGE inside the view and create actions for each button
Create a window W_POPUP & embed the view V_POPUP inside the window
Create an attribute GO_WINDOW ( ref to IF_WD_WINDOW ) inside view-->attributes tab
Now, call the popup window as below
CALL METHOD lo_window_manager->create_window(
EXPORTING
window_name = 'W_POPUP'
title = 'My Popup Window with custom buttons'
close_button = abap_true
button_kind = if_wd_window=>CO_BUTTONS_NONE " no std buttons
close_in_any_case = abap_false
RECEIVING
window = wd_comp_controller->go_window
wd_comp_controller->go_window->open( ).
Now, if you want to close the popup window inside the CANCEL button, write the below code
wd_comp_controller->go_window->close( ).
Hope this helps you.
Regards,
Rama -
Open sso enabled app in new browser window
I have a java app deployed to OAS and secured with Single Sign on. I would like my app to open a report and display it in a new browser window. When the new window opens I am getting an error stating that user is not authorized to access the report. This is due to the session information (successful login) being stored with the cookie in the original browser window (where the session started and where the user originally logged in). Is there a way to pass that cookie information to the 2nd browser window...or some way to re-authenticate without having the user log on again...possibly some mod_osso set-up...or some additional code? TIA.
Hi Durairaj,
The thing is that I did not get the desired answer to my query and the thread was posted in a wrong forum thus I have the query again inthe correct forum.
Regards,
Sweta. -
Cache problem for servlet opening new browser window
Requirement:
I have JSP page say summary.jsp with link "print account summary"
When user clicks on this link, new browser open with PDF document of summary.jsp
This new browser window should not have address bar and toolbar.
Solution:
Servlet called PrintSummary which sets contenttype=application/pdf and sends the data to outputstream.
href of link is
Java script function is:
function openWindow(url){
window.open(url,'blank','toolbar=no')
Problem:
Since the URL of this new window is
http:// host:portnumber/PrintSummary
Even if I click the "Print summary" link for account2,
being the same URL (http:// host:portnumber/PrintSummary) it accesses the existing page in the cache which is created for account 1.
In href if I just use servlet url as
I get the expected behaviour but then I don't have control on browser appearance and browser window will be with address bar and toolbar.
The only option I could think of was changing URL as follows:
<% String url ="javascript:openWindow('PrintSummary? var1="+ Math.random()+"')";
So that URL is different all the time
Is there any way to solve this problem?
Thanks in advance
M.I'd definitely try to use a Flex popup... but the
flash.net.navigateToURL method is a simple way to open a popup
window in a new browser. You can pass any data needed by the new
page using the URLRequest and/or URLVariables. The URL you navigate
to could, of course, be another Flex application if necessary. I
use this only when I need to open a popup window on another site,
or an HTML formatter report or something similar.
Concerning yourself with the size of the popup window may be
a bad design choice also. I, for example, have my browser
configured to open all popups in a new tab regardless of sizing
constraints imposed by the designer. If it is absolutely necessary
for you to have control over the size of your popup window, you
should follow the advice given by others and use a Flex
popup.
Maybe you are looking for
-
ABAP program in process chain running under another user
Hi, gurus I have a process chain that load three DSO in order to generate authorizations. I wish to add a new process at the end of this process chain which calls ABAP program RSSB_GENERATE_AUTHORIZATION. I wish to run this ABAP program under a diffe
-
Remote Desktop user rights assignment
I have a 2012 server that I'm using with Remote Desktop Services. Users connect to this server to work with QuickBooks 2013 Premiere. The problem is that QuickBooks would not run unless users had administrative rights. To get around this I made eve
-
What's the default host string for oracle 8i personal edition?
-
hello, the livecache shuts down automatically when the database manager window is closed. does anyone have an idea why and how this can be resolved? thanks!
-
URGENT : Pass non-serializable objects over sockets
I am working with a non-serializable class.I can't change it to serializable(since it's an API class).I can't create a subclass either as I need to pass the same exact Object .I have tried wrapping it in a serializable class (as transient )but then t