Opening Date Picker in popup window
Hi All,
I'd like to be able to use a Date Picker in a custom popup window that I've developed. When I open the date picker however, because I'm already in a popup window the date picker fills the whole of the custom popup, rather than opening in its own window.
Is there a way to force the date picker into using a new window?
Thanks,
Mike
Hi Mike;
Thanks for the responce. My Tabular (Popup) form is wizard generated. This is the code I use to call the Popup:
<script language="JavaScript" type="text/javascript">
<!--
htmldb_delete_message='"DELETE_CONFIRM_MSG"';
//-->
</script>
<script language="JavaScript" type="text/javascript">
function callACNEPopup (formItem1) {
var formVal1 = document.getElementById(formItem1).value;
var url;
url = 'f?p=&APP_ID.:60:&FLOW_SESSION.::::P60_ACAC_UID:' + formVal1;
wACNE = open(url,"winLov","Scrollbars=1,resizable=1,width=675,height=300");
if (wACNE.opener == null)
wACNE.opener = self;
wACNE.focus();
</script>
The Calendar is simply a date picker.
Similar Messages
-
Datepicker PopUp opens in the calling PopUp window
Hey Guys, I need some help on this...
I have a button that opens a PopUp window, and in this PopUp I have a "Date Picker" item,
And when I want to select a date, the calendar shows up in the same PopUp window, and I m loosing the calling PopUp(the first one).
How can I do so, that to have my PopUp window, and the calendart to show up in another PopUp?
Thanks in AdvanceHi,
that's because of the Window Name you specified. Specify another one or use the popUp2 method which will create a unique name.
Hope that helps
Patrick
Check out my APEX-blog: http://inside-apex.blogspot.com -
Refresh only page item while submitting data from the popup window
Hi All,
I'm pretty new to Apex .....
I have a form with text items as first few entries and then a radio button list and few text items again. On selecting certain radio button I have a popup window which acts as an interface for the next text item in the calling page. The purpose of having the popup window is that the text item following the radio button takes the input with certain character delimiters along with the data. Instead of using delimiters while entering the data I want a meaningful data to be keyed in the popup window and all the string operation to be done as a background process. I have been successful this far. I'm using the below javascript on click of the submit button.
javascript:doSubmit();
window.opener.doSubmit('REFRESH');
window.close();
On doing this I'm losing the values submitted for the items prior to the radio button(including radio button). Please note, I have a dynamic action set on page load to reset the values. Is it possible to refresh just the page item from the popup window.
Also, I tried excluding the window.opener.doSubmit('REFRESH'); from the above javascript. It sets the item with the expected value (viewed it in the session items, however I would like to view the concatenated string on my calling page) but following this there is an insert operation which uses all the necessary items in the form. All values except the value returned from the popup window is populated into the table. Am I missing something.
Any help in this regard is appreciated.
Thank you!!!
Regards,
GaneshValue set using Javascript is only in your browser page but is not yet available in the session. This is why the report doesn't return the expected output.
Before refreshing the report you would need to set the session state of this item.
You can set it after you assign the item a new value or before the report is refreshed
For Interactive Reports, this is available built in
you can go to Report Attributes >Advanced Attributes -> Page Items to Submit and specify P2_X1 for the field(and any other page item that the report is dependent on)
For standard reports, you can create a Dynamic Action that is triggered "before refresh" of the report's region, and choose PLSQL as the action types, give a dummy BEGIN NULL END; for the code and specify this item name in the page item to submit field so that it sets the items's value in session. -
How to open URL as a popup window through BRANCH in APEX reports
Hi
I am using APEX 4.0
I have a branch with a target type of URL. The branch is triggered by pressing a button. There is also a plsql process on the same button which fires at the process point of "On Submit-After Computations and Validations". I want to open the branch URL as the popup Window. I tried doing it with javascript, but then the plsql process doesn't execute. Any pointers will be helpful.
Thanks
HinaYou can use the apex.submit javascript function. This function allows to store some item value from session scope to database scope. So that a page process picks the correct item value. Not sure if it works with computations thou.
See the docs: JavaScript APIs
Example
Submits the current page with a REQUEST value of 'DELETE'.
apex.submit({ request:"DELETE", set:{"P1_DEPTNO":10, "P1_EMPNO":5433});
Then add a branch with type "branch to function returning URL" This page branch can be made conditional on the same request as the page process.
The returned url would be either include the javascript popup or window.open function or simply be the url. Important thing here would be to use a function that reads the url item from database state, since at that moment the computation or page process will have set the item on database level, but it is not directly available on page level.
meaning ":p2_item" or v('P2_ITEM') should work. &P2_ITEM. in the url will probably not work. -
ADF BC - Date Picker closes Popup
Hi all,
I have a inputDate field inside of a form which is in a popup. When i choose a date from the date picker that comes up, (the one built in to the inputDate field) my popup closes. Is there a way to keep the popup open until a user clicks back on the main page, or clicks the commit button (commit button is inside the form, inside the popup)
Thanks,
DanTry to place a panelDialog or panelWindow inside your pop up and have the Form inside it.
http://jdevadf.oracle.com/adf-richclient-demo/faces/components/panelWindow.jspx -
To open the screen as popup window in EP
Hi All,
We have standard webdynpro ABAP UI (Floor plan manager) in portal from the standard SAP EM Configuration.
In WDABAP User interface, when user clicks on the link then SAP screen is opening in the new window , but that should be opened as a pop up window in the same portal screen where user clicks on link UI element, instead of opening in the new window.
Please let me know whether SAP provides this feature as part of any standard configuration either in FPM front or with other solution.
Currently All webdynpro ABAP UI screens are accessing in portal are from WDABAP standard UI from FPM configuration in SAP EM system.
Please get back to me on this, Thanks in advance.
on click of UI link the standard SAP screen is opening in new window, but that screen should be opened in the same screen as popup window.
Please let me know whether any configuration is a
Regards,
Portaluser100Hi,
there is currently no standard configuration available to change this behaviour. These kind of links will always open a new window.
Best regards, Daniel -
When clicking on a thumbnail image it's supposed to open the same image in a popup window. (i.e. a bigger version of the same image). Firefox displays in the popup box "Not Found
The requested URL /undefined was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.'' ''However this does work on other browsers? An ideas why this happens? Example [http://motorpride.co.za/inventory.html ]. Click on any car image in the listYou're welcome
Middle-clicking work for links on web pages, but also for many menu entries that open a page in the current tab and some toolbar buttons like the Home page and location bar and search bar Go buttons. -
How can I customize the date-picker inline popup
Hi All,
I have a customer who want to customize the <af:inputDate>. He want a additional button appear under the calendar box in the date-picker popup.
Document http://docs.oracle.com/cd/E23549_01/apirefs.1111/e12419/tagdoc/af_inputDate.html mentions org.apache.myfaces.trinidad.convert.ClientConverter interface, is it a right way to do that ? If yes where can I get a sample ?
Regards and Thanks.
JerryHi,
add the af:convertDateTime tag to see the exploded dialog. Note that this doesn't allow you to add custom buttons to the dialog. Its just extends the functionality
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12419/tagdoc/af_convertDateTime.html
<af:inputDate label="Label 1" id="id1">
<af:convertDateTime type="both"/>
</af:inputDate>
Frank -
Open/Save as etc Popup windows don't stay open! just close down again
Hey all
Ive got a problem on my Macbook Pro, Installed Leopard, and now in most programs whenever I try to bring up the open window or save as etc windows they appear for a second and then closes down again like I have made a selection!
Its really annoying me!
Any IdeasThanks. But I always have the List View.
One lame thing worked though. I would hit the command short cut and keep hitting it for a few times. This forces the command window to stay open, and it actually helps getting ridding of the problem temporarily.
I also had a similar but nastier problem in Acrobat. I tried to save a Photoshop PDF file in Acrobat, the Save As window opened and closed right away. Then all the command menus went gray; non of the commands was available including Quit. The only option I had was to force quit Acrobat. However, I didn't have this problem when handling native Acrobat files. The good news is that my lame solution worked. -
How to open an image in popup window?
HI,
In my project there is some text and a small picture. I want
when I click on this image a window appears with the full picture
with only close option.
ANy idea !!
thanksOops. Sorry bout that... :-)
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:HBox width="30%" height="80%" borderStyle="solid"
borderColor="#fffffc" borderThickness="2">
<mx:Image source="1.jpg" width="60" height="90"
click="navigateToURL(new URLRequest('1.jpg'),'_blank')"/>
<mx:TextArea height="300" width="288"
horizontalScrollPolicy="off"
verticalScrollPolicy="off" letterSpacing="1"
backgroundAlpha="0"
borderThickness="0" fontSize="12" fontFamily="Times New
Roman"
wordWrap="true" textAlign="left" backgroundColor="#869ca7"
color="#ffffff">
<mx:htmlText>
<![CDATA[
<p>This is cardiovascular medicine.translate the
extraordinary progress of Promote heart health. At the nucleus of
SCVI is a richl as it iscardiovascular
medicine.</p><p>This is cardiovascular
medicine.translate the extraordinary progress of science and rich
thing.</p><p>Cardiovascular medicineThis is
cardiovascular medicine.translate the extraordinary progress.
</p>
]]>
</mx:htmlText>
</mx:TextArea>
</mx:HBox>
</mx:Application> -
I need the code for creating popup windows and code for open and close
I can write the code for creating popup window , i am getting problem while trying to open and closing that popup windows.
Can anybody help me in that pls ?
Regards
Sreeni.Hi
For pop up window
IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PopWin");
IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
window.setWindowPosition (300, 150);
window.show();
wdContext.currentYourNodeElement().setPopupAttribute(window);
For closing window code
IWDWindow window = wdContext.currentYourNodeElement().getPopupAttribute();
window.hide();
window.destroyInstance();
For more infornation refer this link
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20d2def3-f0ec-2a10-6b80-877a71eccb68&overridelayout=true
This link is very useful for you.
Regards
Ruturaj
Edited by: Ruturaj Inamdar on Aug 13, 2009 9:10 AM -
Table events lost after opening a popup window
In an advanced table , I have a column which shows a link. If this link is clicked , a new window opens which displays a popup window.
If the link is not clicked , I can traverse through the advanced table.
If I click on the link, I cannot navigate through the Advanced Table, The show hide does not work.
The new Window is being shown for the link using
a. A OALinkBean
b. The link bean Destination property is set using OA.jsp?xxx
c. The target frame is set to _blank.
Any suggestions on what could be the problem?The pop up page is a read only page or ur doing some action events on the pop up page?Are you simultaneuosly doing action on pop up and base page?
--Mukul -
How to open a single WD Component in a popup window?
Hi,
I want to open a WD component in a popup window but don't know how. I have searched this forum without a result.
The following situation:
DC1 (main DC) with a button to open the popup
DC2 (popup DC)
How can I open DC2 in a popup window without destroying DC1 in a way like
if (!DC1.hasActiveComponent()) {
mainR_Usage.createComponent("my.comp.DC2","my.comp/comp~DC2~wd");
and of course how can I destroy the DC2-popup from DC1?
The general problem is not to open a popup window inside DC1. The problem is to open DC2 as a popup!
Thanks aheadHi Bernd,
You can try this:
1.Create a context attribute of the type IWDWindow in your view/Component Controller of DC2, say 'PopupWindow'
2.Create a method in your DC2, say
openPopup()
IWDWindowInfo winInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("DC2Window");
IWDWindow popup= (IWDWindow)wdComponentAPI.getWindowManager().createModalWindow(winInfo);
wdContext.currentPopupElement().setPopupAttribute(popup);
popup.setTitle("Hello, this is DC2");
popup.setWindowSize(600,500);
popup.setWindowPosition(100,100);
popup.show();
+// Save WindowIsnstance in Context
wdContext.currentContextElement().setPopUpWindow(window);+
3.Expose this method in your Interface controller so that it is available to be called by DC1
4.in your DC1 you can call this method
if((!DC1.hasActiveComponent())
wdThis.wdGetDC2ComponentUsage().createComponent();
wdThis.wdGetDC2Interface().openPopup();
5.This should open the popup window from DC2.
6. You can have a close button or any other event on the view contained in this window itself. On click of this button you can retrive the window instance stored in the context and destroy it.
e.g we have an action assigned to a Close button. this will be in the view from the window you are trying to open as a popup.
onActionCloseWindow()
IWDWindow window = wdContext.currentContextElement().getPopUpWindow();
window.destroyInstance();
this should close yourr popup window.
Regards,
Ajay
Edited by: Ajay Patil on Jul 6, 2010 10:27 PM -
Popup window properties in OTL
Hi
I 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 popup window which runs a function in it. I want to set the properties of the new popup 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
ThanksHi,
Maybe you can use a modal dialog.
There ia an example here http://zone.ni.com/devzone/cda/epd/p/id/3602
It for TestStand ver 1.01 but you should be able to modify the DLL project for a later version of Teststand.
Regards
Ray Farmer
Regards
Ray Farmer -
DateNavigator in a popup window
Hi All,
<b> I am developing a portal application using JspDynPage </b>
<b> I want to put an Icon
and whenever i click that icon a Date Navigator should be opened
in a new popup window using which i should be able to select the date
</b>
<b>
How to do this?????
please give some insight about this..........
</b>
regards
BrahmachaitanyaHi,
(a) Please mark questions as questions! By that, you are also able to reward points for helpful answers (you still can do that).
(b) See http://help.sap.com/saphelp_nw04/helpdata/en/94/8f8441fd86030de10000000a1550b0/frameset.htm - use an input field with "help" value.
Hope it helps
Detlev
Maybe you are looking for
-
Error/Scheduled messages in idx5
Hello, I have idoc to mdm scenari, thru XI. The idoc gets successfully posted to XI. In XI, when i monitor sxmb_moni, I see 3 successful messages (one sender, 3 receiver). this is OK. when i monitor, idx5 in XI, I see the 3 messages successful. and 3
-
Installing OS 10.5.4 On a 17" iMac intel
Hi, I have an 17" iMac intel that had 10.4.11 installed on it. I am trying to install 10.5.4. I got to the Language screen , selected English. Hit continue. A window popped up stating, "This software cannot be installed on this computer." With OK and
-
Syncing ringtones ios5; 8 of 21 synced
AT&T 3GS 32gb....10g of storage to spare and I can only get 8 of 21 bought ringtones to sync. I've already unsynced them then resynced only to get different tones.
-
Photoshop CS6 background problem
I can't see the background on photoshop CS6 By the way i have Windows 7
-
Detailed error message is below shown : Secure Connection Failed mail.google.com uses an invalid security certificate. The certificate does not come from a trusted source. (Error code: sec_error_inadequate_key_usage) The page you are trying to view c