How to create a page like Popup Key LOV page
I want to create a page like the page when clicking an Popup Key LOV item. Is there a template which i can see how it has been created.
Thanks,
Jen
I have a similar problem. I created a custom popup window and I'd like to apply a theme in order the custom popup has the same appearence as an standard popup window. The problem is that the new popup has a report region inside of it, and it only lets me apply Report templates (the popup template doesn't appear).
Is there any way to fix this?
Similar Messages
-
PassBack values from custom page to "Popup Key LOV"
I'm trying to use a popup page to passback a return value and display value to a "Popup Key LOV (Displays description, returns key value)" Item type (using javascript).
So I have Page 1 with "Popup Key LOV" Item "P1_CONTACT_ID".
From a popped up page I'm try to use the following javascript function to pass the values back so P1_CONTACT_ID displays the display value and also stores the "key value" hidden away:
function passBackToBooking(passitem1,passitem2,passVal1,passVal2)
opener.document.getElementById(passitem1).value = passVal1;
opener.document.getElementById(passitem2).value = passVal2;
opener.document.getElementById(passitem1).focus();
close();
I'm calling the function as follows from a column link on a report on the popped up page:
javascript:passBackToBooking('P1_CONTACT_ID','P1_CONTACT_ID_HIDDENVALUE','#FULL_NAME#','#ID#');
However the function seems to do nothing (does not even close the window).
I can get the intended result by copying and using the javascript from the "real" popup window (using the standard popped up window) (see following javascript) - but this is hard coded and inflexible. Everytime I change the order of items on P1 the function has to be amended to suit the apex created item names (e.g. p_t13, p_t12) (uses "name" rather than "id")
function passBack(x,y){
if (opener.document.forms["wwv_flow"].p_t13.length > 1){
var l_field = opener.document.forms["wwv_flow"].p_t13[8];
l_field.value = x;
opener.document.forms["wwv_flow"].p_t12[8].value = y;
}else{
var l_field = opener.document.forms["wwv_flow"].p_t13;
l_field.value = x;
opener.document.forms["wwv_flow"].p_t12.value = y;
if(l_field.getAttribute('onchange') || l_field.onchange){l_field.onchange()}
window.close();
if(!(l_field.disabled || l_field.type == 'HIDDEN')){l_field.focus();}
Apologies if this is longwinded, I've spent alot of time on this and can't resolve.
Any suggestions much appreciated.
Thanks
jacrYes Sumit, It is a formvalue(created using personalization). Since in the existing page these values are not available as formValues, I created 2 formvalues using personalization and set the VO attributes accordingly.
Thanks! -
Popup Key LOV | How to Wrap it, Split it?
hi,
who knows how its possible to make Popup Key LOV page item wrap into multiple lines?
| Subaru
Impreza
xxx 842 |
SimonHello Suri,
To create the Role Key
In the SPRO CRM - UI Framework - Technical Role Definition - Define Role Configuration Key
Then to assign the Business Role in the
In the SPRO CRM - UI Framework - Business Roles - Define Business Role
The field for the Role Key is Config Key
Regards. -
How to create a new Characteristic and Key figure ?
Hi !
I am newly trying to learn APO DP and Could anyone please explain how to create a new Characteristic and Key figure in Demand Planning Administrator workbench[ RSA1] with steps?Hi,
Instead of RSA1, use RSD1 to create Characteristics & Key figure.
1. Go to transaction, select radio button for respective info object i mean Char ot key fig.
2. Enter name of the same & click on create transaction.
3. Suppose it will ask for APO or BW then select APO for key fig. so some new functionality come in to key fig. like key fig. fixing etc.
4. always copy new key fig. or characteristics from standard.
5. after creation activate the key figure.
Hope this steps will help you to create Char. & key fig.
Regards
Sujay -
How to create a "Explorer" like in java
i'm just wonderin if there's a way on how to create "Windows Explorer" like in Java wherein you can view all your directories with yellow folder icon and also you can view all your files and drives....
And when you double click the yellow folder icon it will then expand and will show all the subfolders and files ...
How????
Thanks!Yes, there is a way. Look up JTree in the API.-can you post some code.... i cant figure out on how to use JTree...
i'm still confused on where will i get the entire directories of my drives...
thanks -
How to create report image like artwork demo
Dear Pakars
How to create report image like artwork demo ?
Thanks
ImansyahHello,
Are you asking how to include images in a report? If so, take a look at the declarative blob support documentation -
http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm
Hope this helps,
John.
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! -
Apex 3.2, How to use an onchange event with Popup Key LOV - it ignores me.
Hoping there is a simple solution to this.
Using Apex 3.2 with a simple form with a few fields. When the user selects a value from a Popup Key LOV, I want to fire a javascript onchange event and alter another field on the form.
Seems simple enough, except that I can't figure out how to make the PopUp respond to onchange events. The default template seems to ignore javascript entered into the attribute fields that work in other form fields. I know this is simple do to for a select list - it works as expected there. A select list is not a good option because of the huge number of possible returned values.
Even tried a different approach...to register the onchange event using the "addLoadEvent" with this code (this also does not work):
function setThisUp() {
var x = document.getElementById('P105_CTR_ID');
x.onClick = popupLovChanged;
function popupLovChanged() {
alert('OMG IT WORKS!');
addLoadEvent(setThisUp);
If any of you have some advice on how to make onchange work, it would be greatly appreciated.
Thanks in advance
-RichFor those still looking for a solution.
I found that you can overwrite the default javascript function passback(x) in the popup lov's template, just add your function in the After Field Text field of the template
e.g.
<script> function passBack(x) {
opener.document.getElementById('P2_PROGRAMME').value = x;
opener.document.getElementById('P2_PROGRAMME').focus();
close();
} </script>
this is going to populate the 'P2_PROGRAMME' field with selected value, and focus on it.
in your case, just add the codes you want to run into the passback function.
hope this helps -
Do you know how to create Front Panel like Web,
Do you know how to create Front Panel like Web, I mean like we pointed the word and click it will do another process instead by clicking push button.
If possible, i can click the link in the table... Any idea anyone
Solved!
Go to Solution.Hi ezam,
can you define more clearly exactly what you would actually like to do, and ill have a further look into it. I think smercurio_fc has understood it as I have, and is right with the activeX.
any way, give a shout back with exactly what you want to do and we see what we can do,
Richard
Richard S
Applications Engineer
Certified LabVIEW Associate Developer
National Instruments UK&Ireland -
How do I place a fixed image and show it between two pages like the Global on Page 3 (LOE)?
Ohoh, I do think so. It's the trick. Thanks
BTW, How about including a widget within real time RSS feed? -
Can anyone please guide me how to create a table like employe table with 10
Hi,
can anyone please guide me how to create a table like employe table with 10colums.
after that we need to update the colums with personal details......like name1,name2,address,city,zip...etc.
using the RFC we need to update the personal details coulums (either select query or Insert command)
if you have any program logic similar to this requirement please share with me...that would br greatly helpfull to me...
thanks in advance
srinivasHi....
We are having one table and now i am going to update that table's fields...
for that in RFC function module we need to enter the fields in importing parameters (which are mandtory in table)
and in source code just write like following....
( try to under stand that it contains some previous used table nad field and stucture and work area and function module names)
FUNCTION ZL2C_UPDATE_MYCUSTOMER.
""Local Interface:
*" IMPORTING
*" VALUE(USR_ID) TYPE USRID
*" VALUE(LOGO_ID) TYPE KUNNR
DATA ls_mycust TYPE zl2cmy_customer.
DATA: name1 TYPE name1_gp.
DATA: sharpoint_url TYPE url.
ls_mycust-usr_id = usr_id.
ls_mycust-logo_id = logo_id.
SELECT SINGLE name1 FROM kna1 INTO name1 WHERE kunnr = logo_id.
ls_mycust-name1 = name1.
SELECT SINGLE sharpoint_url FROM zl2c_CUSDASHBRD INTO sharpoint_url WHERE logo_id = logo_id.
ls_mycust-sharpoint_url = sharpoint_url.
INSERT into zl2cmy_customer values ls_mycust.
COMMIT WORK.
ENDFUNCTION. -
Popup Key LOV, NULL and "Invalid numeric value undefined for column"
Hello.
I've created an item based on database column of NUMBER type and set the following properties:
Display As = Popup Key LOV (Displays description, returns key value)
List of values definition=select 'display_value' d, 1 r from dual
Null display value=%
Null return value=
Display Null=Yes
When I select "%" in the LOV and try to apply changes to database I get error:
ORA-20001: Error in DML: p_rowid=1781, p_alt_rowid=N1, p_rowid2=, p_alt_rowid2=. ORA-20001: Invalid numeric value undefined for column N2
Error Unable to process row of table TTT.
If I set Display As = Select List, all works fine. But I need Popup Key LOV.
Could anybody help me?
I use Application Express 2.2.1.00.04Hi all,
I did my homework and solved this issue. First I would like to thank Patrick Wolf for the invaluable help he gives out on thread Re: Null value handling in LOVs The code presented here is just a minor edit to his code, but an essential one when dealing with Popup Key LOV items.
Here's what I did:
1. Create an Application Process.
Name: RemoveNulls
Sequence: 0
Point: On Submit: After Page Submission - Before Computations and Validations
Process Text:
BEGIN
FOR rItem IN
( SELECT ITEM_NAME
FROM APEX_APPLICATION_PAGE_ITEMS
WHERE APPLICATION_ID = TO_NUMBER(:APP_ID)
AND PAGE_ID IN (TO_NUMBER(:APP_PAGE_ID), 0)
AND LOV_DISPLAY_NULL = 'Yes'
AND LOV_DEFINITION IS NOT NULL
AND LOV_NULL_VALUE IS NULL
LOOP
IF (V(rItem.ITEM_NAME) = '%null' || '%' OR V(rItem.ITEM_NAME) = 'undefined')
THEN
Apex_Util.set_session_state(rItem.ITEM_NAME, NULL);
END IF;
END LOOP;
END;Error Message: #SQLERRM#Condition: None
2. You should be able to submit a Popup Key LOV with a NULL value now.
Once again, THANKS, Patrick! You rock! I'm seriously thinking of trying ApexLib now :)
Georger -
Popup KEY LOV in Interactive Report not work as expected
Hello,
in an Interactive Report, i have added in a Region a Popup Key LOV (Displays description, returns key value). This LOV works ok in other Forms. But in the Report item (Session State variable) instead of returning the Return Value of the LOV, it returns the Displayed Value (inspected the Session). How can i make it work as expected ?
TIAAt the moment, i am ok with all the functionality of the IR, which is finished. What i want is to use some extra items on the upper part of the page that aid the user to restict in large part the IR query result. Some of these are ideal candidates for LOVs - I want LOV to diplay the Display values and after user selection to return the Return value, either to page item or to other variable. How can i achieve this? Any idea? So far the LOV returns the display value in the Item AND session corresponding variable.
-
I have a group of users who are able to remove or reinstate a field called source.
Active sources are displayed in a report and inactive sources are displayed in another report both are shown on the same page.
Active sources have a statusflag of 0 while the inactive sources have a statusflag of 1.
These sources are used as LOV on a form as a popup key LOV.
When the general user clicks on the popup to pick a LOV, the popup lists all the active and inactive sources.
How do I have the popup LOV only display the active (or statusflag =0) sources?
Thanks.>
Greetings,
How can I set a column in a tabular form to be a Popup Key LOV?
Thanks
Vatsa
I asked the same question here before, but there seems to be some issues in apex concerning tabular forms. This is what I figured out so far:
1. If you set the column attribute in a tabular form as a Popup LOV, it works, but it doesn't return the display value, but the key value back to the tabular form. On a regular form, a Popup Key LOV returns the display value. The fact that the display value isn't returned, made this solution useless to me.
2. I tried to define the popup key lov in the query with this syntax: [http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_item.htm#CHDHJICI|http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_item.htm#CHDHJICI]. Then the Popup LOV did return the display value, but the Popup LOV for some reason references the wrong row! When you click the hour glass of the second row, the first row is affected, when you click the third row, the second row is affected, etc...
You could start coding the whole popup behaviour, but for now, as far as I know, there is no possibility to use a Popup Key LOV on a tabular form in Apex. At least not without coding all the update logic yourself. -
POPUP key lov stopped working in "Imported" application.
Hi ,
I have a perfectly running APEX application. For some testing purpose I exported the application and again "Imported" the application in same server.
But in the new application, POPup KEY LOV stopped working, i.e. if I press popup lov icon nothing appears, only "#" gets added to URL.
But the strange thing is If I create new page and use some POPup Key lov item then, it works fine.
APEX Version : 4.2.1.00.08
Theme : Theme 23 (Uniframe 23)Check your browser console for errors
Maybe you are looking for
-
My iPhone 4S is not showing up in iTunes. I've never had this issue before, and I'm finding it a little frustrating trying to figure out how to rectify the situation. If anyone knows how to fix this problem, please advise. Otherwise any suggestion
-
Where Can I Go To Find Out How To Use New iOS 4 Features?
I have just updated my ipod touch to ios 4. I have the wallpaper feature so I am presuming the rest of the features should work. How to I find out how to use the other features such as App folder options, Multitasking etc as I can't seem to be able t
-
Weblogic RPC-Style webservice parameter problem
I am getting a strange error when using RPC-style web services. When I try and pass and object which contains an array of objects I get an error. When returning this same object from a function I have no errors. I have noticed that if I change the ar
-
Hi all, We have the requirement to load data from two different instances For Ex: From instance A:We need to extract the data for procurement,EAM and Finance. From Instance B:We need to extract the data for HRMS. Pleae provide me the Steps to impleme
-
Do not want new version for rdl file for each snapshot rendering
ssrs 2012 sp1 sharepoint mode, sharepoint 2013 option set for the report - render from snapshot, a schedule set for the snapshots creation each snapshot rendering adds new viersion to the rdl file with updated field Execution DateTime - not really su