How to call parameter (selection list) in the box
Place of auto-refresh on the browser by clicking the check box,Attributes page, Javascript, function and declaration of global variables
var gtReloadPage;
"autorefresh" dynamic action
2 real actions:
Run the PLSQL code
null;
Page items to submit: P1_CHECK_BOX
Fire on loading the page: CHECKED
Execute javascript code
Alert ('ok - timeout parameter');
gtReloadPage = setTimeout ("location.reload (true);", 8000);
Fire on loading the page: CHECKED
2 false actions:
Run the PLSQL code
null;
Page items to submit: P1_CHECK_BOX
Fire on loading the page: UNCHECKED
Execute javascript code
clearTimeout() (gtReloadPage);
Alert ("timeout has been deleted!");
Fire on loading the page: UNCHECKED
It works very well...
However, the requirement was that the user must enter the time accroding to its page e.g. obligation to refresh after the selected time from the selection list.
for this I created the name P1_time_select of the selection with the static value list ('1 min round trip = 60000', '5 min round trip = 300000 ") and I call the javascript in code of dynamic action that has been created, as
gtReloadPage = setTimeout ("location.reload (true);",: P1_time_select);
but it's not working. Guide please how do I call the selection list in the box to auto refresh
created for example on apex.oracle.com
http://Apex.Oracle.com/pls/Apex/f?p=124545:1:13858430141379:
workspace: SIRAF
username: [email protected]
password: 9469471
Published by: JohnMackanzi on 7 November 2012 22:29
Hello
If you want to access the list of selection within the javascript code value, use $x('ITEM_NAME').value
gtReloadPage = setTimeout("location.reload(true);",$x('P1_SELECT_LIST').value);
Hope this helps, Mimi
Tags: Database
Similar Questions
-
How to create a pick list in the navigation bar
Hello
I use apex5 universal theme and I have an obligation to create a selection list in the navigation bar (before the username and logout) and join a dynamic action. Can someone tell me please how to do this.
Note: I have created a page zero region. But none of the region of downtown suites this obligation to show the point just before the username and logout.
Thank you
Stephanie.
Guys,
I thought about a way myself. Its works fine as well. Please find the steps below.
- Create a region in page zero as a model "empty with attributes.
- Create a P0_SELECTION to a P0_SELECTION class (if you do not use this class, you can still refer with ID P0_SELECTION, your choice)
- Create a bar the entrance to the navigation list with the following properties-online class/Image = SELECTIONPOSITION, entry list Label =, Target = URL, target URL = javascript: void (0);
When you have finished the above activities, go to a page where you would like this item placed in the navigation bar. Simply put the code below in the section JS page (Execute when the Page loads).
$(". P0_SELECTION')
.appendTo(".) SELECTIONPOSITION");
The jquery above to add the item to the navigation class class. Now the best way is to designate the ID. All you need to do is change as below.
$("#P0_SELECTION")
.appendTo ("#SELECTIONPOSITION");
In this way, you can position your elements from anywhere in the page. All you need to do is to create and DISPLAY or class position and adds the element using jQuery.
Hope this information is useful for someone struggling to position elements in the Web page.
Thank you
Stephanie.
-
Question
On the right of the adressbox, I always have Yahoo then Google, how can I solve that, I already delete Yahoo from the list in the box search, but every time I start firefox Yahoo is back. Thanks Ron Mijtelen ter, Amsterdam.Hi Ron,
Have you looked at article in the Knowledge Base using the search in Firefox bar? There are lots of good information in there. You happen to have an installed Yahoo! toolbar? You must disable or delete as well if you do. Try to start Firefox in Mode safe mode by holding down the SHIFT key while starting Firefox. If you have any problems using the safe, it's a matter of add-on or extension.
Hope this helps!
-
How to call a second instance of the same VI?
Hello
I have a useful VI dealing with IO operations. To save some time, of what I would call the VI as a second instance do work at the same time. I created a sequence sub with the run option 'Use the new thread' and I called the Vi (a step of the sequence only). Execution time of the VI is about 20 seconds run Durin I called the subsequence and I carried on running my main sequence (parent). Since then 10 seconds to launch the subsequence (in the thread of sepatate I called the same VI as in the thought of subsequence the second instance will be created. However, instead of parallel work of the two instances of the same VI had to wait when mt subsequence end known call the VI th.
So my question is, as in the topic: how to call a second instance of the VI even at the "same time"?
Could you please tell me about the best approach to solve the problem?
Any VI that you want to run in parallel must be paid also re-entrant, including screws.
-
Manage selection lists - how import/load a Select lists?
Hi Eloqua users,
I created some forms as im having to locate in other languages.
I have our forms we have couple of select lists that I'm going to locate too. One of them is a list of selected countries.
Is there a way to uplod or automatically import a selection lists?
Any country that SELECT lists is available in other languages that I could import?
I try to avoid editing a whole list :-)
Thanks a lot for your answers.
Rhea
Hi Rhea
Certainly, you can download a list of selection without having to manually enter each value.
E9 if you go to automate > forms > Forms tab you can then click the Menu n forms manage and then select manage lists. You can create a new list or select an existing one. In the menu select list in the upper right corner, you can select Upload select list and follow the wizard to the process. You will have a column for the value (the value that is stored on the contact record) and the name (this is what is displayed in the drop-down list of the select list.
E10 you can go to settings > select manage lists and follow the same procedure as described above. You can create a new list or select an existing one. In the menu select list in the upper right corner, you can select Upload select list and follow the wizard to the process. You will have a column for the value (the value that is stored on the contact record) and the name (this is what is displayed in the drop-down list of the select list.
I hope this helps!
-
How can I get a list of the applications that I paid for with my subscription?
How can I get a list of the applications that I paid for with my subscription?
Which subscription you have... specialized photography or cloud together?
Cloud Plans https://creative.adobe.com/plans
-Special photography Plan includes Photoshop & Lightroom and Bridge & Mobile Lightroom
-What is in the set of Cloud http://www.adobe.com/creativecloud/catalog/desktop.html
-
DC as a sentence installed and I can't find anything! How do I highlight some text in the box, how can I change the text color?
Hi taraf32044550,
I think the new user interface can be a bit of a learning curve, but I hope that you really like it when you find your bearings. Please check these tutorials will help you to find your way around: Acrobat DC Learn & support.
In particular, I think that you will find this tutorial very useful: change text and images in PDF files
Best,
Sara
-
Hello
I use apex 5.
I used the shuttle to load the list of values of SQL query.now I want to get the list of the selected values on the right side of the shuttle to a textfield.values should be separated by commas.
Please someone tell me how to do this.
Thank you
Hi geslin,.
Garza says:
I use apex 5.
I used the shuttle to load the list of values of SQL query.now I want to get the list of the selected values on the right side of the shuttle to a textfield.values should be separated by commas.
Please someone tell me how to do this.
You can do it by using dynamic action.
Create a dynamic action on the onchange event of your Shuttle point (say P1_SHUTTLE) to get the values to select in the text element (say P1_TEXT) as follows:
Name: give a name
Event: change
Selection type: item (s)
Article (s): P1_SHUTTLE (select your Shuttle point)
Condition: is not null
Action: Execute the PL/SQL Code
Fire on loading the Page: No.
PL/SQL code
BEGIN :P1_TEXT := REPLACE(:P1_SHUTTLE,':',','); END;
Page items to submit: P1_SHUTTLE
Page referred to return: P1_TEXT
Kind regards
Kiran
-
LOV SQL: How to configure a selection list to get all the records
Hello
I use Oracle 10 g with APEX 2.0.
Here's my question:
I have a report and I use 3 text fields and a selection list to search in a join of two tables. The selection list is composed of a "list of values" and the parameter is used in the SQL sentence, has a numerical value.
Table of results after the join operation looks like this:
Field1 Field2 Field3 Field4 (assuming that the field3 is used in the select list).
21 has this NL 1000
21 bis as 1001-vb
33 so 1012 ct
What I want to do is put another pair of the value of the parameter in the select list to let the user choose the "ALL" items mentioned in the selection list, so that the search returns all records without taking this select list-field into account.
Is it possible to do it with SQL and LOV? Do I need other functions? or configurations?
Thanks in advance,
SedefHi user630478!
I always use a selection with submit list and the option to get a NULL value for such things. To solve your problem do the following:
1.) create two named LOVs. As you have already done and another for all values.
2.) to submit your selection list must be configured to display a NULL value e.g. it shows EVERYTHING with the value 0.
3.) create two conditional branches that work with your selection list. Which show normal results, if a user has clicked on a normal value and the second should act only if a user has clicked on the WHOLE.
4.) write a process triggering the LOVs in your selection from one to the other list. This process should only be fired if the second conditional branch has been activated.As I understand it that's maybe what you want to know.
Yours sincerely
-
Hello world
I use 11.1.1.7 version of Jdeveloper. I have a table adf BC. I need to call another ADF BC table inside the table. I need get the questionId from each row in the main table and fix the questionId as a point of view of the criteria drop inside the main table. I use to execute with parameter but always get the id of the last row question and criteria of this id as a point of view to each row of the table. How can I do this?
< af:table value = "#{bindings." AttachmentYesNoVO11.collectionModel}.
var = "row" rows = "#{bindings." AttachmentYesNoVO11.rangeSize}.
emptyText = "#{bindings." AttachmentYesNoVO11.viewable? "{'No data to display.': 'Access Denied.'}".
fetchSize = "#{bindings." AttachmentYesNoVO11.rangeSize}.
rowBandingInterval = "0" id = "t2".
"partialTriggers =": cb4: cb3 ".
styleClass = "AFStretchWidth" inlineStyle = "height: auto;"
width = "1250" >
< af:column sortProperty = "#{bindings." AttachmentYesNoVO11.hints.Question.name}.
sortable = "false".
headerText = "#{bindings." AttachmentYesNoVO11.hints.Question.label}.
ID = "c10" width = "300" >
< af:inputText value = "#{row.bindings.Question.inputValue} '"
label = "#{bindings." AttachmentYesNoVO11.hints.Question.label}.
required = "#{bindings." AttachmentYesNoVO11.hints.Question.mandatory}.
columns = "#{bindings." AttachmentYesNoVO11.hints.Question.displayWidth}.
maximumLength = "#{bindings." AttachmentYesNoVO11.hints.Question.precision}.
shortDesc = "#{bindings." AttachmentYesNoVO11.hints.Question.tooltip}.
ID = "it1" lines = '8' readOnly = "true" contentStyle = "width: 330px; "margin: 10px" >
< f: validator binding="#{row.bindings.Question.validator}"/ >
< / af:inputText >
< / af:column >
< af:column headerText = "#{bindings." AttachmentYesNoVO11.hints.ApplicationId.label}.
ID = "c1" width = "300" >
< af:table value = "#{bindings." AttachmentVO1.collectionModel}.
var = "row" rows = "#{bindings." AttachmentVO1.rangeSize}.
emptyText = "#{bindings." AttachmentVO1.viewable? "{'No data to display.': 'Access Denied.'}".
fetchSize = "#{bindings." AttachmentVO1.rangeSize}.
selectionListener = "#{bindings." AttachmentVO1.collectionModel.makeCurrent}.
rowSelection = 'single '.
Binding = "#{uploadDownloadBean.downloadTable} '"
rowBandingInterval = "0" id = "t1".
partialTriggers =': cb5: cb6: cb7: cb10 ">"
< af:column id = 'c12' width = '0 '.
headerText = "Download File" >
< af:commandButton text = "#{row.bindings.FileName.inputValue}" id = "cb23" > "
< af:fileDownloadActionListener
filename = "#{row." Bindings.FileName.inputValue}.
Method = "#{uploadDownloadBean.downloadFile} '"
contentType='"#{row.bindings.MimeType.inputValue}"'/ >
< / af:commandButton >
< / af:column >
< / af:table >
< / af:table >
User, because the two tables have a relationship, we call matter detail relationship, you can use a link view defining the relationship, and the framework will be the selection detail for you automatically.
The next thing is that you can not put a table in a column of a table. This is not supported by the table component. You can use a picture of the tree for this, or tables cascading as I show in JDeveloper 11.1.2.1: cascade Tables | JDev & ADF Goodies
Timo
-
How to call an existing application in the menu of an another aplication
How to call an application in the menu select an another application example in the menu objects switch (selected) {case 0: here the call to other applications aexisting? break;}
You can create a MenuItem that executes the code in this article.
How - to launch a third-party app to another third-party application
Article number: DB-00455 -
BlackBerry Smartphones Call Log problem - lists only the missed calls
I have the curve 8900 with t-mobile and I'm having the same exact problem that this user has:
http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=8900&message.ID=3200
My call log lists only the missed calls (dialed or received calls). He did this for a few weeks now. I received the error message 'exception: java.lang.NullPointerException eception' a few times as well.
I checked all available software updates and I use the most recent software.
Please help me if you can.
Thank you
Mike
I fixed it! It took about an hour on the phone with t-mobile, but we thought about it. For me, the problem was probably a few information corrupted in my call history. I need to delete all the call history, and then it was fine. To do this, you need to install the blackberry desktop manager on your computer if you have not already (be it from the cd that came with the phone or the Web site). Open Fund Manager and connect the blackberry to the computer. Select the backup and restore option. Then, select the advanced option. On the right side of the screen, there will be a list of all the features of the phone. Scroll to phone call logs. It lists the number of records in the phone. All I had to do was remove all records from phone call and it was corrected. Now my lists of newspaper calls dialed, received and missed and I no longer get the error message. I hope it helps you too!
-
How to filter a selection list
I have several lists of selection. All have FKs in the parent table. The relationship of the tables is the following:
BLDG - < ROOMS - < LOCATIONS - < POSITIONS
ROOMS have a FK to buildings, PLACES a FK to ROOMS and POSITIONED a CF for LOCATIONS
I have a form where the user will enter their selection for each attribute, and I want the ROOM list only see the room in the selected building, LOCATIONS in the ROOM chosen, etc.
The selection list is defined as:
Select room_number d, room_id r
ROOMS
where bldg._id =: P2_BLDG_ID
P2 is the page where the user enters data. All lists, follow the above format and the corresponding value of FK.
When I test data entry any of the lists to return all data. I guess that's because the corresponding value of the page has the value null when the page opens, and the list is not updated when the user makes the corresponding selection. How can I get APEX to fill the lists once the user makes a selection of the corresponding value of parent?
2785699 wrote:
I have several lists of selection. All have FKs in the parent table. The relationship of the tables is the following:
BLDG-<><><>
ROOMS have a FK to buildings, PLACES a FK to ROOMS and POSITIONED a CF for LOCATIONS
I have a form where the user will enter their selection for each attribute, and I want the ROOM list only see the room in the selected building, LOCATIONS in the ROOM chosen, etc.
The selection list is defined as:
Select room_number d, room_id r
ROOMS
where bldg._id =: P2_BLDG_ID
P2 is the page where the user enters data. All lists, follow the above format and the corresponding value of FK.
When I test data entry any of the lists to return all data. I guess that's because the corresponding value of the page has the value null when the page opens, and the list is not updated when the user makes the corresponding selection. How can I get APEX to fill the lists once the user makes a selection of the corresponding value of parent?
Cascading selection lists are covered in the documentation.
-
Selection list in the form of manual based on a previous article
I have a manual tabular presentation with multi-column, a column (seller) is a selection list that should be based on a previous column (Type of supplier - internal/external). So if the user selects internal to the provider Type, selection of the provider column list must contain these sellers with type of Interior. Moreover, it also uses the APEX collections.
Select
apex_item. Hidden (1, C015) STATUS.
apex_item. CheckBox (2, SEQ_ID,' title = "check to remove" "") CHECK box.
case
When (c001 is not null and c002 is not null) then
"< a onclick =" return false; "href =" f? p ='|| : APP_ID | » : 20 :'|| : APP_SESSION |':NO:20:P20_ID, P20_REQ_ID, P20_SEQ_ID :'|| C001 | «, » || C002 | «, » || SEQ_ID. ' "" > < img alt = "" src="/i/ed-item.gif" > < / a > '
end |
apex_item. Hidden (4, C001) ID,.
apex_item. Hidden (5, C002) JOB_QUOTE_ID,.
apex_item.date_popup2 (6, C003, "MM/DD/YYYY", 11, 2000, "onChange =" f_set_end_date (this.id,'|) "") ROWNUM. ');"') ||
apex_item.select_list_from_query (7, C004, 'select svcs_description d, svcs_code r from csrsr_service_codes order by 1 CAD', null, 'YES', null, "- Select -"). ' < BR / > '.
apex_item.date_popup2 (8, C005, "MM/DD/YYYY", 11).
apex_item. Text (9, C006, 8, 15,'style = "" text-align: right; ' ") ') || ' < BR / > '.
apex_item.select_list (10, C007,';) S, external; E', null, 'YES', null, "- Select -").
apex_item.select_list_from_query_xl (11, C008, 'select $vendor_name d, csrsr_vendors_v r vendor_number', null, 'YES', null, '- Select-'). ' < BR / > '.
apex_item. Text (12, C009, 50, 100, "colspan = 2') COL12,.
apex_item. Text (13, to_char (to_number (C010), 'FML999G999G999G999G990D00'), 10,15,'style = "text - align:right;"') AMT1,
apex_item. Text (14, to_char (to_number (C011), 'FML999G999G999G999G990D00'), 10,15,'style = "text - align:right;"') AMT2,
apex_item. Text (15, to_char (to_number (C012), 'FML999G999G999G999G990D00'), 10,15,'style = "text - align:right;"') AMT3,
apex_item. Text (16, to_char (to_number (C013), 'FML999G999G999G999G990D00'), 10,15,'style = "text - align:right;"') AMT4,
apex_item. Hidden (24, C001) |
apex_item. Hidden (25, C002) |
apex_item. Hidden (3, SEQ_ID) |
apex_item. Text (17, to_char (to_number (C014), 'FML999G999G999G999G990D00'), 10,15,'style = "text - align:right;"') CHBK_AMT,
'value' COLTYPE
Of
apex_collections
where
collection_name = "CSRSR_JOBCOSTS_C" and
C015 in ("O", "U", ' only)
Union of all the
Select
apex_item. Hidden (1, null) STATUS.
apex_item. CheckBox (2, null,' title = "check to remove" "") CHECK box.
apex_item. Hidden (24, null).
apex_item. Hidden (4, null) ID,.
apex_item. Hidden (25, null).
apex_item. Hidden (5, null) JOB_QUOTE_ID,.
apex_item.date_popup2 (6, null, ' MM/DD/YYYY", 11, 2000," onChange = "f_set_end_date (this.id,'|)" ") ROWNUM. ');"') ||
apex_item.select_list_from_query (7, null, 'select svcs_description d, svcs_code r from csrsr_service_codes order by 1 CAD', null, 'YES', null, "- Select -"). ' < BR / > '.
apex_item.date_popup2 (8, null, "MM/DD/YYYY", 11).
apex_item. Text (9, null, 8, 15,'style = "" text-align: right; ' ") ') || ' < BR / > '.
apex_item.select_list (10, null,';) S, external; E', null, 'YES', null, "- Select -").
apex_item.select_list_from_query_xl (11, null, "select d, vendor_number csrsr_vendors_v r $vendor_name", null, 'YES', null, '- Select-'). ' < BR / > '.
apex_item. Text (12, null, 50, 100, "colspan = 2') COL12,.
apex_item. Text (13, null, 10, 15, "style =" text-align: right;) (' ') AMT1,.
apex_item. Text (14, null, 10, 15, "style =" text-align: right;) (' ') AMT2,.
apex_item. Text (15, null, 10, 15, "style =" text-align: right;) (' ') AMT3,.
apex_item. Text (16, null, 10, 15, "style =" text-align: right;) (' ') AMT4;
apex_item. Hidden (24, null).
apex_item. Hidden (25, null).
apex_item. Hidden (3, null).
apex_item. Text (17, null, 10, 15, "style =" text-align: right;) (' ') CHBK_AMT;
'value' COLTYPE
Of
Double
How can I accomplish this?
Request Express 4.1.2
Oracle 10g Rel 2
Robert
Hello
Then, you are probably looking for cascading select list in a table?
http://dbswh.webhop.NET/HTMLDB/f?p=blog:read:0:article:2003800346210117
Kind regards
Jari
-
How to deletions has selected list item from a list item.
How delete a list item selected in a list item.
My question that I should write to list_index so that it indicates the selected list item
DELETE_LIST_ELEMENT (Nom_liste, list_index);
-----
Form of Oracle 10gHello
The trigger when-list-changed fires whenever the value has been changed.
You get this value/index with the following:DECLARE LC$Liste Varchar2(61) := :system.cursor_item ; LC$Valeur Varchar2(30) := Name_In( LC$Liste ) ; LN$Nbre Pls_integer ; BEGIN LN$Nbre := Get_List_Element_Count( LC$Liste ) ; For i IN 1 .. LN$Nbre Loop If Get_List_Element_Value( LC$Liste, i ) = LC$Valeur Then -- you get the selected value, and index there -- :BLOC2.LABEL := Get_List_Element_Label( LC$Liste, i ) ; Exit ; End if ; End loop ; END;
François
Maybe you are looking for
-
I just bought a new computer with Windows 7 Professional 64 bit. I downloaded Thunderbird and imported my old user profile, as I always did in the past. Thunderbird runs incredibly slow. I double click to open an email and it takes 1-3 minutes to ope
-
Is it possible to edit Firefox context menu to the standard address for the displayed Web pages? Often, I want to save an image on a page. Sometimes I "slip" and press "Send Image" when I want to "Save Image under" and sit and wait for the default pa
-
New iPhone will not appear in iTunes, but old will
Only, I went to verizon and purchased the iPhone 6 s. I have the iPhone 5 s. I created a backup of 5s on my computer in iTunes (the latest version). I restored the iPhone 6 s at startup screen. Whenever I get to the screen saying connect to iTunes to
-
update the windows server 2008 r2 button
I'm on desktop connection remotein the windows Server Manager dialog box under the menu items: file Action display helpThere are icons and there are two green icons. one of them has a u turn arrow sign... That is to say the button refresh Now when yo
-
I'm trying to find documentation on the use of ISE to restrict access to an AppleTV. My first thought is to treat the AppleTV as a netwotk resource and implement strategies in this way. Any input is greatly appreciated -Eric