Select lists - remember values after submit not working in IE7
I have two dynamic select lists that are populated using .csv
files.
On submit, a set of results is returned based on the two
options that were chosen.
In IE7 when the results are returned the select lists default
back to the last option in the select list. I would like it to
default to what ever option was just chosen.
I'm using the code below and it works as I would like it to
in both Firefox and Safari, but just defaults to the last option in
the list for IE7.
The variable "actualLitType" is pulled from the URL and
should be part of the id of the selected option.
Any ideas why it doesn't work like I would like it to in IE7?
Thanks in advance,
Jesse
I posted this in another forum and received an answer that
fixed the issue. See the link below for more information:
http://www.dynamicdrive.com/forums/showthread.php?t=35473
Similar Messages
-
Select list with bind variable does not work
Hi,
What can be wrong with a 'select list' with the a simple select
select omschrijving o, id i
from basiscodes b
where domein = 'OPTIES'
and b.id in
(select eo.basiscode_id from evenementen_opties eo
where eo.event_id = :P16_ID)
The :P16_ID has a value and should give result
But it does not work at all with 'select list'
Using the POPUP LOV (display discription, return key value) works nice
The select retuns less then 10 recordsHi Flavio,
As I explained, the P16_ID is an item of the master page (page 16)
In Page 18 where I want to reuse that value, the item is not there, but I use it to assign
P18_EVENT_ID with the value in P16_ID and that works fine.
In an after submit process, I do this :
declare
function get_pk return varchar2
is
begin
for c1 in (select EVENEMENT_INSCHRIJVING_SEQ.nextval next_val
from dual)
loop
return c1.next_val;
end loop;
end;
begin
:P18_ID := get_pk;
:P18_EVENT_ID := :P16_ID;
:P18_CREATIE_DT := TO_CHAR(SYSDATE,'DD-MM-YYYY HH24:MI:SS');
:P18_CREATIE_USER := APEX_APPLICATION.G_USER;
end;
The value P16_ID is there before I open page 18
I made a display item that displays the value P16_ID
If I change the LOV select in :
select b.omschrijving o, b.id i
from basiscodes b
, evenementen_opties eo
where b.domein = 'OPTIES'
and b.id = eo.basiscode_id
and eo.event_id = 16
then it returns the value I want : 1 record
You see, I'm a really new one in apex.
Forms 6i was easier for me...
Regards Jules
null -
SELECT LIST - with values after have values in other Select List
My friends.
I need a select list that is self - complemented, after being selected a value in another select list above.
Can you help?
pesquisarGood afternoon,
Try this for the definition of your select list:
select emp.emp_name as display_column,
emp.emp_id as return_column
from employees emp
where emp.department = :P1_DEPT_NO
order by emp.emp_name;This will look at the select_list called :P1_DEPT_NO, capture the value that is currently selected and then populate the EMPLOYEE select list based on the results. Just use a query like this as the one that defines your second select list.
This seems to be a popular question. Search this forum for other information.
Don.
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! :) -
Steve, "Simple JSF Popup List of Values Page " does not work..
Hi Steve,
I read "Not Yet Documented ADF Sample Applications" #80 : "Simple JSF Popup List of Values Page " and download SimpleADFBCLOVJSF.zip, but when I try to run the sample, I get this error :
JBO-33001: Cannot find the configuration file /xxx/common/bc4j.xcfg in the classpath
What is wrong ?
Thank you,
xtantoThanks for reporting this. I've uploaded a newer version of the zip file that fixes this issue.
It was due to a last-minute refactoring of my model project from having the application module living in a package named "xxx" to another package named "example.model" -
Hello,
Can anyone help me?
select year(po.rdata) as 'Ano',
sum(etotal) as 'Valorp' ,
(select year(fo.data),Sum(etotal)
FROM fo (nolock)
where not exists ( select 1 from pl (nolock) where pl.adoc = fo.adoc and pl.cm = fo.doccode )
group by year(fo.data))as 'Valorap'
from po
group by year(po.rdata)
order by year(po.rdata)
Error
Msg 116, Level 16, State 1, Line 6
Only one expression can be specified in the select list when the subquery is not introduced with EXISTS.
ConsultoraHi Prashanth,
select year(po.rdata) as 'Ano',
sum(etotal) as 'Valorp' ,
(select Sum(etotal)
FROM fo (nolock)
where not exists ( select 1 from pl (nolock) where pl.adoc = fo.adoc and pl.cm = fo.doccode )
group by year(fo.data))as 'Valorap'
from po(nolock)
group by year(po.rdata)
order by year(po.rdata)
Gives me the error:
Msg 512, Level 16, State 1, Line 1
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
Thanks
Consultora -
Sharepoint 2013 list view quick edit does not work with out remote API permissions
sharepoint 2013 list view quick edit does not work with out remote API permissions.
When I give Use Remote Interfaces - Use SOAP, Web DAV, the Client Object Model or SharePoint Designer interfaces to access the Web site it works which is not an ideal situation..
MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint LeadThis is true. If you use Fiddler to watch the requests from the list view quick edit you can see CSOM calls. For example when changing a value in a cell, when you tab out you will see the SetFieldValue and Update method calls on the list item.
Blog | SharePoint Field Notes Dev Tools |
SPFastDeploy | SPRemoteAPIExplorer -
Why does right clinking on link and selecting open in new tab does not work?
Why does right clinking on link and selecting open in new tab does not work?
It opens up a blank page. The only way to make the link work is to click on the navigation bar in the new tab and press enter to reload the link.Do you have that problem when running in the Firefox SafeMode?<br/> ''A troubleshooting mode.''<br />
1.You can open the Firefox 4.0 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut. <br />
2. Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut to open it again.''
If not, see this: <br />
http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes -
hi all
i have a table that name is:
TiketsHeader
but i used this code
SELECT TicketsHeaderId, Active, TH.PersonRef,P.Fname + ' ' + P.Lname AS NF, Serial, TicketsCnt, StartSerial, EndSerial, KindDate, StratDate, EndDate,
MonthsRef1,(SELECT * FROM dbo.Months M WHERE M.MonthsId= MonthsRef1 ) AS MonthsName1 , MonthsRef2, MonthsRef3, WeekDaysRef,
PoolTimesRef, TH.Descreption
FROM dbo.TiketsHeader TH
INNER JOIN Person P ON P.PersonId= TH.PersonRef
i see this error:
Msg 116, Level 16, State 1, Line 2
Only one expression can be specified in the select list when the subquery is not introduced with EXISTS.
how to solve it
please help me
Name of Allah, Most Gracious, Most Merciful and He created the humanSELECT TicketsHeaderId, Active, TH.PersonRef,P.Fname + ' ' + P.Lname AS NF, Serial, TicketsCnt, StartSerial, EndSerial, KindDate, StratDate, EndDate,
MonthsRef1,(SELECT * FROM dbo.Months M WHERE M.MonthsId= MonthsRef1 ) AS MonthsName1 , MonthsRef2, MonthsRef3, WeekDaysRef,
PoolTimesRef, TH.Descreption
FROM dbo.TiketsHeader TH
INNER JOIN Person P ON P.PersonId= TH.PersonRef
A Sub query like this can only return one column, not serveral like here with the star *. Replace the star by one column Name that you want to query.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
After Effects not working in Mavericks
Is anyone having issues with Adobe After Effects not working in Maveriks? Premeire, Photoshop, Audition all work, but not AE. No update from Adobe available.
This update is ONLY FOR MAVERICKS. You can't update through Creative Cloud, to prevent users of other operating systems from installing it.
-
Multiple-Selection List Box Values in Multiple Columns
I am using InfoPath 2010 with SharePoint 2013. I have a form with a multiple-selection list box which has A LOT of choices. Instead of displaying all the choices in one column, is it possible to display the values of my list box in several
columns?Hi Andrea,
I agree with Brij, one multiple-selection list box is associated with one list field, we cannot use the one multiple selection list box value for other multiple selection list boxes, we need to create multiple choices for each multiple-selection list box
control in InfoPath form.
Thanks
Daniel Yang
TechNet Community Support -
Flash Ad External API not working in IE7
I'm using the Flash AS 2.0 External API to call a Javascript
function in a page that adds an item to a shopping list when a
Flash Ad is clicked. This is working in FireFox 2 , Safari, and
IE6, but does not work in IE7. I tested the Flash Ad locally in
it's own html page and it calls the function in IE7. An example of
the ad can be viewed here:
http://ads.beta.groceryshopping.net/Shop/WeeklyAd.aspx
The issue may be tied to Ajax.the solution can be found here:
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb400730&sliceId=1 -
Flash buttons not working in IE7 and Chrome
Here's my website where the problem is occuring www.bakercreative.co.uk
As you can see the Flash buttons animate, but when clicked they should go to a new html page.
I've tested it in IE8 and Firefox without any problems but it's not working in IE7 and Chrome.
Does anyone know what the problem is? Could it be the html code or the flash file itself?
ThanksHi, Glad you were able to solve that issue with the buttons and Chrome. Any small thing can cause big problems!! LOL
I'm sure IE7 will test out ok, IE6 did Your website is very nice and has a variety! I hope it all comes together for you.
Thanks,
eidnolb -
LOV filter - Auto Submit not working after the value is made to VS.filter
JDeveloper 11.1.1.4.0
I have cascading LOV filters for a table with fields id, deptid, projectName. The filters are for deptid and projectName. When I select a deptid, the projectNames belonging to that deptid should be populated. I have set Auto submit for deptid filter and partial trigger for project Name. So if I select a deptid and when I navigate to Project Name filter I get the list of project Names in the Project LOV filter.This worked fine as long as I didnt change the value for LOV to Vs.filtercriteria.deptid. Once I changed it the LOV filter for Project Names only got refreshed once I hit ENTER key after changing the value of Deptid. But I have to keep the value for LOV to Vs.filtercriteria.deptid. Other wise the records in the table after applying the filter values didnt function properly. I dont know whether the AutoSubmit does not work when the value is changed to Vs.filtercriteria.deptidduplicate post.
Frank -
Get the value from dropdown list (selectedIndex) and text field -- not working
Hi All,
I am trying to find and change by the values selected by user using dropdown and text field. Here is the code.
ChangeRevDetails();
function ChangeRevDetails(){
var myDialog = app.dialogs.add({name:"Enter copyright information"});
// var monthlist = col1.dropdowns.add('myList', undefined, myList);
var col1 = myDialog.dialogColumns.add();
var col2 = myDialog.dialogColumns.add();
col1.staticTexts.add({staticLabel:"Month:"});
col1.staticTexts.add({staticLabel:"Year:"});
col1.staticTexts.add({staticLabel:"Rev. no.:"});
var myList = [ "January", "February", "March", "April", "March", "April", "May", "June", "July", "August", "Sepetember", "October", "November", "December" ];
var myMonth = col2.dropdowns.add({stringList:myList, selectedIndex:0, minWidth:100});//{minWidth:100});
var myYear = col2.textEditboxes.add({editContents:"2013", minWidth:100});
var MyRev = col2.textEditboxes.add({minWidth:100});
var RevMonth = (myList [myMonth.selectedIndex]);
var RevYear = myYear.editContents;
var RevNumber = MyRev.editContents;
var RevToReplace1 = RevMonth +", "+ RevYear;
var RevToReplace2 = RevMonth +", "+ RevYear + " Rev. " + RevNumber;
var myResult = myDialog.show();
if(myYear.editContents == "") //entry is ""
alert("Please enter some text into the contents field.");
ChangeRevDetails();
else if(myResult == true) //user entered datas
alert (RevMonth);
alert (RevYear);
alert (RevNumber);
alert (RevToReplace1);
alert (RevToReplace2);
app.findGrepPreferences = NothingEnum.nothing;
app.changeGrepPreferences = NothingEnum.nothing;
// grep find/change
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "[\\l\\u]+?\\s?\\d{4},?\\s+[\\l\\u]+\\.*\\s+\\d+";
app.findGrepPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyleGroups.item("Back page"). paragraphStyles.item("Legal_7/9");
app.changeGrepPreferences.changeTo = RevToReplace1;
app.changeGrepPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyleGroups.item("Back page"). paragraphStyles.item("Legal_7/9");
app.activeDocument.changeGrep();
app.findGrepPreferences = NothingEnum.nothing;
app.changeGrepPreferences = NothingEnum.nothing;
else //implies user clicked cancel
myDialog.destroy();
The problem is, it is not taking the value which the user selects from the dropdown and the text field. It takes the default value as "January" and the year is "2013" as both of these values are given as selectedIndex:0 and editContents:"2013". I have compared the coding with some other working scripts as well, but it is not working. I have added several alert boxes to check the value we get.
Also, the find and change is also not working. Please help me on this. Thanks.
Regards,
Muthuraj. DChange the order for dialogresults:
var myYear = col2.textEditboxes.add({editContents:"2013", minWidth:100});
var MyRev = col2.textEditboxes.add({minWidth:100});
var myResult = myDialog.show();
if(myYear.editContents == "") //entry is ""
alert("Please enter some text into the contents field.");
ChangeRevDetails();
else if(myResult == true) //user entered datas
var RevMonth = (myList [myMonth.selectedIndex]);
var RevYear = myYear.editContents;
var RevNumber = MyRev.editContents;
var RevToReplace1 = RevMonth +", "+ RevYear;
var RevToReplace2 = RevMonth +", "+ RevYear + " Rev. " + RevNumber;
didn't have a look for the find change problem -
List Of Values Switcher doesn't work fine here
Hello,
I tried a new List Of Values Switcher feature, in jdev11g R, and i tried andrejusb's example( http://andrejusb.blogspot.com/2008/10/multiple-lovs-per-attribute-in.html ), but it doesn't work
Is that a bug??
ThanksI did find this in an email I sent out after I got this working:
"An important item to note is that when selecting a Default LOV, it appears as if the radio button does not determine which LOV is default. It is always the first item in the list (took me a bit to figure that little gem out)."
Maybe you are looking for
-
Lightroom 5 - Smart Previews | What's New in Lightroom 5 | Adobe TV
Learn how to create lightweight, efficient Smart Previews to work with offline images in Lightroom. http://adobe.ly/11rZI6q
-
Link Aggregation: LGS318P Switch and LRT214 Router
The manual for my LGS318P is a little confusing (perhaps because I'm relatively new at more advanced features of networking). I have an LRT214 router that I'm now routing all traffic through my LGS318P in the basement. From there it goes to multiple
-
Hello, I was adding data files to a tablespace and I added one that I did not want so I did an "alter database datafile... offline drop'. The file is still there. Is there a way to get rid of it, hopefully without bringing down the database. Thank yo
-
Workflow for Green Screen Multicam, Color Correction. (CC 2014)
Hi What is the best workflow to do a music video shot with 7 cameras (each with 4 takes) on a green screen which would also include green screen stills. All shot with Consumer Grade cameras at 1920/1080 at the highest resolution (I think 30 fps) The
-
I purchased a 25 song album but only 4 songs downloaded. Who do I contact?