How to create a dependent list of values based on the relationship master detail
Hello
I'm on jdev 11.1.2.4.
1. I have a table main 'Reception' with the columns receipt_id and student_id (ReceiptVO)
2. as well as an array of details 'Receipt_Detail' with the columns receipt_id, course_id (ReceiptDetailVO)
(There are some othere columns in the two tables, but I've only mentioned those which is relevant to this example.)
3. the two tables are related with receipt_id.
I want to create a dependent class LOV that filter courses related to the student selected in the main table. (There is a student_course table that holds student_id, relationship of course_id, StudentCourseVO)
to do this, I have
1 created VO based on the student_course table
2 Add a view that filters based on the id of the student
3 assigned this VO to receipt_detail tables course_id
It comes
in the accessor receipt_details VO view, I do not show the ability to select the student_id of the main table (IE ReceiptVO). It only shows the columns in the ReceiptDetailVO.
Please can you help me?
Thank you
What you need in your ReceiptDetailVO is the StudentId of master ReceiptVO attribute.
To do this, you can:
1. for your ViewLink (between ReceiptVO and ReceiptDetailVO), you must generate the Source accessor:
In this way, in the VoRowImpl Java to ReceiptDetailVO class, you will get a way to access master ReceiptVO line (you can find a new method with the name that you gave the name of the accessor in the top of the dialog box)
2. then, in the ReceiptDetailVO, create Transient attribute, say, MasterStudentId. Access Java's VORowImpl class, within the get for this new attribute accessor method, use the previous step name accessor method to get the line main and finally master StudentId.
3. the rest is easy - use this new attribute transitional to filter LOV about the student teacher ID...
Tags: Java
Similar Questions
-
How to create table selectable line or not based on the value of the line
Hello.
JDeveloper 11.1.1.2
Is it possible to make a selectable table row or not based on a value in the line.
That is to say. lets say that the row contains a Boolean LOCKED = TRUE.
This line should not be selectable.
A line whose value LOCKED = FALSE should be selectable.
/ ErikErik,
No particular reason to disable a selection of lines for a particular line? If I'm an end user, I would be clicking on the same line of thought again and again my mouse does not ;) (call me dumb :)). How do you differentiate this line (using inlineStyle / styleClass) based on the value of line? In addition, you can disable the other buttons when a row with a particular value is selected (so that the user knows that the selected line is not treatable).
Arun-
-
APEX4: How to create a report whose data are based on the date of entry of the user fields
With the help of 4 Apex I create a report that allows the user to enter two dates and displays a report between the date range.
How can I do this?
Thank you.Go to Actions > filter in your IR and ther, you can create several conditions to filter your report.
Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
------------------------------------------------------------------- -
How to get a prompt to return a list of values based on a prompt
Hello
In the link below, I show the chain and the guest of the station.
The guest of the station must return a list of value based on the value I have insert for string.
If for example I have insert FS for the Four Seasons chain, what resort it must return only the hotels belonging to four seasons.
I tried as in the example with a variable, but not worked.
Any idea?
http://img163.imageshack.us/img163/4486/resortprompt.jpg
Thanks and greetings
GiulianoHello
Do you have values for the stations for the value of the selected channel. I assume that you have no station for the selcted string value values. Try to select values of chain of 5 or 10 and then check the value of the station. To force them to work there is no need to define any variable presentation.
Kind regards
SandeepPublished by: Teresa Sanchez on 10-Sep-2010 01:25
-
How to create a mailing list of group in Windows Mail
I created 2 groups for more than a year, but can not find a way to do it again. I opened "contacts" in windows mail, can not find 'create new group' anywhere.
Hello
These should contribute to a:
How to create e-mail contact groups in Windows Vista
http://www.vista4beginners.com/how-to-create-e-mail-contact-groups-in-Windows-VistaHow to create a mailing list with Windows Mail
http://www.ehow.com/how_4815283_mailing-list-using-Windows-mail.htmlCreate groups of contacts (mailing lists)
http://Windows.Microsoft.com/en-us/Windows-Vista/create-contact-groups-mailing-listsHow to create and use a Contact Group in Vista
http://www.Vistax64.com/tutorials/69738-contact-groups-Windows-mail.htmlI hope this helps.
Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.
-
creating a dynamic list of values
Hello
While I am trying to create a dynamic list of values on a table (table1) with h_id columns, the head_foot and the header. I gave the query to create the dynamic values as list
Select d, r header header
of g.fw_header_footer
order by 1
where d is the display value and r is the return value to get the error message
"1 error has occurred."
LOV query is not valid, a display and a return value is needed, the column names must be different. If your query contains a query online, the first CLAUSE in the SQL statement must not belong to the query online. »
Can someone please suggest me if am wrong.
Thanks in advanceHello
I suggest that you check the permissions of your application of the analysis of schema has on your g.fw_header_footer table.
It is a mistake to mislead, but I've just reproduced the same problem trying to select from a table that I didn't have SELECT permission.
Scott
-
Hello
With the help of Jdev 11.1.1.0.2, a search form is created according to a view critiria. One of the attributes in the search criteria should be a dropdownlist control with a list of values "N, O, S.
In Jdev 10.1.3 I was able to set up a selectOneChoice based on a fixed list. The fixed list values can be entered.
Is this possible in Jdev 11?
Thank you very much.
AnnieI still don't know your scenario, but this is the case if you have defined criteria of display and based on it to use af:query component to search and instead of input field you want to have the list based on static values box:
1. create the new object from view as a static list, create the attribute, set it as the primary key and define the list of static values
2. in the view object with your view criteria go to attributes, select only the one you used in view criteria and click on + to add the list of values
3. in the list of values Wizard Select ListData Source, attribute of the list and in the indications of the user interface, select attributes to displaynow when you run your page you will have the list of static values in the combobox as a value pick for research
Kind regards
Branislav
-
problem with list of value (LOV) in the BI Publisher.
I've created a report in the BI publisher with two parameters (level, accnum) and two list of value (LOV) for the menu to select from a drop-down list.
While crateing the settings I selected options: * 1) can select all and any value passed *.
but in the view when I select the option "ALL" in the list, its shows the following error message:
ORA-00933: SQL not correctly completed command.
But if I select a particular level and accnum is fine worikg.
I used the following query in the dataset;
Select ACCOUNT. ACCOUNT_NUM as ACCOUNT_NUM,
ACCOUNT. LAST_BILL_DTM as LAST_BILL_DTM,
ACCOUNT. Account_name as ACCOUNT_NAME,
ACCOUNTATTRIBUTES. DISTRICT_ID as DISTRICT_ID,
ACCOUNTATTRIBUTES. TIER as the LEVEL of
of GEN_OWNER. ACCOUNTATTRIBUTES ACCOUNTATTRIBUTES,
GEN_OWNER. ACCOUNT ACCOUNT
where to REPRESENT them. ACCOUNT_NUM = ACCOUNTATTRIBUTES. ACCOUNT_NUM
and ACCOUNTATTRIBUTES. LEVEL =: level
and ACCOUNTATTRIBUTES. ACCOUNT_NUM =: accnumand ACCOUNTATTRIBUTES.ACCOUNT_NUM in (:accnum)
use in the clause
-
How to create a rule of action to subtract from the Ips event log manager console express?
How to create a rule of action to subtract from the Ips event log manager express console?, some unknown has a guide?
Thank you.
Sent by Cisco Support technique iPad App
Hello
http://www.Cisco.com/en/us/products/sw/secursw/ps2113/products_tech_note09186a0080bc7910.shtml
HTH
Luis Silva
"If you need IDP (planning, design, implementation) assistance do not hesitate to contact us.
-
How to create a new project with other page with the new version of Muse layouts?
Hello
If someone would continue to operate as before with the inadmissible Muse version... is - this posible to have both versions installed? or how to create a new project with other page with the new version of Muse layouts?
Or how to download third party) 3 different configurations (desktop/tablet/mobile) under the same url with a clean result, like up yet with the Muse does not?Thanks for any help,
Patrick
Use the new version! What you want to achieve, will work! Go to the 'Page' menu and choose 'Add another Layout' and the missed buttons are in plan view.
-
How to create e-commerce site using adobe muse from the beginning to the end, please
How to create e-commerce site using adobe muse from the beginning to the end, please
Mylenium, why comment you on the forums of Muse? I've never seen a useful comment on these forums. You seem to just upset against Muse all the time.
in any case, definitely go with widgets Ecwid and J-26. They are the best.
-
How to create a form of relief with highlight on the edge, in 2015 of the Illustrator
I work in 2015 of the Illustrator. How to create a shape (3d) raised with highlighted on the edge, like this:
It will work as a form, not a button, so there is no need of different States. I looked at a few tutorials to create buttons, and they seemed much more complicated that I think you need to create a form like this.
-Stuart
Experience 3D bevel & emboss, front view and Tall-round bevel. Adjust the lighting you want. Then add a light shade.
Personally I have always found these bevel unsatisfactory effects, but you can produce similar results using carefully controlled mixtures
-
Calculate values based on the boxes are checked - for Dummies...
Hello and thank you all in advance for your help. I'm trying to calculate a value based on the boxes checked. Specifically, I would like to add a particular value $$ each CheckBox and if this box is checked, I want to add to the total rental value (see screenshot below):
As you can see in the screenshot that I have different areas that can be selected (first floor, court before, etc.), I want to assign a value to the checkbox of each region (and added value for others) and calculate a total in the "Balance of rental fees" less the deposit. I'm new with java and scripts but not know how to do it in an excel formula. I guess it's very different from what little I know of Java. Any help you can give me would be greatly appreciated.
Calculation options are in the text field. In this screen, you only need to set the value of exports to the amount this box represents.
-
VI to convert input signals NI 9402 in a RPM value, based on the frequency of the pulses
Hello
I'm looking for a VI convert an input signal NI 9402 in a RPM value, based on the frequency of the pulses. Is there such a thing that exists in the library of national instruments?
I run LAbview 2014 integrated control and monitoring on on a cRIO 9802 high performance integrated system with NEITHER 9402, 4 channels, 50 LV, LV TTL Module input/output digital, ultra high speed digital i/o for the cRIO module.
Any help would be greatly appreciated.
The easiest way is to use the FPGA to get the time between the edges of your pulse increase (shift registers to maintain the current situation and the time will be necessary). This will give you the period. If it's a single pulse per turn, then the number of laps is just 60/T, where T is the time in seconds.
-
Hi all
I need the values according to below 2logics in a single select query using instring and substring
1 values based on the following logic 'values after the first values of two '_' and before last '_' values '.
2 values based on the following logic 'values after the first values of two '_' and before last'-'values '.
EXM:
Entry: ABCD_EFGH_IJKLM - NOPQ_XYZ output: IJKLM - NOPQ
Entry:. ABCD_EFGH_IJKLM - NOPQ output:IJKLM
Thank you.
Check the following
WITH DATA1 AS
(SELECT "ABCD_EFGH_IJKLM - NOPQ_XYZ" double val)
UNION ALL
SELECT 'ABCD_EFGH_IJKLM - NOPQ' double val
)
SELECT SUBSTR (VAL, INSTR(VAL,'_',1,2) + 1, DECODE (BIGGER (INSTR (VAL, '_',-1, 1), INSTR(VAL,'-',-1,1)), INSTR (VAL,'-', - 1, 1), LENGTH (VAL) + 1, INSTR (VAL, '_',-1, 1))-(INSTR (VAL, '_', 1, 2) + 1))
OF DATA1;
Concerning
Salim
Maybe you are looking for
-
Error occurs after installation of Service Pack 3
Windows XP starts after installation of Service Pack 3 only in safe mode.What about this error, the machine doesn't turn after restoration (to an old restore point) very well, but in this case that I do not have Service Pack 3. Can I install updates
-
EVERYTIME I TRY TO DOWNLOAD ANYTHING THAT THIS EITHER, MOZILLA FIREFOX MSN MESSENGER MY COMPUTER SHUTS DOWN. NYONE CAN ME SAY WHY IS THIS?
-
on my module AIP-SSM-10 ASA5520 how I backup software (v5.0) IPS to my TFTP server? cause I need to reimage a testASA with this software IPS.
-
Question Smartphones blackBerry App World download
I was redirected so many times that my head spinning on this subject. I bought money Ascendo Personal Finance Manager at App World a few days ago and no registration key has been offered. The site software told me that I had to contact the support of
-
MX800 No. audio on HDMI 2
Hello I have a simple problem which does not make much sense, we must take a video and audio output of a MX800 so that we can record a conference and it is provide to be more difficult than expected. The firmware is TC7.3.4 and we find that no matter