BSP popup Window error
Hi All,
I have uploaded a excel document using HTMLB:upload function, and converted the file content into xstring and saved it in my ztable, now i want the user to click this filename and open the file in a new window.
i have written the code to convert the xstring back to its original format, but, when i click on GET button, the window pops up but closes immediately,
No popupblockers are installed.
can anyone give me some ideas to go about with this issue.
Thx,
Som
the above link no way helped me in solving he problem i had, but yes gave me some other information.
i had solved the issue by enabling the popups in the tools>internet options>security>custom.
Similar Messages
-
Popup window error : You are trying to access a page that is no longer..
Hello guys,
read all the threads related to popup windows and everything works fine except one thing: all the time I get following error :
"You are trying to access a page that is no longer active.
- The referring page may have come from a previous session. Please select Home to proceed."
Let's define setup I did :
1. page installed and should be fine, some controller created as well;
2. new function defined using following params : Type = SSWA jsp function, web HTML = OA.jsp?page=/xxcompany/oracle/apps/icx/por/req/webui/xxPage
3. function added to menu used in particular responsibility
IF I define some Promt for this menu entry, I can access this page following way : OA_HTML/RF.jsp?function_id=25860 - everything works fine but I need to get it in popup window
Fine, popup window URl (no problems with popup window at all) : OA_HTML/OA.jsp?page=/xxcompany/oracle/apps/icx/por/req/webui/xxPage return mentioned error message.
Fine, let's try this : OA_HTML/OA.jsp?OAFunc=XX_FUNCTION return same error again.
What else I tried? Well, post params like resp_id and so on = nothing helps so far.
Something missing in setup?
Any ideas?
Message was edited by:
user642776Hi,
is it a seeded page or a custom one?
In the first case, have you extended the root AM?
I had an error like that when I tried to extend the root AM in a seeded page, before to know it was not possible.
Bye
Raffy -
Reg:Internal Popup Window:Error messages
Hi All,
I am using a Internal Popup Window, but the error messages of "Popup window" is shown in the "Parent Window" instead of showing in "Popup Window". please suggest me to get the Error messages in "Internal Popup Window"
Thanks
NagarajuHi Naga,
Disable the parent iviews message area before calling the child(popup) window. Then you can get the message in the child(popup) window.
According to documentation, oldest (parent) message area would be used if there are more than one windows (in a layout).
see this thread also How to display messages in pop up windows?
PradeeP -
Just updated Foxmarks to the latest version (3.7.8). I'm running Firefox 3.6.6. It freezes Firefox with a popup window notifying me of some error with NoScript, I can't do anything except close Firefox with Windows (service pack 3) alt-ctrl-del
http://forums.informaction.com/viewtopic.php?p=19671#p19671
http://getsatisfaction.com/foxmarks/topics/update_3_7_8_breaks_xmarks_with_firefox_3_win7 -
I keep getting a popup error message on my mac "There was a problem connecting to the server 172.17.0.22"
How do I fix this problemThat is The moment you go to open a new website it will reappear and then you need to close it before I can access the website I want. …
-
Popup window error must set parameter windowInfo
Hi Friends,
I am getting error as :- must set parameter windowInfo,when I am clicking on the link to view the Modal window.
I am providing the correct window name, btu still teh error coming.
any clue please.
IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI
.getComponentInfo()
.findInWindows("OrderPopupWindow");Check if you are setting the windowInfo properly or not.
IWDWindow window = wdComponentAPI.getWindowManager().createWindow( <b><u>windowInfo</u></b>, true);
Bala -
Error when calling a popup window in the initial screen of an application
Hi,
I am calling a popup window in the Initial screen to select the variant list.
I am getting an error reference to Null Object reference.
Here is the Error.
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO
Exception CX_SY_REF_IS_INITIAL
Date and Time 15.06.2007 10:00:16
Short text
Access via 'NULL' object reference not possible.
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_WDR_MESSAGE_AREA===========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in
procedure "SUPPLY_VIEW_DATA" "(METHOD)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component.
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"OBJECTS_OBJREF_NOT_ASSIGNED_NO" "CX_SY_REF_IS_INITIAL"
"CL_WDR_MESSAGE_AREA===========CP" or "CL_WDR_MESSAGE_AREA===========CM00Q"
"SUPPLY_VIEW_DATA"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
The exception must either be prevented, caught within proedure
"SUPPLY_VIEW_DATA" "(METHOD)", or its possible occurrence must be declared in
the
RAISING clause of the procedure.
To prevent the exception, note the following:
Looking for Ur valuable suggestions.
Cheers,
SamHi Sam,
The correct code for creating a popup window will be:
data lo_window_manager type ref to if_wd_window_manager.
data lo_api_component type ref to if_wd_component.
data lo_window type ref to if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_window(
window_name = 'WINDOW_NAME'
* title =
* close_in_any_case = abap_true
message_display_mode = if_wd_window=>co_msg_display_mode_selected
* close_button = abap_true
button_kind = if_wd_window=>co_buttons_okcancel
message_type = if_wd_window=>co_msg_type_none
default_button = if_wd_window=>co_button_ok
lo_window->open( ).
Hope this helps.
Regards,
Ram -
Error: Open popup window failed
Hi,
I'm opening a web page in an StageWebView and by trying to click a link that should open a window, I receive this error:
[StageWebView] Error: Open popup window failed
This is the link "Invite your friends" at Google:
https://developers.google.com/+/web/share/interactive#myBtn
How to fix that? I hope anybody got an idea!This is a javascript/html question, and has nothing to do with Java/JSP.
You could do it with plain javascript/html using window.opener.
I would recommend using something like a [YUI 2 Panel|http://developer.yahoo.com/yui/container/panel/] to do it.
Opening new windows is a thing of the past. -
Linkinking error msg on status bar and a popup window
Hi
My requirement is that whenever an error msg comes on status bar after execution,i need to double click
on that error msg and followed by that a popup window should appear with the customised details about error msg.
plz suggest some solution or some function module which gives popup on double clicking on error msg.
Thanks in advance,
Arya.Hi,
my question is that this popup should be populated by customized details i mean suppose error message on status bar is asking 'authority scheck for one or more plants have failed.would you like to see the details'.Now if user double clicks on status error message pop up screen should contain all the plant numbers for which authorization has failed.I hope this clarifies my question.
thanks -
Hello,
I am new at BSP's so I hope someone can help me.
When I click on button in a BSP-page i call a popup-window using something like this
function Popup(url){
window.open(url,"MyPopup",'height=100,width=300');
In that new window there are 2 buttons (Y/N), I leave the popup with the client event self.close().
Now the problem is that the page which triggered the popup doesn't do an 'ON_CHANGE_REQUEST'.
So I cant' figure out on which popup-button the user has clicked.
Anyone a clue ?
Thanks in advance.
Dirk.Hi,
this is rather a javaScript question than a BSP question (or a solution, since I'm new to BSP as well).
Try to use in javascript window.opener in the client window. Using that you can do with your y/n buttons:
<button name="y_n_submit" value="yes" onClick="javascript:window.opener.call_some_javascript_function('yes')">
<button name="y_n_submit" value="no" onClick="javascript:window.opener.call_some_javascript_function('no')">
This function is a javascript in the opener window that can handle the input.
Regards,
Leo
Link for the javascript stuff:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/obj_window.asp -
Syntax Error In Javascript Popup Window
I'm wondering if anybody can help me out here with a curious bit of code. I'm using GoLive 9 to generate Javascript popup windows. They seem to work fine, but when I check the syntax I get these errors:
Line 22 Unexpected PCDATA
Line 24 The Corresponding start tag is missing
Specifically, it references this code:
</script>
//-->
</script>
But every time I try to delete or modify those lines I lose the link to my css file and can't link it back. Does anybody out there with a whole lot more brains than me have a solution? Remember, I'm stupid, so if you have a fix I'd appreciate it being explained as simply as possible. Thanks. BTW here's the entire code for the Javascript popup page below:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="generator" content="Adobe GoLive" />
<title>1408</title>
<script type="text/javascript"><!--
<script type="text/javascript">
//Global var to store a reference to the opened window
var openedWindow;
function openWindow()
openedWindow = window.open('moreinfo.htm');
function closeOpenedWindow()
openedWindow.close();
</script>
//-->
</script>
<link href="../../../BAD/michaelthibault.com/css/agl-styles.css" rel="stylesheet" type="text/css" media="all" />
<link href="../../../BAD/michaelthibault.com/css/java.css" rel="stylesheet" type="text/css" media="all" />
<style type="text/css" media="all"><!--
a:link { color: #838383; }
a:active { color: #838383; }
.dsR1 /*agl rulekind: base;*/ { width: 480px; height: 260px; }
#media { position: absolute; top: 50px; left: 50px; width: 480px; height: 260px; z-index: 1; }
#pause { position: absolute; top: 320px; left: 50px; width: 180px; height: 15px; z-index: 2; }
#close_a { position: absolute; z-index: 3; top: 336px; left: 50px; width: 180px; height: 19px; }
--></style>
</head>
<body>
<div id="media">
<object class="dsR1" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="204" width="480" align="left">
<param name="enablejavascript" value="true" />
<param name="bgcolor" value="#1a1a1a" />
<param name="src" value="../../media/01_trailers/1408_tlr1r_h.480.mov" />
<param name="autoplay" value="true" />
<param name="controller" value="false" />
<embed align="left" height="204" pluginspage="http://www.apple.com/quicktime/download/" src="../../media/01_trailers/1408_tlr1r_h.480.mov" type="video/quicktime" width="480" controller="false" autoplay="true" bgcolor="#1a1a1a" enablejavascript="true"></embed>
</object></div>
<div id="pause">double click in center to pause</div>
<div id="close_a">
<a href="javascript:self.close();">close window</a></div>
<p></p>
</body>
</html>You have a script tag nested inside another script tag. Try changing this:
< script type="text/javascript">< !--
< script type="text/javascript">
//Global var to store a reference to the opened window
var openedWindow;
function openWindow()
openedWindow = window.open('moreinfo.htm');
function closeOpenedWindow()
openedWindow.close();
< /script>
//-->
< /script>
...to this...
< script type="text/javascript">< !--
//Global var to store a reference to the opened window
var openedWindow;
function openWindow()
openedWindow = window.open('moreinfo.htm');
function closeOpenedWindow()
openedWindow.close();
//-->
< /script> -
Error when clicking other button after displaying Popup window
Hi,
I'm developing a custom page which calls a popup window in r12, below is the error encountered.
Error: Cannot Display Page
You cannot complete this task because you accessed this page using the browser's navigation buttons (the browser Back button, for example).
To proceed, please select the Home link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
On my base page, I have other buttons like Save, Back, and the button to invoke the popup window. I can display the popup window without error, but when i clicked on the base page's other buttons after invoking the popup window, the error above is shown. I'm not clicking any browser's navigation buttons. Please let me know how to solve this error.
Thanks!Hi,
Just want to update...
The error occurred because I have isBackNavigationFired checking, this becomes true when clicking the other buttons in the base page after displaying the popup. Is there a workaround where I can make this work without removing my back browser navigation checking?
Thanks! -
Error loading JSF page popup window - Cannot find FacesContext
Hello,
I am trying to load a popup window from my Visual Web JSF page. The popup window itself will be a Visual Web JSF page also.
As an example, i have 2 buttons on my original page with jsp tags as follows::
<webuijsf:button binding="#{Page1.button1}" id="button1" onClick="window.showModelessDialog('./PopupPage.jsp'); return false;"
style="left: 19px; top: 16px; position: absolute" text="Button"/>
<webuijsf:button actionExpression="#{Page1.button2_action}" binding="#{Page1.button2}" id="button2"
onClick="window.showModelessDialog('./PopupPage.jsp');" style="position: absolute; left: 20px; top: 44px" text="Button"/>
When i click Button1, the popup window appears but will not load the page within the window. I get the following report in the server log:
StandardWrapperValve[jsp]: PWC1406: Servlet.service() for servlet jsp threw exception
java.lang.RuntimeException: Cannot find FacesContext
at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1811)
at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1628)
at org.apache.jsp.PopupPage_jsp._jspx_meth_f_view_0(PopupPage_jsp.java from :102)
at org.apache.jsp.PopupPage_jsp._jspService(PopupPage_jsp.java from :77)
ETC ETC
If i click Button2 (which does NOT return false in the onclick Script and thus submits the first page) the first attempt fails with the same error, but if i try a second time the popup window displays and loads the page correctly.
Any solutions would be greatly appreciated as this is driving me crazy :-s
Edited by: coxy69 on Jan 9, 2008 10:29 PMCannot find FacesContextThis generally indicates that you invoked a request which points to a JSP page which contains JSF tags, but that the request itself isn't passed through the FacesServlet. Make sure that the request URL is covered by the url-pattern setting of the FacesServlet in the web.xml.
-
How to show a popup window to display an error message
Hi,
I want a popup window to popup when an error occurs on pressing an "OK" button in my GUI. What should I use for that? Is it a JWindow?A JOptionPane is probably easiest:
http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html -
Retaining BSP page chages with Javascript popup window
Hi Experts
We are using a customized BSP application for our performance
Management. To propmt users for saving their appraisal documents
before a session timeout,we used an Javascript popup message(alert
window). This window doesnot affect the BSP page in any way.(code
provided below)
Per changed requirement,we now have to retain the BSP page values once
the user clicks 'OK' on this javascript popup window. I used the page
refresh option with script. But this is erasing the earlier values.
Can anyone tell me,how i can holdback the BSP page values after the
user action on the popup window. If a piece of code is provided,it
would be greatly appreciated.
Thanks in Advance
Alan
Existing code for timeout popup
javascript code
function remind (){
var msg = "Your Session will expire in the next 10 minutes. Please
save your data.";
alert the msg(using alert box)
<%
data: v_rem type string.
DATA: port TYPE STRING.
data: l_timer type string.
port = request->get_header_field(
if_http_header_fields_sap=>server_port ).
DATA: services TYPE TABLE OF ICM_SINFO.
CALL FUNCTION 'ICM_GET_INFO' TABLES SERVLIST = services.
FIELD-SYMBOLS: <service> TYPE ICM_SINFO.
DATA: wait TYPE STRING.
READ TABLE services ASSIGNING <service> WITH KEY service = port.
wait = <service>-KEEPALIVE - 10.
CONDENSE wait.
****Start Changes: Timeout
**l_timer = wait * 60 * 1000.
l_timer = 1 * 60 * 1000.
****End Changes
concatenate `'remind(` wait `)',` l_timer into v_rem.
%>
<htmlb:content design = "DESIGN2002+DESIGN2003"
sessionManagement = "TRUE"
controlRendering = "SAP">
<htmlb:page title = "<%= otr(ZPMDGL/TITLE_DOCUMENT) %>"
disableBackspaceNavigation = "TRUE" onLoad pass v_rem as a parameter to setTimeoutduplicate post locked.
Raja
Maybe you are looking for
-
In formsweb.cfg under 9.0.4 when I set originator=c:\myforms, I can run/debug a forms from FormBuilder with no problems. If I do the same in 10.1.2 I receive error "unable to communicate with runtime process". If I leave workingDirectory alone (i.e.
-
Hi, Can any one know where to find 1. Configuration related documentation or 2. End to end TPM process documents The TPM process is not covered in any of the CRs and hence its difficult to configure in the system. Any quick inputs will be highly ap
-
Technical Specification documentaion
Hi experts I want to prepare Technical specification documet of my project , can any one please send the sample document , iam new to the BI in my company , so please any one send me the links or send to my id anilk7729atgmail.com.
-
Feature Request: Modify Column in list of Column Actions ...
There's Comment, Rename, Add, Drop, Normalize ... but no plain ol' "Modify" ... it's probably somewhere else, and I'm too stoopid to know. If this is posted somewhere else, I'm sorry. If this should be posted on the Feature Exchange whatever-it-is, I
-
LE7 is currently not letting me save files to HD/~ filepaths, only <User>/~ ones. As I'm the only user of my Mac I never save anything in my home directory, and would prefer not to start. Has anyone come across this issue? PBG4 1.5, 512MB, 80G HD, 10