Save Select List states and load it on reload
Hi all,
I have a form in which the user have to choose the values from 5 Select Lists connected with LOVs. If the user selects values in the first 3 lists, but in the fourth one the value which he/she looks for does not exist, the user clicks on a link "Other" opening a page where he/she can enter the value and this value is added to the corresponding LOV on close of the page. The problem is that on the main page the Select List is not updated. The page should be reloaded. And if the page is reloaded, all the values selected in the first three lists are gone and the user should select everything again.
So the question is how to reload one select list keeping the selected values from the others?
Thanks in advance.
Hi Ivan,
Have a look at: Re: ORA-20507: Invalid numeric value This allows you to create new records for a select list without leaving the page.
Andy
Similar Messages
-
How the Select list state can be repeated for the next row of the Tabular Form, when adding new rows.
YogeshRunning 4.0.
I have a region with a Select List Item and a non-classic Date Picker Item.
The Select List requires a double-click to work. Not a single-click.
1. Remove the non-classic Date Picker the Select List works as expected.
2. Add a classic Date Picker the Select List works as expected.
3. Combine a Select List Item with a non-classic Date Picker Item in 4.2 the Select List works as expected.
It seems to be something to do with the non-classic. Maybe a Java confict?
Is this a known issue? Is there a work-around?
Select List. Non-classic Date Picker. Same region. It does not work. Requires double-click. Single click does not work. -
Help with select list item and dynamics action
G'Day Apex Gurus,
I having problems trying to achieve to trigger the help window of a select item automatically. A help window is triggered when the select item label is clicked but my client would like to be triguered automatically as soon as the user click to see the options in the select list.
I think that I should be able to do it with dynamic actions but I can not get it to work.
I know when someone click on the label of the select list item trigger this JavaScript
javascript:popupFieldHelp('277938589795252851','1545903379570909')
So I want to trigger the javascript also when the user click of the select list item and pull down the options and for that I think that Dynamic actions is the way to go but I can't get it right.
This is what I a doing:
I created a Dynamic option as follow:
Name : test
Sequence: 30
Even: Click
Selection type: Item(s)
Item(s): P1_RATING <- a selection list item
Condtion: - No Condition -
True Actions
Sequence: 10
Action : Execute JavaScript Code
Fire when event result is :True
Fire on page load: ticked
Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')
I appreciate any one who can tell me what i am doing wrong here or provide a solution to my problem of achieving to trigger the help window of a select item automatically.
Kind regards
CarlosHi Carlos,
I set up a test case in exactly the same way and it worked fine for me. I created a page item called P1_DA_DEMO and added some static select list values then added some help text. The settings I used are below, I suggest you try again but also make sure you have no other Javascript errors on the page. Use a tool like firebug to check.
Name : Dynamic Action Demo
Sequence: 10
Even: Click
Selection type: Item(s)
Item(s): P1_DA_DEMO <- a selection list item
Condtion: - No Condition -
True Actions
Sequence: 10
Action : Execute JavaScript Code
Fire when event result is :True
Fire on page load: Not Ticked
Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')
Event Scope set a s Bind.
Thanks
Paul -
help! my first mac! and I can't get past the Welcome menu window... I try to select "united states" and want to continue but nothing happens. Any idea why?
Restart the Mac, and start over, it very well could be frozen. This is not the way you would like to start out your Mac experience!
-
How to save a list template and make use of it in another website as webpart ?
How to save a list template and make use of it in another website as webpart ?
1. Save As "List A" as .STP
2. Go to another website, in the document workspace I try to Add webpart -> Browse -> Upload the STP file, but after that the List A webpart still doesn't appear.
Any clue which part went wrong?Hi,
firstly you need to upload the .STP file to a list solution gallery of the site and then you can add the list (under custom name) to the webpage
see here for how to-
http://office.microsoft.com/en-us/sharepoint-server-help/copy-or-move-a-list-by-using-a-list-template-HA101782479.aspx
Hope this helps!
Ram - SharePoint Architect
Blog - SharePointDeveloper.in
Please vote or mark your question answered, if my reply helps you -
Hope someone can help. I have tried to find the best way to do this and can't seem to make sense of anything. I'm using an Access 2013 Database and I have a report that is based on a query. I've created a Report Criteria Form. I
need the user to be able to select multiple items in a list box and also to enter a Begin Date and End Date. I then need my report to return only the records that meet all selected criteria. It works fine with a ComboBox and 1 selection but can't
get it to work with a List Box so they can select multiple items. Any help is greatly appreciated while I still have hair left.The query should return all records.
Let's say you have the following controls on your report criteria form:
txtStart: text box, formatted as a date.
txtEnd: text box, formatted as a date.
lbxMulti: multi-select list box.
cmdOpenReport: command button used to open the report.
The text boxes are used to filter the date/time field DateField, and the list box to filter the number field SomeField.
The report to be opened is rptReport.
The On Click event procedure for the command button could look like this:
Private Sub cmdOpenReport_Click()
Dim strWhere As String
Dim strIn As String
Dim varItm As Variant
On Error GoTo ErrHandler
If Not IsNull(Me.txtStart) Then
strWhere = strWhere & " AND [DateField]>=#" & Format(Me.txtStart, "yyyy-mm-dd") & "#"
End If
If Not IsNull(Me.txtEnd) Then
strWhere = strWhere & " AND [DateField]<=#" & Format(Me.txtEnd, "yyyy-mm-dd") & "#"
End If
For Each varItm In Me.lbxMulti.ItemsSelected
strIn = strIn & "," & Me.lbxMulti.ItemData(varItm)
Next varItm
If strIn <> "" Then
' Remove initial comma
strIn = Mid(strIn, 2)
strWhere = strWhere & " AND [SomeField] In (" & strWhere & ")"
End If
If strWhere <> "" Then
' Remove initial " AND "
strWhere = Mid(strWhere, 6)
End If
DoCmd.OpenReport ReportName:="rptMyReport", View:=acViewPreview, WhereCondition:=strWhere
Exit Sub
ErrHandler:
If Err = 2501 Then
' Report cancelled - ignore
Else
MsgBox Err.Description, vbExclamation
End If
End Sub
If SomeField is a text field instead of a number field, change the line
strIn = strIn & "," & Me.lbxMulti.ItemData(varItm)
to
strIn = strIn & "," & Chr(34) & Me.lbxMulti.ItemData(varItm) & Chr(34)
Regards, Hans Vogelaar (http://www.eileenslounge.com) -
Select Lists - Setting and Referencing (Using) the Select List variable
I have (a login page and) 3 application pages (call them Day, Week, Month), each with similar selection lists and a chart. I have three requirements.
1) When a new selection is made, the value of the selection list variable is updated --that is, it does what select lists do.
2) I need to set the value of the Month selection list variable before the Month page is rendered for the first time -- I need to give it an initial value.
3) When navigating from page to page, say from Month to Week or Day back to Month, I need to have the value of the selection list variable carried to the new page from the value on the previous page.
It sounds simple to me -- something that one could do with an (global) application item. The logic would be like
IF :Page_Name_Flag = 'Week' THEN -- staying on the Week page
SELECT :WK_SelectList_Name INTO :GLOBAL_SelectList_Name FROM DUAL
ELSE -- new pass on this page
SELECT :GLOBAL_SelectList_Name INTO :WK_SelectList_Name FROM DUAL
SELECT 'Week' INTO :Page_Name_Flag
END IF;But that doesn't work for me. The page's select list variable seems to be NULL sometimes causing the value of :GLOBAL_SelectList_Name to be set to null. Other times, the copy from the global variable to page select list varable doesn't seem to change the page select list variable.
At http://apex.oracle.com/pls/apex/f?p=43250:101 (guest/Ima9Gue8t) is an example where I have each page's select list working (except on the initial visit to the page, where the select variable is null!!!). How can I get the select list value on the new page to sync with the value from the previous page?
Thanks,
Howard
Edited by: Howard (DBA in Training) on Sep 18, 2012 11:53 AMI'm closing this because I got it to work. In the end, it worked as I had described above. There was some setting of the Select List variable, that I now have correct, that was incorrect before. I wonder what it was?
-
Dynamic Select List - XML and umlaut
Hi, I've recently implement a dynamic select list as per [this thread|http://forums.oracle.com/forums/thread.jspa?threadID=327306], however it seems to break if I have any words containing an umlaut. I've tried setting the header on the Application Process to UTF-8 (OWA_UTIL.mime_header ('text/xml', FALSE, 'utf-8');) but it doesn't seem to make any difference. The word in particular giving me problems is Kühne - it's the only non english entry so far, but I would expect others in the future.
Does anyone have any ideas how to allow this character to be parsed correctly? Short of using replace to check for this and every other possible character I'm not sure what else to do.
ThanksPete88 wrote:
Hello
I would like to create a dynamic select list where you can start entering a name and select list reduces with each character entered.
E.g. A list of towns in the UK where you want to select London. This list is delay as normal and as start typing by the time you have entered “Lon” the list only has few names starting with “Lon”
I expect I need a JavaScript to active this?Not in APEX 4.x. Use a Text Field with autocomplete item. -
Select list width and printing output
Hi,
Can anyone tell me how to set the width of a SELECT LIST control? I have tried to set but it is always dynamic and depends on the width of the data items of the list which are supposed to be displayed. Can i fix the width, jsut like simple text field.
I want to print a text from my pl/sql procedure on the web page from where i am caling the procedure. I tried using DBMS_OUTPUT, but vain. I actually want to print a customized error message on my web page at the occurrence of any exception.
Thanks
SalmanUnfortunately it is not working. I have following exception block in my procedure. control will transferred to the exception block if my query to remote database failed over the database link which this procedure just created.
WHEN OTHERS THEN
BEGIN
htp.p ('Database connect information incorrect, please provide correct database connection information');
EXECUTE IMMEDIATE 'DROP database link '||p_db_name;
END;
But, i don't see this message printed on my web page. Instaed, i see exception thrown by the the calling procedure of this procedure which also queried over the same database link.
Thanks -
Design overview:
List A
InfoPath Library - Form A
SharePoint Designer workflow
List A has a multi-selection column with multi-values.
Form A has fields populated from the data in List A by using a data connection in the form. I have a workflow that updates the values or creates a new item in List A. All fields work except the mufti-selection. The multi-selection has ;# separating
the values and I am having trouble setting the list box properly(checking of the selecting values) instead it concats all values on one line. I basically need to get the multi-selection column from list 1 to show exactly in the Form A and be able to
update the selection with the workflow. I can do this with single values with no problem. the multi-selection list is difficult. I read somewhere I can use a repeating table but I am not sure the workflow will work with that. That is only a read and not
a write.Wow over my head a little. I understand what an array is with script but not how to write the script to handle it. I made this:
event.value = getField("LISTBOX").value;
But still no change in the behavior with multi selections. Example below if you want to check it out.
https://dl.dropboxusercontent.com/u/2944617/formtext2.pdf -
Selecting View States and TabNavigator Canvases
Hello all Flex fans...
I have two questions for somebody who has done this before.
It will take a bit of explaining so bear with me.
I have a datagrid called "selClaimant" as the starting point
of my application. When I select something from the selClaimant
datagrid I change view states to a view called "ClaimView". In the
ClaimView state I have a TabNavigator control with several canvases
called "Claimant" and "Claims" and several others.
My first question is when I select something from the
selClaimant datagrid how do I ensure that the Claimant canvas is
displayed in the TabNavigator and not the Claims canvas???
My second question is similar to the first but with a twist.
First off the Claims canvas also has two view states (call them
"ViewOne" and "ViewMany"). ViewOne has a datagrid control called
selClaim that allows me to select a claim that has been filed by
the claimant. ViewMany allows me to see all the details about the
selected claim. When I select a claimant from the selClaimant
datagrid I query the database to see how many claims that the
selected claimant has filed. If there has only been one claim filed
I want the starting state to be the ViewMany canvas when the user
clicks on the Claims TabNavigator. If there is more than one claim
in the database then I want the ViewOne to be displayed so I can
select which claim I want the detail on.
I store the number of claims in an array so I can use the
array length to see if I have one or more claims but I am not sure
how to logically force my view state and canvas state.
Thanks in advance to the guru that helps me with this one!!!
Have an Ordinary Day...
KomputerMan ~|:-)Question one is answered... put this into the action script
that handles the datagrid selected event.
claimantTabNav.selectedIndex = 0;
claimantTabNavigator is the ID of the tabnavigator whose
canvas I want selected. 0 is the first tab in the navigator. Good
thing I grew up on UNIX and can still remember how to count
starting with a 0 instead of a 1. :)
Have an Ordinary Day...
KomputerMan ~|:-) -
P7N diamond bios settings listing, saving, and loading
I think I know the answer to both of these questions, but what the hell maybe the obvious isn't always the case and a yes to either would be really cool so
Is there any way to list my bios settings, you know like a simple cat or tostring() so I can have a cheat sheet
if I save my bios settings in user settings, can I load those into a new version? (I'm thinking they're erased with the new flash, it wouldn't work, or it would flash backAllow me one last comment in this thread because I think Karlbad did not get the point of my reply:
Creating a tool to readout parts of the CMOS Memory (where the settings are stored) is not a problem. Here is the data a simple BASIC Program puts outs:
The tricky point is to relate each and every one of these numbers to their particular function within the parameters of my particular BIOS Setup structure. To translate these numbers back to the actual options in the BIOS Setup mask is a possible task. However, it takes many, many hours. This in itself is not a problem either: the crucial point is that this needs to be done for any particular BIOS Version that is looked at.
If this relational problem is considered, it easy to understand that pen&paper and/or a digital camera are better ways to get the job done. They do not take hours of programming which would need to be repeated for any particular BIOS Version. And because of that, such tools are a complete waste of time, a complete waste of energy and ambition and also a pointless activity. And (to take the arguement one step farther) that is precisely why you will not be able to find anything useful using Google. Useful tools for this kind of task don't exist, because they are pointless.
Now, if that is to hard to understand, I don't know what to say. Reacting with swearing is probably the only possible response. However, it does not rule out the fact that your memory in conjunction with a pen and a piece of paper and/or a camera is the best option here.
Quote
My 1.2 bios does have an option to save settings
Yes, but not to a file external to the BIOS and even if, you would get a similar sequence of raw data as you can see in the screenshot above.
Your best options under the bottom line:
- use your memory
- use pen & paper
- use a camera
--> Problem solved. -
IPhone - HELP with selecting a row and loading a specific webpage
Thee following code works to open different webpages...if i click on Row 0 then it opens the page...
http://www.webpage.com/iphoneapp/1.html
But I need each row selected to open an unrelated webage.
Since the title is different depending on the row that is selected, can I add another criteria within this code (i.e. if title = "@Joey" then self loadremotehtml..... if title = "@Billy" then selfloadremotehtml....
Where/How do I add this other variable? THANKS!!
else if([name isEqualToString:@"Band Blogs"]) {
MoreBioViewController2* bioViewController = [self.navigationController.viewControllers objectAtIndex:1];
self.title = [bioViewController.displayList objectAtIndex:bioViewController.selectedBioIndex];
[self loadRemoteHTML:[NSString stringWithFormat:@"http://www.webpage.com/iphoneapp/%d.html",bioViewController. selectedBioIndex+1] ];Use a h:commandButton and the HtmlDataTable#getRowData().
Also see this article for some pointers: [http://balusc.blogspot.com/2006/06/using-datatables.html]. -
3 buttons and 2 select lists in a single line
Hi,
I have an application which has 3 region buttons ( say, b_1, b_2, b_3) and 2 selects lists (say, sl_1, sl_2). I want to display all the five buttons and items in a single line in the following order:
b_1 b_2 sl_1 b_3 sl_2
I have set Begin on new line = no
and Begin on new field = no, for both the two select lists.
But it does not seem to work.
Do anyone have any idea, how to sort out this issue?
A quick reply would really be appreciated.
Regards,
AMHi Vikas,
Please have a look into the application at
http://apex.oracle.com/pls/otn/f?p=34363:1:6206621111100168:::::
I have created two select lists P1_X and P1_Y. These items are hidden on page load event. When the associated button is clicked the list should appear on the page.
Written the following code in 'Pre element text' for each of the items:
P1_X :: <input type="button" value="X" onclick="f_X();" class="t17Button" />
P1_Y:: <input type="button" value="Y" onclick="f_Y();" class="t17Button" />
Where, f_X() and f_Y() are displaying the select lists.
As you can see, the select lists are appearing just below the html buttons, which I want side by side with the buttons.
Could you please figure out the issue?
If you want I can share my login details.
Regards,
AM -
Checked some items of multiple-selection list box when form loaded in infopath
Hi
I customize sharepoint list with infopath. I have multiple-selection list box and want to checked some items of that automatically when form loaded. how can do this?
Thanks.Hi,
According to your description, my understanding is that you want to pre-select some items in the Multiple-Selection List Box.
I recommend to follow the steps below to achieve this goal:
Click Default Values under Data tab in InfoPath, expand the dataFields and navigate to the Multiple-Selection List Box field.
Set the Default Value of the Multiple-Selection List Box field.
Right click the field under the Multiple-Selection List Box group, then select Add another Value Below and set the Default Value for this field.
Repeat step3 based on the number of the items that you want to be pre-selected.
More information are provided in the link below:
http://www.bizsupportonline.net/infopath2010/pre-select-items-multiple-selection-list-box-infopath-2010.htm
Best regards.
Thanks
Victoria Xia
TechNet Community Support
Maybe you are looking for
-
Pasting in Indesign duplicates files in Windows
This is an unusual one, and I've never seen it or heard of it before. Using Windows XP Pro, Indesign CS2. Not sure how it happened, or how to duplicate it, and it only happens with one document so far. There are plenty of workarounds to fix it, but I
-
Hi, I had my iPhone 4S and I'm recently upgraded it from 7.0.5 to 7.0.6 and I found the battery drain up very fast if compare to iOS 7.0.5. Besides, I also unable to fully charger my phone to 100% now - max is 85% with phone either in airplane mode o
-
I have been unable to view my video produced using Adobe Premier Elements 10 on my Nexus 7. Will the added features of version 12 solve this problem.
-
Looking for a legitimate source for a DMG
Long story short: I am looking for the disk image for either iLife 08 or iWeb08. I just rebuilt my system and deleted all my iLife stuff thinking it came with the new OS. I am not in a position to have the DVD delivered to me but I do have a reliable
-
Updating software (CS6)
I have just installed creative suite 6, I got notified that there are already updates, but there are errors on downloading the updates "update failed" Error Code: U44M1P7, any advise please?