Popup window required
Hi all,
Is their any class where we can generate a popup window ...
just like Function Module - CJWI_POPUP_TO_CONFIRM_STEP
Thanks in advance ..
report zalv_sample .
tables vbak.
data it_vbak like vbak occurs 0 with header line.
select * from vbak
into corresponding fields of table it_vbak
up to 10 rows.
call function 'REUSE_ALV_POPUP_TO_SELECT'
exporting
i_title = 'SALES ORDER INFO'
i_zebra = 'X'
i_tabname = 1
i_structure_name = 'vbak'
tables
t_outtab = it_vbak
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
regards,
venkat.
Similar Messages
-
Requirement to create a popup window in R12
Hi All,
I have a requirement to show a popup window for a column in a table region. I have column which contains the XML data. Once i click on the particular data, the whole XML data should come in a small popup window.
I should not navigate to another page. I should see the data in the same page in a small popup window.
Kindly give me your suggestions.
Thanks and Regards,
MyvizhiIn R12 whe have a properties "Popup id" , Popup enabled for the item.
You can create a new region and you can map that region to the item popup id and Popup enabled "true". -
How to get the values from popup window to mainwindow
HI all,
I want to get the details from popup window.
i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
now i am able to display popup window with values.How to get the values from popup window now.
I can anybody explain me clearly.
Thanks&Regards
kranthiHi Kranthi,
Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
Regards,
Uday -
Custom pushbutton in ME21N should display a popup window with item details
Hello,,
The requirement is to
1. Add a custom pushbutton in ME21N screen at header level.
2. The user will select some PO line items and will click on this push button.
This inturn should trigger a popup window with item details only for those selected PO line items along with schedule line qty.
I have created the custom push button in a custom tab using the BADI ME_GUI_PO_CUST.
Now I am not able to retrieve item details and schedule line details inside the PAI of the custom tab..
i.e., when i click on the custom push button, I am not able to retrive the item data and schedule line data.
Please help me to retrive PO line item data and schedule line data.
Regards,
SharahJSF is not so relevant in this question. It's all about how the generated client side code look like. Which is usually a bunch of HTML/CSS/JS (open page in browser, rightclick and view source). If you know HTML, you should know that using target="_blank" in a <form> or <a> element would open a new window. If you know JS, you should know that using window.open() would open a new window.
Apply this so in the JSF source code so that the generated HTML/JS output is exactly what you want. -
How to show Popup window in OAF on click of a button
How to show Popup window in OAF on click of a button (Without using Javascript)
1. I have one OAF page on which i should have button Called "Next"
2. On clicking of this button a new window/page should be displayed with the image stored in database. on clicking on this "Next" button again next image from the database should be displayed on the newly opened window/page.
3. Is it possible to configure OAF to render window_II in the opposite screen of window_I where the OAF client resides? (If the OAF-client resides in screen_I render window with image in screen_II). That is, at the first click on the Next-button, window_II appers on screen_II and not some random location. The user will have 2 screen/monitors on his work place.
4. Given that the two windows reside on each screen, is it possible to make OAF remember the position of window_II ? The goal of this is to force the window to pop up on the same location on the same screen next time the Next-button is pressed.
5. If window_II is closed (eg. by using X) and the Next-button in window_I is pressed again, will window_II pop up in the same location and screen as previously ?
6. Is it possible to have a Print-button in window_I what prints the scanned picture in window_II ? Is it possible to have the click on this Print-button to open the standard print dialog on top of window_II ? Could the button be placed in window_II as well, having the same functionality ?I have tried to open home page window. You can change the URL according to your requirement.
import oracle.apps.fnd.framework.webui.OAUrl;
StringBuffer l_buffer = new StringBuffer();
l_buffer.append("javascript:mywin = openWindow(top, '");
String url = "/OA_HTML/OA.jsp?OAFunc=OAHOMEPAGE"; // Calling Oracle Home Page
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());
Above code will open the new page in new window.
Thanks
--Anil -
How to display a PDF document in popup window
Hi,
I have a requirement where i need to display a PDF document to be obtained from a virtual repository and then display it on a popup window.
Thanks
DS
PS: any code snippet or link explaining the above will be helpfulUse should the ShowProperty servlet in a link or javascript, e.g.:
<a href="/mywebapp/ShowProperty/path/to/pdf/node
target="someOtherWindow">pdf</a>
pdf
Or, with dyamic node retrieveal (from search or contentSelector,
assuming node is the pdf Node):
<a href="/mywebapp/ShowProperty<cm:getProperty node='<%=node%>'
name='cm_path' conversionType='url'/>
target="someOtherWindow">pdf</a>
<a href="javascript:window.open(
'/mywebapp/ShowProperty<cm:getProperty node=<%=node%">"
name="cm_path" conversionType="url"/>',
'SomeOtherWindow',
'height=400,width=400,scrollbars=auto,resizeable=yes');return false;">
pdf</a>
Greg
Sanjay Datta wrote:
Hi,
I have a requirement where i need to display a PDF document to be obtained from a virtual repository and then display it on a popup window.
Thanks
DS
PS: any code snippet or link explaining the above will be helpful -
Migration from 1.6 to Apex 3.1 - Popup windows no longer working
We just moved our application to Apex 3.1 from HTMLDB 1.6. The only thing that is not working since we migrated is the popup window that used to work. Now a window still pops up, but it is the login screen, not the expected window, and even if one logs in at that point, it just takes them back to the main screen, not to the expected popup window. Is there some setting I have to change to make it work as it did before, or does the code go somewhere else now? This is the code:
The URL redirect of a button on the calling page: javascript:callMyPopup('P4_PRI_CONTACT_ID');
The javascript on that same page: <script language="JavaScript" type="text/javascript">
function callMyPopup (formItem1) {
var formVal1 = document.getElementById(formItem1).value;
var url;
url = 'f?p=&APP_ID.:10:::::P10_CONTACT_ID:' + formVal1 ;
w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
if (w.opener == null)
w.opener = self;
w.focus();
</script>As of v2.0 session IDs were required for f?p URLs. Oracle® HTML DB Release Notes Release 2.0 Part Number B16374-02
Mike -
TIP: Building Modal Popup Windows
Build Modal Popup Pages
Introduction
The following is based on the 'How To Document' - 'Build Custom Popup Pages'.
This How To will show the developer how to create Modal Popup windows with the ability to pass information back to the parent window.
Example Scenario
The example described in this how to adds a custom modal popup LOV to a form on the SCOTT.EMP table. Clicking the popup LOV link on the form page will popup a Modal LOV page that allows users to search by ENAME, JOB, and SAL. Selecting a value from this LOV page will close that popup LOV page and populate the ENAME, JOB, and SAL fields on the form page with the selected values. Additionally, had the user entered some data into the ENAME, JOB, and/or SAL fields on the form page, that data would be used in the initial search when the popup LOV page is first shown.
Step 1 - Create a simple form page on SCOTT.EMP
To create the form page, simply step through the HTML DB "Form on a Table or View" wizard against the EMP table accepting the defaults. For this example, create the form with a page number of one, and make sure to allow the ename, job, and sal fields to be editable. When the wizard completes, page 1 of the application should have the items P1_ENAME, P1_JOB, and P1_SAL on it as text fields.
Step 2 - Create a popup page with search fields
Next, create a page that's to be used as the popup window: Page 2. Ultimately, this page will have javascript, a report region, and some buttons. For now, though, just create a page 2 with the items P2_ENAME, P2_JOB, and P2_SAL on it as text fields.
Step 3 - Set Modal popup page header requirements
A) Modal windows by default cache the information they display. When creating a popup window which displays different information each time it is called or to allow searching the caching default must be switched off.
Add the following meta-tag to the "HTML Header" field of the page-level attributes screen for page 2 to accomplish this:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
B) Modal windows by default open a new window when running any redirect calls. When creating a modal popup which passes back parameters to the parent window. The modal window has to be forced to fire redirect calls within its own window rather than open a new window for the redirect.
Add the following tag to the "HTML Header" field of the page-level attributes screen for page 2 to accomplish this:
<base target="_self">
Step 4 - Add Javascript call to the popup page
Because the popup page should filter its result set based on any values that the user might have entered onto the form page, you need to add a javascript function that would pass those values off. Add the following function to the "HTML Header" field of the page-level attributes screen for page 1 to accomplish this:
<script language="JavaScript" type="text/javascript">
function callMyPopup (formItem1,formItem2,formItem3) {
var formVal1 = document.getElementById(formItem1).value;
var formVal2 = document.getElementById(formItem2).value;
var formVal3 = document.getElementById(formItem3).value;
var url;
url = 'f?p=&APP_ID.:2:&APP_SESSION.::::P2_ENAME,P2_JOB,P2_SAL:' + formVal1 + ',' + formVal2 + ',' + formVal3 ;
// IE Browsers modal popup window
if (window.showModalDialog) {
w = showModalDialog(url, window.self,"status:0; scroll:1; resizable:1; dialogWidth:25; dialogHeight:43");
// w is an array returned from the modal popup containing the passback values
if (w) {
document.getElementById("P1_ENAME").value = w[0];
document.getElementById("P1_JOB").value = w[1];
document.getElementById("P1_SAL").value = w[2];
document.getElementById("P1_SAL").focus();
else {
// mozilla based browsers modal popup window
w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600", modal="yes");
if (w.opener == null)
w.opener = self;
w.focus();
</script>Though you don't need to know how to read javascript for this example, it helps to understand that this function only does one important thing: it opens a modal popup window of page two in our application while passing values to P2_ENAME, P2_JOB, and P2_SAL. It gathers those values to pass from the names of the HTML DB items provided to it. The call to this function will be added in the next step below.
Step 5 - Add a popup link next to the P1_SAL field on the form page
Add a link to the form page that will call the callMyPopup function above and pass it the values it needs. To do so, place the following HTML in the "Post Element Text" field attribute of the P1_SAL item:
<~a href="javascript:callMyPopup('P1_ENAME','P1_JOB','P1_SAL');">Click for LOV<~/a>NB. remove ~ from above when deploying
Step 6 - Add the LOV report to the popup page
The next step is to create a report on the popup page based on the values passed from the form on page one. The tricky part of this report is providing a means for the selected values to be passed back to the form page. This can be achieved by having a column of the report render as a javascript link that would close the popup window and pass the ename, job and sal values for that row back. Start by adding a simple report region to our Modal popup page that uses a query such as:
select ename, job, sal , 'placeholder' the_link
from emp
where ename like '%'||:P2_ENAME||'%'
and (job = :P2_JOB or :P2_JOB is null)
and (sal = :P2_SAL or :P2_SAL is null)Note that the last column in this query is just a placeholder. once the region is created, turn that placeholder into a link by doing the following:
Navigate to the Page Definition for page 2
Next to the name of the report region created in step 6, Click Q
Next to the column THE_LINK, click the edit icon
In the "Link Text" field enter the string "select"
In the URL field enter: javascript:passBack('#ENAME#','#JOB#','#SAL#'); Click the "Apply Changes" button
Step 7 - Add the javascript function to the Modal popup page to pass selected values to the (parent) form page.
In the previous step you added a call to a javascript function, passBack. Now add that function to the top of Modal popup page 2. In the same manner as step 4 above, add that passBack function to the page 2 by putting it in the "HTML Header" field of the page-level attributes screen. The function should look similar to the following:
<script language="JavaScript">
function passBack(passVal1, passVal2, passVal3)
// IE Browser return the passback values in an array
if (window.showModalDialog) {
var retVal = new Array(passVal1, passVal2, passVal3);
window.returnValue = retVal;
window.close();
// Mozilla based browsers right the passback values directly into the parent window
else {
opener.document.getElementById("P1_ENAME").value = passVal1;
opener.document.getElementById("P1_JOB").value = passVal2;
opener.document.getElementById("P1_SAL").value = passVal3;
opener.document.getElementById("P1_SAL").focus();
close();
</script>This function simply sets the values of P1_ENAME, P1_JOB, and P1_SAL with the values of the whatever's stored to the three HTML DB item names passed to it. It also closes the current window and puts the cursor back into the P1_SAL field.
Step 8 - Polishing
The basic functionality of this custom modal popup window has been created in steps 1 though 7. To make its usage a little more friendly, it's advisable to add Cancel and Search buttons to the popup window page. The Search button should just be added as a regular button that branches back to the page 2. Adding this button allows users to re-query for LOV options without having to return to our form page. The Cancel button should be created with an "Action" of "Redirect to URL". The "URL Target" of the button should be javascript:window.close(). As the code suggests, the Cancel button would just close the popup window (with no values returned).
Hope this is of use....Everything said above is working fine but in Mozilla small popup is coming in top left corner of browser..
so please help me so that it is opened in proper width and height in mozilla. -
XSLT Issue to open URL in new tab and PopUp Window through one custom style
I have SharePoint Online Custom List that contains two columns
Name: Single Line of Text
URL: Hyperlink or pictures
Using XSLT I have shown Name columns value on my home page by using below custom style in
Itemstyle.xsl file.
Custom style to show Link in PopUp window itemstyle.xsl
<xsl:template name="OpenApplicationPagePopUp" match="Row[@Style='OpenApplicationPagePopUp']" mode="itemstyle">
<xsl:variable name="SafeLinkUrl">
<xsl:call-template name="OuterTemplate.GetSafeLink">
<xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="DisplayTitle">
<xsl:call-template name="OuterTemplate.GetTitle">
<xsl:with-param name="Title" select="@Title"/>
<xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
</xsl:call-template>
</xsl:variable>
<div class="item link-item">
<xsl:call-template name="OuterTemplate.CallPresenceStatusIconTemplate"/>
<a href="{$SafeLinkUrl}" onclick="ShowPopupDialog(GetGotoLinkUrl(this));return false;">
<xsl:if test="$ItemsHaveStreams = 'True'">
<xsl:attribute name="onclick">
<xsl:value-of select="@OnClickForWebRendering"/>
</xsl:attribute>
</xsl:if>
<xsl:if test="$ItemsHaveStreams != 'True' and @OpenInNewWindow = 'True'">
<xsl:attribute name="onclick">
<xsl:value-of disable-output-escaping="yes" select="$OnClickTargetAttribute"/>
</xsl:attribute>
</xsl:if>
<xsl:value-of select="$DisplayTitle"/>
</a>
</div>
</xsl:template>
My Requirement to show only Suggestion Box in Popup window Other Links Should be open in new Tab So please suggest me what can change in above xslt...
Thanks
Deepak Chauhan
SharePoint 2010 & 2013 and Office-365 Branding and Front End Customization, UI DesignHi,
In SharePoint 2013, we can use JSLink to achieve it.
1. Save the following code as a js file (URLPopup.js) and upload it into the
SiteAssets Document Library.
// List View – Field open modal dialog Sample
(function () {
// Create object that have the context information about the field that we want to change it output render
var linkFiledContext = {};
linkFiledContext.Templates = {};
linkFiledContext.Templates.Fields = {
//Apply the new rendering for URL field on List View
// "URL" is the column name.
"URL": { "View": URLFiledTemplate }
SPClientTemplates.TemplateManager.RegisterTemplateOverrides(linkFiledContext);
// This function provides the rendering logic for list view
function URLFiledTemplate(ctx) {
var itemTitle=ctx.CurrentItem.Title;
var urlLink=ctx.CurrentItem.URL;
var urlDesc=ctx.CurrentItem['URL.desc'];
if(urlLink!=null&&urlLink!=""){
if(itemTitle=="Suggestion Box"){
return "<a href='#' onclick=\"openModalDialog('"+urlLink+"')\">"+urlDesc+"</a>";
}else{
return "<a href='"+urlLink+"' target='_blank'>"+urlDesc+"</a>";
}else{
return "";
function openModalDialog(url)
var options = {
title: "Suggestion Box",
autoSize: true,
url: url
SP.UI.ModalDialog.showModalDialog(options);
return false;
2.Edit the list view page.
3.Edit the list web part. Go to Miscellaneous -> JS Link.
4.Add the following URL into the JS Link textbox.
~site/SiteAssets/URLPopup.js
5.Click "OK" and save the page.
Best Regards
Dennis Guo
TechNet Community Support -
Popup window in Wendynpro for ABAP
Hai,
How to create popup window with some texts and close button.
Once user click a table cell (link to action), the popup window shoud give information about the cell information.
Please this is urgent.
Thanks in advance,
TamilHi,
This can be achieved in the following manner,
Firstly, As you want to have a pop up , you need to create a new window in the application. now as you wrote that you need some texts and a button. create a view having both the things, i.e create texts and a button on the view.
Now as this view cant be displayed alone on screen, this view has to be embeded in the window you created for the popup.
now the pop up creation is done and code the below on the link to action.
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.
data lo_view_controller type ref to if_wd_view_controller.
data : lt_text TYPE string_table,
ls_text TYPE string.
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 = write window name here please note all should be in caps
title = title here
message_display_mode = if_wd_window=>co_msg_display_mode_selected
close_button = abap_true
button_kind = if_wd_window=>co_buttons_ok
message_type = if_wd_window=>co_msg_type_none
default_button = if_wd_window=>co_button_ok
lo_window->open( ).
Let me know in case of any issues!!
Thanks and Regards,
Shitanshu Sahai
Kavita Rathore Please provide the required code, I guess you implemented it in your program -
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 -
Capture the Popup window action
Hi,
I have a requirement when i click 'yes' on popup window i need to save the data. For that i need to capture the fctcode of save.
Below is the sample code...
Data: context_node type ref to if_wd_context_node.
data: lr_popup type ref to if_wd_window,
lr_view_controller type ref to if_wd_view_controller.
data: lr_api_comp_controller type ref to if_wd_component,
lr_window_manager type ref to if_wd_window_manager.
lr_api_comp_controller = wd_comp_controller->wd_get_api( ).
lr_window_manager = lr_api_comp_controller->get_window_manager( ).
lr_popup = lr_window_manager->create_window(
MODAL = ABAP_TRUE
window_name = 'WIN_POPUP' "Name of the window created in step 2
TITLE = 'Do you want to save the form'
CLOSE_BUTTON = ABAP_TRUE
BUTTON_KIND = if_wd_window=>CO_BUTTONS_OKCANCEL
MESSAGE_TYPE = if_wd_window=>CO_MSG_TYPE_INFORMATION
CLOSE_IN_ANY_CASE = ABAP_TRUE
*MESSAGE_DISPLAY_MODE = "MESSAGE_DISPLAY_MODE'
Adds an action to the popup screen buttons
lr_view_controller = wd_this->wd_get_api( ).
lr_popup->subscribe_to_button_event(
button = if_wd_window=>co_button_ok
button_text = 'Yes'
action_name = 'SAVE'
action_view = lr_view_controller ).
lr_popup->open( ).Hi,
you did right:
lr_popup->subscribe_to_button_event(
button = if_wd_window=>co_button_ok
button_text = 'Yes'
action_name = 'SAVE'
action_view = lr_view_controller ).
Now create action SAVE (within tab 'Action'). When action save is created, method ONACTIONSAVE will be created automatically.
Within ONACTIONSAVE you can check which button is clicked using the WDEVENT parameter:
if wdevent->name = 'ON_NO' or wdevent->name = 'ON_YES'.
endif.
Regards -
Popup window not populated on SAVE event
Hi All,
I am enhancing standard AIC_INCIDENT_H component on EH_ONSAVE event, requirement is to display ComponentUsage "CUGSSurvey"
, InterfaceView "SurveyWindow as Popup window , but there is a blank popup appeared
On SAVE event i write the following code:
IF gr_proctype_popup IS NOT BOUND.
gr_proctype_popup = comp_controller->window_manager->create_popup(
iv_interface_view_name = 'SurveyWindow'
iv_usage_name = 'CUGSSurvey'
iv_title = 'Survey' ).
ENDIF.
lv_viewname2 = 'CUGSSurvey.SurveyOverviewWindow'.
lr_viewset ?= me->get_subcontroller_by_viewname( lv_viewname2 )..
lr_view_ctrl_par ?= lr_viewset->M_PARENT. ".
current_sur_id = lr_view_ctrl_par->TYPED_CONTEXT->SURVEYID->collection_wrapper->get_current( ).
current_sur_ver = lr_view_ctrl_par->TYPED_CONTEXT->SURVEYVERSION->collection_wrapper->get_current( ).
* while current_sur_id is not initial.
if current_sur_id is not bound.
return.
endif.
try.
* data: rv_result type string.
CALL METHOD current_sur_id->GET_PROPERTY_AS_STRING
EXPORTING
IV_ATTR_NAME = 'SURVEY_ID'
RECEIVING
RV_RESULT = RV_RESULT
catch cx_crm_cic_parameter_error.
endtry.
RV_RESULT = 'FDB_FORM_01'.
TRY.
CALL METHOD current_sur_id->SET_PROPERTY_AS_STRING
EXPORTING
IV_ATTR_NAME = 'SURVEY_ID'
IV_VALUE = RV_RESULT
* data: lr_core TYPE REF TO cl_crm_bol_core.
* lr_core ?= cl_crm_bol_core=>get_instance( ).
* lr_core->modify( ).
* exit.
CATCH CX_SY_CONVERSION_ERROR .
ENDTRY.
if current_sur_id is not bound.
return.
endif.
try.
* data: rv_result type string.
CALL METHOD current_sur_ver->GET_PROPERTY_AS_STRING
EXPORTING
IV_ATTR_NAME = 'SURVEYVERSION'
RECEIVING
RV_RESULT = RV_RESULT2
catch cx_crm_cic_parameter_error.
endtry.
RV_RESULT2 = '0000000000'.
TRY.
CALL METHOD current_sur_ver->SET_PROPERTY_AS_STRING
EXPORTING
IV_ATTR_NAME = 'SURVEYVERSION'
IV_VALUE = RV_RESULT2
* data: lr_core TYPE REF TO cl_crm_bol_core.
* lr_core ?= cl_crm_bol_core=>get_instance( ).
* lr_core->modify( ).
* exit.
CATCH CX_SY_CONVERSION_ERROR .
ENDTRY.
gr_proctype_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).
gr_proctype_popup->open( ).
but on save event this screen appeared:
I want this view with survey form, filled by user and then SAVE the incident.Hi Mohammed,
Try setting the enabled property to false for ROOTUIELEMENTCONTAINER in that view. It should work out for you.
Regards,
Uday -
How Popup window automatically open, when I got new approval from any user?
Hi Friends,
I have an application in Form6i, where different users send approvals to me, when somebody send me new approvals there is indication to me, I used timer, and I Execute Query in When Timer Expire trigger , so a display item is appear when I received new approval. But this is only applicable on the Approvals screen, when I navigate to another screen I have not get an indication of new Approvals.
Now I want to get an indication of an approval on every screen in my application in the form of Popup window.
A window is automatically open before me on any screen when new approval is come.
THIS IS JUST LIKE YAHOO MAIL BOX, WHEN WE WORKING IN ANY APPLICATION JUST LIKE MS WORD, EXCEL ETC. AND WHEN NEW MAIL COMES IN ACCOUT THERE IS AN INDICATION IN STATUS BAR “RECEIVES ONE NEW MESSAGE”
Please send me the solution of this problem on urgent basis.
Best regards,
ShahzadInstantiate from your forms application a second forms application which calls your form with the timer or which contains a procedure which has registred itself for a message (use dbms_pipe).
Your starting form code will call via a host command ifrun32.exe with all required parameters and the name of the form containing the timer or listener. Now you have two forms applications running on your pc but the "mailbox"one can get minimized and maximized the moment a message is detected.
Marcos -
Iv'e been trying all types of code and am pulling my hair
out......how do i go about making a javascript popup window that
works in safari, as well as all the other browsers? Im getting this
error when i try to use safari:
Safari doesn’t allow JavaScript to be used in this way.
I just want a simple javascript popup window thats not going
to give me any type of problems...please. I have a button on my
stage called StartSearch.
What code do i put in the actionscript? where do i place the
actionscript? What code and where do i place the code in the html
doc where the flash is embedded? Please helpACTIONSCRIPT:
on (release) {
getURL("javascript:openNewWindow('
myMovie.swf','thewin','height=400,width=400,toolbar=no,scrollbars=yes')
HTML:
<html xmlns="
http://www.w3.org/1999/xhtml"
xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1" />
<title>--* Home Solutions Today*--</title>
<SCRIPT LANGUAGE=JavaScript>
function openNewWindow(URLtoOpen, windowName, windowFeatures)
newWindow=window.open(URLtoOpen, windowName,
windowFeatures);
</SCRIPT>
<script src="AC_RunActiveContent.js"
language="javascript"></script>
<link href="HSTPageLayout.css" rel="stylesheet"
type="text/css">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(Stuff.jpg);
background-repeat: repeat-x;
background-color: #FFFFFF;
-->
</style>
</head>
<body>
<div class="Container">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0','widt h','700','height','850','id','Header-','align','middle','src','Header-','quality','high',' bgcolor','#336699','name','Header-','allowscriptaccess','sameDomain','allowfullscreen','fa lse','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','Header-'
); //end AC code
</script>
<noscript>
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
width="700" height="850" id="Header-" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="Header-.swf" /><param
name="quality" value="high" /><param name="bgcolor"
value="#336699" /> <embed src="Header-.swf" quality="high"
bgcolor="#336699" width="700" height="850" name="Header-"
align="middle" allowScriptAccess="sameDomain"
allowFullScreen="false" type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer"
/>
</object>
</noscript>
</div>
</body>
</html>
Maybe you are looking for
-
How can I charge my chinese iTunes account with a 25 euro gift card I bought in Germany?
How can I charge my chinese iTunes account with a 25 euro gift card I bought in Germany? Thanks.
-
USB 3.0 devices not being detected on a Thinkpad X1 Carbon
After every reboot or cold boot, no USB 3.0 devices are detected on my Thinkpad X1 Carbon Touch. (Intel Series 7 chipset) There is a way to get them to be detected, but it doesn't survive a reboot and it's ugly. Go into device manger and uninstall th
-
Java.lang.NullPointerException when working with one rfc
Hi, java.lang.NullPointerException error when working with one rfc. Regards, Gurprit Bhatia
-
Speaker problem hp620 notebook
Hi! I have an hp620 notebook and i have a problem with my internal speakers. I'm running win7 ultimate. The sound only hears in my left speaker. If i do a sound test, when i press the icons of both speakers, the sound is playbacked only in left speak
-
Drag clipping mask layer to new layer problem
Ran into something I think is a bug. I have an object with a clipping path on Layer 1. I have a simple stroked path on Layer 2. I marquee select both items. As usual, I can only drag one "Selected Art Indicator" layer color dot at time in the Layers