Dynamic selection list
Hi allI want to collect information about a feature, but according to the value of an attribute from entity level - I want to make the selection of the value of the attr - dynamic level entity.
i.e.
Study the following
Entity: the children
Relationship: the child
Entity-Attr: the child's name
Entity-Attr: the child's gender
Entity-Attr: the child's toy
-So if I add x 2 instance childChild Instance #1: "Tom", "Male", I would require his drop down list for a toy to be like "Action Man", "Spider Man" on the screen for the user to select
While:Child Instance #2: "Jenny", "Female", her drop down list for the child's toy would consist of: "Barbie", "Justin Bieber CD's"
Hope that makes senseSee you soon
Published by: user9015745 on August 23, 2011 03:00
You would not be able to ask sex and toy preferred on the same screen without a 'submit', unless you use javascript. Assuming that it is acceptable to ask the names of all the children and women on a screen (i.e. in collecting entities) and continue to ask questions about the favorite toy of each child on a separate screen, you can take advantage of the screen definitions and screen flow to achieve this without any programming.
Basically, you need to set the following:
-an entity collect the screen for children that you collect the name and gender of each child
-a 'male_toys' screen requesting favorite toy to the child and who uses a choice list that contains only the 'male' toys
-a 'female_toys' screen that asks favorite childhood toy and that specifies the list "female toys."
-define a global screen flow that has first collects 'children' is evolving into the "flow of child", then ends.
-define the workflow of the child to begin with a decision point based on the sex of the child which is progressing towards the male sex toys to screen if = 'male' or the female toys screen if = "female".
-Add the overall flow to the summary screen of the evaluation so that an interview is initiated by starting the overall throughput (you want to force a stream of screen to use to undertake the interview to make you progress in automatic screen based on the pursuit of a goal)
-Also to note: you probably want to shoot left alternative in the child_toy_male and child_toy_female so that it is clear what child screen wonders about the screens.
Tags: Oracle Applications
Similar Questions
-
Dynamic selection list: link to another page
Hello
Following the list of dynamic selection at the bottom of page "product.php" (www.dolls.com.sg)
< div id = "selectcat" >
< select name = "Catégories" >
<? PHP
{}
? >
< option value = "<?" PHP echo $row_rsCategories ["categoryName"]? > "<?" PHP if (!) () strcmp ($row_rsCategories ["categoryName"], $row_rsCategories ["categoryName"]))) {echo "selected = \"selected\"" ;}? "} > > <? PHP echo $row_rsCategories ["categoryName"]? > < / option >
<? PHP
} While ($row_rsCategories = mysql_fetch_assoc ($rsCategories));
$rows = mysql_num_rows ($rsCategories);
If ($rows > 0) {}
mysql_data_seek ($rsCategories, 0);
$row_rsCategories = mysql_fetch_assoc ($rsCategories);
}
? >
< / select >
My goal is, whenever a visitor clicks on a category in the drop down menu, it is transmitted to the respective page "categories.php".
How can I do?
Thank you
Helmut
Change your code to this:
In categories.php, use $_GET ['categories'] to filter the Recordset.
-
Problems with dynamic selection lists in IE7
I have another problem related to the last one I posted here: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=217 & threadid = 1385428
I have a list of dynamic selection populated by a SQL Server database.
I want to select all the items in the list if you have selected a particular item. The code I wrote works fine in Firefox, and I'm assuming that other browsers as well. It does everything not in IE and the specific test does not not in IE7.
I can't use the fix suggested for my last question, because this time I want all of the selected options and selectedIndex applies only to a single option.
Any ideas on what I can do to make it work in IE7?
Here is the code I use:
I have provided a solution to this question in another forum:
http://www.Tek-Tips.com/viewthread.cfm?QID=1495671&page=1
Thank you
Jesse -
dynamic selection list hangs with php
Hi all
I can't get a list of dynamic selection of work in dreamweaver. It completely crashes whenever I try to add to my page. I found someone else in the forum who had the same problem, but no one ever answered. I've tried several things, including putting just the dynamic record and select on its own page with no other code in this regard. He always breaks DW. I also tried this coding myself by making a listmenu and change it so that the value of the option equals a value PHP echo. It crashed too much here. Does anyone have a piece of code with a selection list dynamic work that uses a recordset that I could look at? This way I can see where I am going wrong. All I'm trying to do is to get a simple drop-down menu select list of employee names, so anyone can choose their name for advice. This is a table, a set of records 2 fields (first and last name).
Using DW CS3, php & MySQL, windows XP Pro
Any help would be really appreciated!
That's all! Thanks a lot for your help!
-
Dynamic selection tabular list
Hello, I am new to the PL/SQL and APEX.
I want to create the dynamic selection list in a table based on another column in the same tabular form. But lack me of expression stop.
Can someone tell me whats wrong with my code?
Behold, my code
SELECT ID, NILAI,
APEX_ITEM. SELECT_LIST_FROM_QUERY (7, NILAI,'SELECT V.MEANING AS DISPLAY,)
LOOKUP_CODE AS RETURN_V FROM apps.fnd_lookup_types_vl@SUCODEV T,
Apps.fnd_lookup_values_vl@SUCODEV V where T.lookup_type = V.lookup_type and v.attribute_category =' |' SCI_TYPE_SELEKSI' | "and V.ATTRIBUTE1 =' |" BADAN |) SELECT_LIST_NILAI
OF SCI_TABLE
v.attribute_category is the search category in the database
I want to make this dynamic selection list as V.ATTRIBUTE1 value is generated by another column named BADAN
I'm sorry for the bad explanation
I just edited my nickname of Lexover XD
Thank you
Post edited by: Lexover
Post edited by: Lexover
Hi guys, I found the error. Here's the correct code:
SELECT ID, NILAI,
APEX_ITEM. SELECT_LIST_FROM_QUERY (7, NILAI,'SELECT V.MEANING AS DISPLAY,)
LOOKUP_CODE AS RETURN_V FROM apps.fnd_lookup_types_vl@SUCODEV T,
Apps.fnd_lookup_values_vl@SUCODEV V where T.lookup_type = V.lookup_type and v.attribute_category = "SCI_TYPE_SELEKSI" and V.ATTRIBUTE1 =' | NILAI) SELECT_LIST_NILAI
OF SCI_TABLE
I put the apostrophe before | and the column name (parameter) and doble single quote in varchar where clause. Double quotation mark, 2 times the apostrophe. Easy to understand hope.
Thanks guys for the feedback.
Lexover
-
selection list dynamic default value
Hello world
I have a question about the dynamic selection lists.
I have a report of a table that displays records. Each record has different versions of data. So when you click on a folder you get to another page where you get some information on this record and where you can select the version of this information (using a selection list).
The selection list works very well and is set dynamically as follows:
Select distinct b.SID display_value,
return_value a.version_id
cn_pl_version a.,
cn_pl_std_peplanung b
WHERE a.version_ID = b.version_id AND
b.pe_id = "& P6_HELP_PRODET."
a.version_id desc order
My problem is that when I click on a folder that I always get the report filled with the oldest version of the current record, so I always choose the most recent version to the list manually. I always prefer to have the most recent version in the report.
The report query is:
Select
....
....
(select sum (stunden) in cn_pl_std_peplanung t02
where abt_id = '10'
and t02.pe_id = t1.pe_id
and t02.version_id = t1.version_id
and t02.idee_id = t1.idee_id) stunden_ir;
(select name from cn_pl_version u01
where u01.version_id = t1.version_id) Version
of cn_pl_std_peplanung t1, cn_pl_projektelemente z1, u1 cn_pl_version cn_pl_projektidee s1
where t1.version_id = ' & P6_VERSION_WAHL. »
and t1.pe_id = z1.pe_id
and z1.pe_id ='& P6_HELP_PRODET. »
Group of t1.pe_id, t1.version_id, t1.idee_id
' & P6_VERSION_WAHL.' is the element of the selection list
' & P6_HELP_PRODET.' is the ID of the current record
I don't know if you understand my problem, my English is not the best...
Thanks for any help!
PatrickHi Patrick,
What value choose it show list, when you create a branch to the page? That's the good?
If not, you must change your selection list, that the correct version is selected by default. You can set a 'default' value when you set the source of the element.Otherwise, you may configure a sample application to http://apex.oracle.com.
Best regards
Chrissy -
Asynchronous flash chart where update select list value changes
Hi devs,
I groped with flash graphics with dynamic when update select list point of changes in value.
First of all, I used the function of Denes Kubicek [http://htmldb.oracle.com/pls/otn/f?p=31517:229 | http://htmldb.oracle.com/pls/otn/f?p=31517:229:3039869356317498] update the value of the session from my dynamic selection list after change:
That has worked well. Then has been to change the update interval chart flash and:<script language="JavaScript" type="text/javascript"> function fnc_setItem (pItem) { var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=dummy',0); get.add(pItem,$x(pItem).value) gReturn = get.get(); get = null; } </script>
Home > Application Builder > application 150 > Page 1 > Flash chart attributes > update >
Asynchronous update = Yes
Update interval (seconds) = 5
My report is automatically updated every 5 seconds. But how can I make it work just with the change in the value of the selection list?
The function is used to refresh the report: apex_RefreshChart (1, '2258227549390282', ' de');
Patrick Wolf was a good example for her: [http://www.inside-oracle-apex.com/auto-refresh-flash-charts-in-apex-30/ | http://www.inside-oracle-apex.com/auto-refresh-flash-charts-in-apex-30/]
But I couldn't make it work properly.
Thanks in advance
TobiasHello Tobias,.
Having defined with function of the Dene session state, you can refresh the table to help:
apex_RefreshChart ($v ('pFlowStepId'), $v('Pxx_REGION_ID').substr (1), navigator.language);
PXX_REGION_ID is the ID of the region of the chart area. You can set that in the bottom of the region to help;
$s ("Pxx_REGION_ID", "#REGION_ID #");
See [example: http://apex.oracle.com/pls/otn/f?p=41715:29]
Greetings,
Roel
http://roelhartman.blogspot.com/
You can reward this response in marking it as useful or Correct ;-) -
Can not set a value by the executed dynamic action on the page element "selection list."
I created an agenda of the page 'list of selection' and I want to when I change a value in another element of the page set only 'screen '.
I created a dynamic action on the page element "selection list" for this.
These are the dynamic action attribute:
When:
======
Event: change
Selection type: point
Article: P29_PURCHASE_ORDER
Condition: No strings attached
Advanced:
========
Scope of the event: static
Identification:
==========
Action: Set
The ' Action Page when the changed value "attribute of the element of 'list of selection' = 'None', and when I run form the dynamic action run and set the value for once and do not update the value according to the change in the article"list of selection. "
Note: when I change the previous attribute of 'Redirect and set', dynamic action run and properly value, but the value was hidden soon
I want to value when the value of change of select list according to this change successfully.
Please, advice me,
Best regards
Mustafa Ezzat
Hello
you set the value of the 'Page elements to submit' to P29_PURCHASE_ORDER?
Then, the SQL statement would use the current selected value.
This is the help text says: "specify a list separated by commas of the elements of the page that will be submitted to the server and therefore available for use in your"SQL statement"," PL/SQL Expression"or"Body of the PL/SQL function".»
Kind regards
Erik-jan
-
Hi everyone, this should be so easy, and yet I'm stuck.
I have a form with a P110_VESSEL_ID element. This article is a list of selection. It is based on the query:
Select distinct v.vessel_name, v.vessel_id
of ships v, frequent_fishermen ff
where ff.dea_permit_id =: G_PERMIT_ID and
FF:vessel_id = v.vessel_id
UNION
Select v.vessel_name, v.vessel_id
of apex_collections v, vessels
where collection_name = "SUPVES_COLLECTION" and
a.C002 = v.vessel_id
If the user decides from the values in the selection list query, they can opt to SELECT all THE VALUES. This SELECT all VALUES is a TEXT of ITEM POST on P110_VESSEL_ID.
< a id = "popVessels" href = "#" > < font color = blue > select all < /a > ships
It all works very well.
The problem is that when the user selects a boat name = "UNKNOWN" and it is corresponding to the value of vessel_id, I want an ALERT to appear indicating that they should check that the boat is UNKNOWN and no one's any ship.
I created a dynamic action
event = change
Select type = item
Item = P110_VESSEL_ID
Real ACtion #1 is the ALERT.
Currently, I have no other logic, but can't even get this working. All thoughts. I also tried the SELECT TYPE = jQuery Selector = select [name = "P110_VESSEL_ID"], but that does not work either (although I am not sure if the value must be P110_VESSEL_ID or static VESSEL_ID name).
Any help is appreciated.
PS. the page is not submitted when the ship is changed. There are other data that should be in this region and others and many validations run when submit to submit would not be an option.
Thanks again,
Karen
Is (BOAT = UNKNOWN) a single value with a single vessel_id? If Yes and for example if the vessel_id is 99, then proceed as follows:
Add an expression "JavaScript" in your dynamic action.
In the Condition value, enter:
this.triggeringElement.value == "99"
-Jeff
And I agree with Nicolette, there is something wrong with some other DA who is at the origin of the DAs after that does not work.
-
Dynamic action in two selection list
Hi all
I created two select lists.one is parent of other child.
I can get the child list correctly from the article values parent lov cascading
For example: the company name of parent element values: x, y, z, etc.
x with 3 customers say a, b, c
There is no customer for y
z with 2 customers say e
now, I want to hide the element of the child when the parent having no child.
Now when I select 'y' for the example above, I would like to hide the child element.
How can I do?Hello
You can do the following:
1. create a hidden page element, say PX_HIDE_SHOW_FLG
2. create a dynamic Action of type 'Set value' on the element parent to update PX_HIDE_SHOW_FLG. You can choose the "value Type" as "body of the PL/SQL function. The code in the function must return "Y" or "n" based on logic (count the number of children under the selected parent). You can trigger this DA on 'change' of the parent element.
3. now, create another DA on PX_HIDE_SHOW_FLG to hide and show the child LOV article based on its value. For example, if value (of the page hidden item) = 'Y', and then hide, another show.Thank you
Rohit -
change the results of the report with the selection list using dynamic action
This is one of those situations where if I could understand the appropriate search terms to use, someone else must have asked this question in the past.
I have a report with a SQL query with a condition based on a list of selection on the same page. So I have a list of selection -: P177_FISCAL_YEAR
My request for my report is:
Select md_id, display_name, description
of media_tbl
where fiscal_year =: P177_FISCAL_YEAR
When a person makes a selection on the selection list (: P177_FISCAL_YEAR), I would like to report up-to-date without having to submit the page. I was hoping that I could do something like this using a dynamic action but have not found a way to do it.
Thanks in advance!
JohnCreate dynamic Action:
When
Event: change
Selection type: product (s)
Article (s): P177_FISCAL_YEAR
Condition: - unconditionally.Real Actions (add 2 real actions)
-the first is to load the value in session state so that the report can see.
Sequence: 5
Action: execute the PL/SQL Code
Code PL/SQL: null;
Items to submit page: P177_FISCAL_YEAR-the second to refresh the report
Sequence: 10
Action: Discount
Selection type: region
Region: -
Help with dynamic action and the selection list item
G ' Day Apex gurus.
I have problems trying to achieve to trigger the Help window from an element automatically select. A Help window is triggered when it is clicked on the label of an item, but my customer wants to be triguered automatically as soon as the user clicks to view the options in the select list.
I think I should be able to do with dynamic actions but I can't function.
I know when someone clicks on the label of the item selection list trigger this JavaScript
JavaScript:popupFieldHelp('277938589795252851','1545903379570909')
So I want to trigger the javascript also when the user click on the item selection list and pull down the options and for that I think that the dynamic action is the way to go, but I can't do things.
That's what I have to do:
I created a dynamic option as follows:
Name: test
Sequence: 30
Even: click
Selection type: product (s)
Article (s): P1_RATING <-a selection list item
Condtion: - no requirement.
Real Actions
Sequence: 10
Action: Run the JavaScript Code
Fires when the result of the event is: true
Fire on loading the page: checked
Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')
Thank you anyone who can tell me what I'm doing wrong here or bring a solution to my problem to trigger the Help window from an element automatically select.
Kind regards
CarlosHi Carlos,
I've set up a test case of exactly in the same way and it worked fine for me. I've created a page element called P1_DA_DEMO and added some values of the static selection list, then added a help text. I used the settings are lower, I suggest you try again, but also make sure that you have no other Javascript errors on the page. Use a tool like firebug to check.
Name: Action Dynamics demo
Sequence: 10
Even: click
Selection type: product (s)
Product (s): P1_DA_DEMO<- a="" selection="" list="">->
Condtion: - no requirement.Real Actions
Sequence: 10
Action: Run the JavaScript Code
Fires when the result of the event is: true
Fire on loading the page: unchecked
Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')Scope of the event set a Bind s.
Thank you
Paul
-
How to make a list of dynamic selection with time interval of 15 minutes
Hi all
I have a question. I need a selection list containing the time with 15 minute intervals from 08:00 until 16:00.
example 08:00
08:15
08:30
08:45
09:00
09:15
and so on until 16:00
Or values stored in a column of varchar type.
Can someone help me with this one please?
Best regards
CarolineYou can generate the entries in a dynamic way, as:
select to_char(trunc(sysdate)+8/24+(level-1)*1/96,'HH24:MI') period from dual connect by level <= 33
or if you want/need to use your stored values:
select display_column, return_value from table where display_column in ( select to_char(trunc(sysdate)+8/24+(level-1)*1/96,'HH24:MI') period from dual connect by level <= 33 )
-
Javascript-based dynamic action and display the value of (!) from the selection list
Hello
I'm not a jQuery guru (yet).
Can someone show me how to turn on or off an ITEM on a form based on the value display of a selection list (usually I have dynamic lists, so I don't 'know' even internal values)
I created a simple demo in which you can (if you want to) show me how it works.
Workspace: 6POOLRULES
User: demo01
Password: demo
Application: 30851 (Drone)
The idea is to
* Disable/hide the "Id other Description" If the ' Id Type (display value!) is 'Passport' or 'license '.
* activate/display the Description of the 'other' Id if the ' Id Type (display value!) is "other".
I think that it should be dynamic action based on javascript/jQuery. But what would this jQuery selector should look like?
Published by: bveoracle on March 29, 2012 07:28
Published by: bveoracle on March 29, 2012 07:30Hello
OK, I changed the dynamic action to use Jquery and get text from the value. The only thing I changed is in the section WHEN.
Enjoy.
-
Fetch value selection list to select the list using dynamic measurements
Hello
I have a select list 1 and select list 2
as I chooses a 1 based on selected value select list option, select list 2 options screens.
: Options P1_SELECT1
DISPLAY RETURN VALUE OF VALUE
D INTERIOR
INTERNATIONAL I HAVE
: P1_SELECT2 with dynamic statement options
Select NAME, ID from PRODUCT_MAS
where ADDL_FIELD1 =: P1_SELECT1
can I do this task using dynamic measurements?
If so how can I do this?You have even set a dynamic Action for this:
Set as Select list and property 'Cascading LOV Parent article (s)' set of P2_SELECT2 to P1_SELECT1 and you're done.
Maybe you are looking for
-
Satellite U300-11 q: don't dΘmarre without the battery
Hi all, I bought the model Satellite U300-11 q about a month ago, and I have the following problem: if I have it on current alternative, and I do not have the battery, it is dΘmarre! In fact, it loads the BIOS and just before it starts to load Window
-
Click with the right button on the photo to save the computer crashes
When I try to save an image from the internet I right click and save as. When finished my computer freezes and the only way is through the Task Manager. I ran my security software, and he says that nothing is there. I was able to do a week ago. why i
-
Internet Explorer... and other programs to stop responding
INTERNET EXPLORER, YAHOO MESSENGER AND OTHER PROGRAMS DO NOT RESPOND. FREEZ IT UP... CLICK OR SCROLL TO GET WORSE WITH THE WINDOW, HANGS, NOTHING THAT RESPONDED TO THE QUESTIONNAIRE AND HARD AT TURNED DOWN, LOGOFF... ETC. HOW CAN I SOLVE THIS PROBL
-
I have XP media edition. My grandson off all users, now I can't even in windows. What can I do?
-
No sound with Media player when you watch DVDs, s, but VLC works fine?
Help. I have some problems of disk drive.The first is that dvd movies will not play with sound on medial player (or real player, which I have now deleted) but on VLC. I downloaded about each pack codec out there, and none have corrected it so far. My