Reg pop lov in apex
hi
I am using a pop lov for selecing a value form the pop up values. I want to change the display style of the pop window to , say a jquery calender style or a neat
report using lightbox (or any other good looking ones..).Can any one help me in this regard.
thanks
Shri
Edited by: user10820560 on Mar 17, 2009 8:37 PM
Andy thanks for your reply, your post is really very helpful but i still want a better implementation as in [http://apex.oracle.com/pls/otn/f?p=41715:15:1776223270187588::::P15_ORDER_ITEM_ID:2] .I am unable to implement it, can any one provide me the code for that implementation(as in the link here).
thanks
Shri
Edited by: user10820560 on Mar 19, 2009 11:16 AM
Edited by: user10820560 on Mar 19, 2009 11:17 AM
Similar Messages
-
POP LOV in classic Report not in a interactive Report
My oracle version Oracle Express Aplication 11g
Dear Forum
We need a CLASSIC report where i can define what information my report will show.
For example:
My Report contain
ID NAME DATE
In Drag and Drop layout I create two data pickers cause I need to choose information between Date_picker_1 and Datepicker_2. both of them correspond to DATE
In my region source in classic report I write something like this:
Select id, name where DATE between :Date_picker_1 and :Datepicker_2 then Ichoose the months but nothing happen.
I know that in the report interactive you can do that, but my boss doesnt' like interactive report (I dont know why) so my problem is in the Classic report.
Danny Lima
Ecuador
PD: I'm not speak english very well>
Please update your forum profile with a real handle instead of "897381".
Also the subject of this thread—POP LOV in classic Report not in a interactive Report—doesn't appear to be relevant the question asked. There's no mention of a Pop-up LOV here?
My oracle version Oracle Express Aplication 11gAlways state full version numbers, and include
<li>Full APEX version
<li>Full DB/version/edition/host OS
<li>Web server architecture (EPG, OHS or APEX listener/host OS)
<li>Browser(s) and version(s) used
as well.
We need a CLASSIC report where i can define what information my report will show.
For example:
My Report contain
ID NAME DATE
In Drag and Drop layout I create two data pickers cause I need to choose information between Date_picker_1 and Datepicker_2. both of them correspond to DATE
In my region source in classic report I write something like this:
Select id, name where DATE between :Date_picker_1 and :Datepicker_2then Ichoose the months but nothing happen.Always post code wrapped in <tt>\...\</tt> tags. And always post the actual code or a realistic reduced test case: that query is not valid SQL.
I know that in the report interactive you can do that, but my boss doesnt' like interactive report (I dont know why) so my problem is in the Classic report.Nothing to do with the report type. It's because all APEX items are actually VARCHAR2s. For proper comparison semantics with NUMBERs or DATEs in SQL explicit conversion is required:
select id, name
from foo
where bar between to_date(:date_picker_1, 'DD/MM/YYYY') and to_date(:date_picker_1, 'DD/MM/YYYY')Where 'DD/MM/YYYY' is the format mask used in the datepicker items. -
POP LOV and Branching ( Partial page refresh)
I have a POP LOV (Shows description and returns id). I want to change certain elements on the screen based on the user selection.
It is not possible via POP LOV. I cannot use selection lov since the number of values returned is going to be very large.
is it possible to achieve this functionality in any way using POP LOV ?
Appreciate your help.
RgdsScott,
Thanks for your input. I think I didn't frame my question correctly, sorry about that. I will describe further
I want the page to refresh after a value is chosen using POP LOV. THis is required to hide/show certain elements on the screen and also to populate another Dependant LOV.
For example, choosing country should populate dependant "city" or states lov. I have to achieve some functionality similar to this. I do not want to "Submit" the page, because I don't want to save anything at this point in time.
So it would be partial page refresh (Similar to OA Framework) without submit.
Rgds,
Venkatesh
Message was edited by:
Venkatesh_pr -
Problem of POP LOV in a SQL Report with pagination
I am using a pop up lov (along with some other fields), HTMLDB_ITEM.POPUP_FROM_LOV(5, null, 'EMPLOYEE_LIST', '20', '50')), in a sql report. This is a report with pagination. Whenever I select any value from pop up lov on first page of the report it gets populated properly in the corresponding text field. But from second page onwards it doesnt populate any value.
For example, my report fetches a total of 50 rows, of which I am displaying 15 at a time. The popup lov comes with a text field for each row. Whenever I do select from popup lov for 1-15 rows which come on page 1, the values come up in the text field properly, but for rows 16-30 on second page, 31-45 on third 46-50 on fourth the values do not get populated. When I changed the pagination settings to display 40 rows..the values were still coming properly on page 1(1-40 rows) and not on the next page. Any clues how to resolve this problem?good find. this is a bug that has already been identified and will be corrected in the upcoming patch release for htmldb. a good work-around for now is to use the equivalent declarative options in the tool. so rather than coding your query like...
select ename , HTMLDB_ITEM.POPUP_FROM_LOV(2, null, 'DEPARTMENT', '20', '50') as "department" from emp
...just code it like this...
select ename , null as "department" from emp
...and then use the column attributes screen for your "department" column to indicate that you'd like that col to be rendered as a "Popup LOV (named LOV)" using your DEPARTMENT list of values.
hope this helps,
raj -
Cascade LOV in Apex 4.0
Hello Apex Fun
how can i make cascade list of value in Apex 4.0 ? i tried cascade which enabled in list of item properties but contain problems , please help me
also when use that cascade the Arabic characters shown unclear ..
Edited by: Moh Loay on Aug 24, 2010 2:46 PMHi Moh Loay,
I think you have to help me with that one, because I tried to reproduce that on apex.oracle.com and was not able to.
1) I have created page http://apex.oracle.com/pls/apex/f?p=47158:22 which is a cascading LOV on the tables DEPARTMENTS and EMPLOYEES.
2) For Department "Construction" I modified some of the employees to contain arabic and chinese characters
3) I executed above page
4) Changed the department to "Construction" which refreshed the employees select list
5) Opened the Employees select list and everything shows up as I have entered it.
Can you please verify with the above page that it looks good for you as well. Maybe it's an operating system/browser issue?
If the above test case works for you, can you please create a test case with your failing data on apex.oracle.com so that I can have a look what's actually wrong. After you have done that, please provide the workspace, user and password so that I can access your application.
Thanks
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins -
LOV in APEX not returning correct info
Hi,
I have created a test application on apex.oracle.com
http://apex.oracle.com/pls/otn/f?p=30495:2:3825777729569530::NO::P2_OFFICE_CALL100_KEY:1548
username = test
pswd = test
When I click on LOV icon next to CALLER LAST NAME, I am suppose to see all the last names from the table where the first name = CALLER FIRST NAME.
The code in LOV (CALLER_LAST_NAME) is
select distinct OFFICE_CALL1_CALLER_NAME_LAST d,OFFICE_CALL1_CALLER_NAME_LAST r
from office_call1
where office_call1_caller_name_first = :P2_OFFICE_CALL100_NAME_FIRST
order by 1
When I click on the above LOV I do not get values.
I ran the above in sql and for 'TRACEY' as first name I get 3 results.
Please let me know what am I missing.
Thanks
MunishHi Munish,
Sorry for the delay, but I had a tough day and I just remembered that I needed to follow up with you earlier. Your issue can be solved in one of 2 ways only:
1- Make the first name LOV do a submit after value change. And I am sure you dont want to do that, because this will submit the whole page and may throw validation errors or complete trasactions that you dont want to submit yet.
2-Use Ajax and process on demand feature in Apex.
This is not simple to explain, but I have published an online example that does what you want but for other scenario . Your senario is a bit simpler so take only what you need from my code and use as needed. If you need help in that let me know and I will explain.
My Online Example: http://apex.oracle.com/pls/otn/f?p=54772:1
Thanks,
Sam
Please reward good answers by marking them correct or helpful! -
Return multiple values from dynamic lov in apex 3.2.1
Hi
I need to create a dynamic lov that displays multiple values from a table and RETURNS multiple values into display only fields in a form page to be saved to the database
For example
dynamic list of value name SERVER
select name || ',' || life_cycle d, name r
from sserver
order by 1
This SERVER LOV is attached to the P4_SSERVER_NAME field in the form.
However this only returns sserver. name into the P4_SSERVER_NAME field in the form. I would need to capture the life_cycle field as well and populate the P4_LIFE_CYCLE field in the form as well. How does one do this?
I have searched this forum however could not find a thread that fit my situation. i saw that in 4.2 there is dynamic action however unable to upgrade at this moment.
any suggestions are greatly appreciated.
thank youHi CRL,
One method is to set the value of your P4_LIFE_CYCLE item via APEX_UTIL.set_session_state
To do this you need to create a Page Process
Type PL/SQL anonymous block
Process Point On Load - Before Header
The source for the Process might look like this: DECLARE
l_life_cycle VARCHAR2 (50);
BEGIN
SELECT life_cycle
INTO l_life_cycle
FROM sserver
WHERE :p4_sserver_name = sserver.name;
APEX_UTIL.set_session_state ('P4_LIFE_CYCLE', l_life_cycle);
END;Jeff -
How to wrap the text in a popup LOV item ( Apex 4.0 )
Hi
I have a popup LOV type item with a very long string value
I would like to format the item so itr will be shorter but have the string wrap to multiple lines.
Can you let me know how that can be achieved ?
thanks
OHmm.. I don't know about that.
I actually already managed to change the width of a specific popup element by putting the following in the region footer :
<script type="text/javascript">
$x('P3_CONTRACT').style.height="20px";
</script>
that works fine and only impacts that specific element.
However , Since I know next to nothing of HTML and Javascript , I could not figure out the code to put to make the text wrap.
your solution suggests that it will take care of the width , but will it cause the words to wrap ?
thanks
O
Edited by: Orna Weisman on Apr 30, 2012 7:08 AM
Edited by: Orna Weisman on Apr 30, 2012 7:15 AM -
Dependent LOVs in Apex 3.1
I have two list of values...one for KPI's and one for KPI's measures. How can I refresh data in measures LOV dependent on select KPI in first LOV?
Tnx in advance
Dejanhi Dejan,
I hope you want to make use of cascading select list.
bye
srikavi -
Cascading LoVs in Apex 4 based on a shuttle box
I've set up cascading LoVs based on a shuttle box. When values are moved to the right-hand side of the shuttle box, the cascaded LoV items have their existing values cleared.
Is this a bug? Is there a fix or a workaround?Hi again,
I made an unconditional process, sequence 1, but the only
thing working is the :P11_message is filled.
BEGIN
htp.prn('<script>alert(''Two is more then one'', Ok)</script>');
htp.prn('<script language="JavaScript" type="text/javascript">alert(''TEST'')</script>');
htp.p('<script>alert(''Two is more then one'', Ok)</script>');
htp.p('<script language="JavaScript" type="text/javascript">alert(''TEST'')</script>');
htp.p ('javascript:confirmDelete(htmldb_delete_message,''TEST'');');
htp.prn ('javascript:confirmDelete(htmldb_delete_message,''TEST'');');
htp.print ('javascript:confirmDelete(htmldb_delete_message,''TEST'');');
htp.p('TEST');
:P11_MESSAGE := 'TEST';
end;
Does any one have more suggestions.
Hugo -
Need to retain the values of LOV in Apex
Hi,
I had created three lovs namely A,B, and C in which A is the parent of B and C is an independent LOV. For parent child realtionship between the LOVS A and B, I had used the Ajax on demand process.
Now in my project all the three LOVs are mandatory, so what i want if suppose any user clicks on submit button without selecting any value from LOV C, then it must load to the same page and show an error. My problem is that after the page load, LOVs A and B are not retaining their earlier values and set to default values In my application I want to retain them.
I hope my problem is clear.
Please help.
Thanks
SaurabhOK, now it is a different story.
First, you don't need to remove the page# from the action section as long as it is NOT in the clear cache attribute.
Second, You said that you are using AJAX to load the value of B , and I beleive that currently you have a JS that fires OnChange on item A. You need to call the same JS code when loading the page as follows:
In you page attributes :
Page HTML Body Attribute>> onLoad="your_function();"
where your_function is the same function you call when you change A's value to get B's value..
Hope this helps.
Sam -
hi , Iam raising an error message using
xfa.host.messageBox("error message");
when i get the error message pop up...it has title..WARNING :JAVASCRIPT WINDOW.
But I want to remove this title....
So any idea ...hiow to remove this?
or any other procedure to raise POPUP with our own title
regards
ArjunHi Arjun,
You can use the following JavaScript to get UserDefined Title or password protect popup box (i.e. popup box input field becomes password field) for the Pop-Up Box.
Response Box i.e app.response Method
It takes the following Input Arguments:
1. Argument : Description
2. cQuestion : Main Response Box text
3. cTitle : Window Title of Response Box
4. cDefault : Initial value of input text box, also value returned if no changes are made
5. bPassword : Causes text entered into input box to be obscured by asterisks (*)
6. cLabel : Short text string placed in front of input box
Sample Code:
var cRtn = app.response ();
NOTE: In the sample code if you donot add the cLabel then the input of the popup box is simple text and it will not become password field.
Please review the Acrobat site:
http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/popup_windows_part2/
Regards
Pradeep Goli -
Hi All,
I have requirement, where i have a Message LOV and a shuttle in one page. Based on the Value selected in the LOV, shuttle has to get populated. So what am doing is, in "lovUpdate" event am redirecting to the same Page, which is going to satisfy my requirement. But my problem here is am not able to do that more than twice when i open my page using Mozilla. But everything goes fine with Internet Explorer. My problem is, am not able to see the selected value in message LOV, if it is the third time am using it, and when i try to continue any operations it runs into an Error Page. Why is it working well with "IE" why not mozilla. Any Suggestions Please
Thanks in AdvanceHi
Does any one have idea about this behavior? Actually what is happening is when i third time try to select a value that is not getting populated in the Message LOV Box. And when i continue the process it is throwing some Number Format Exception. Why is this happening with FireFox?? If the Problem is with my code why is it working on Internet Explorer....
Thanks -
Reg: Pop up facility in PCUI
Hi,
I would like to know if we could have a Pop up facility in PCUI.
We are using PCUI 5.0 with CRM5.0 on EP.
The requirement is that the customer would like to have a reminder for a business activity type meeting that he has to attend and this should throw a pop up to him may be 2 hours before.
The same can also be used for throwing a Pop up if he has to wish some one on his birthday.
Thanks and Regards
SriniHi Gregor,
Thanks for the inputs and infact we are trying the same what you have suggested and also looking at creating a reminder as a task and set a date rule for it to remind 2 hours before and it would hit the task list area under the overview tab in EP.
Just help me also understand, we are going for lotus notes integration in Groupware and will we be able to get the reminder as pop up in Lotus notes when the synchonization of CRM task and activites are done with lotus notes. we are exploring that area also. Wanted your inputs / advises.
Thanks Greg
Srini -
Reg: POP UP cretion.Multiple POP UP
Hi,
In my application I am having three pop ups.
I deigned 3views and three windows.
My question is, is it required to create so many views and windows for each pop up.
Please tell me the solution.
Reagards,
sarathI'm not sure I understand your question. If you have three completely different popups you want to display, then yes it is generally easier to just create three separate views and windows. If they are similiar enough I suppose you could create one dynamic view - but that really depends what the requirements are for what appears in the popup.
Maybe you are looking for
-
List that responds to keypressed events?
Hi I am designing a midlet that needs a list which scrolls down to names based on the input from the phones letter keys (ie if the user presses the 'GHI' key then the names starting with 'G' are shown. the same as in a phones contact-list) However th
-
I recieved a gift movie from "12 Days" app. My iphone is too small to watch it with my grandson on. Is there a way we can watch it on the TV?
-
I've installed the PSE13 upgrade (I currently have PSE9) but it won't open. When I sign in all I get is the revolving squares. It seems to be in a loop or stalled. I've downloaded twice and rebooted twice but still no luck.
-
My macbook pro wifi is connect but my apps store say No connect
muy macbook pro wifi say is connect but my apps store say No connect
-
How can I use bookmark script to deselct sidebar option by default?
I am trying to include a User Friendly 1-Click link on my site to automatically bookmark a page. Using the Ultimate Bookmark script this works fine in IE, but when the bookmarking window pops up it always has the "Load this bookmark in the sidebar" o