Read more than one attribute from list of values record

Hi,
I am using Jdev 11.1.1.3.0.
I have the following situation,
have defined a read only view (schools information) which is a list of values for schools information ( schoolId, school name and school code) , I have to execute Query for that view as an Invoke Action in the executable s of the page,
I need three attributes (A, B, C) in another view (name it student's school) to be set to the school information corresponding to a school chosen from a SelectOneChoice List
I could not define the schools information as LOV for the attributes in the student's school, as I have to execute it in the executable s,
I have an Iterator for the schools Information on the page and, bound the attribute A (from the student's school) SelectOneChoice as list to the school name (from school Information) , and then tried to read the current row of the schools Information Iterator like this inside a bean:
   Row  tempRow = getIteratorBinding("CmnLookupPrevSchoolRegView1Iterator").getCurrentRow();
   currStdPrevSchoolRow.setAttribute("B", tempRow.getAttribute("SchoolId"));
   currStdPrevSchoolRow.setAttribute("C", tempRow.getAttribute("SchoolCode"));but referring to the data saved in the DB, the values stored for the attributes B and C are not corresponding to the chosen school name , but corresponding to the first row of the iterator. ( not the current chosen)
is there any suggestions, to have another approach to connect all the three attributes to the corresponding chosen values.
or maybe it is just some properties for the Iterators,
thanks in advance
best regards,

Hi,
Have a look here: http://blogs.oracle.com/jdevotnharvest/2010/12/reading_the_selected_value_of_an_adf_bound_select_list_in_java.html
If you read from a list binding then you get the row value from there as well - not from the iterator as lists don't change the current row
Frank

Similar Messages

  • How can I select more than one song from the search results?

    I want to create playlists based on certain words in the song title. For example, I may want to create a playlist of all my songs with LOVE in the title.
    Doing the search is easy, but I can't select more than one song at a time. Is there any way in iTunes 12 for Windows to do this? I found an answer in iTunes for Mac, and it basically says to "un-check "Search Entire Library." " but I don't see that option in iTunes for Windows.
    Here is the link to that question: how can i select more than one song from drop down search bar
    I hope some Windows user can help me out.

    Found the "Search Entire Library" option - click on the small (VERY small for my eyesight) down arrow next to the magnifying glass. Also need to select "Filter by: Songs", and then the songs in the main window show the results.
    I'm going to leave this up on the board because 1) in case someone else has this question, and 2) I don't know how to delete it anyway.

  • How can i transfer more than one file from server to client

    Hi,
    our requirement is transfer more than one files from server to client using the
    webutil_file_transfer.as_to_client_with_progress.One file transfer is already working in our system.If anybody know the solution please inform
    regards
    mat

    just an idea ...
    for this purpose let us put aside security concerns and other potential problems....
    -- Get the content of a server directory with Filter and create zip file
    1) create a class that implements java.io.FilenameFilter ...
    2) define accept() method ...
    3) call File.list() with the filter as a parameter. The returned array of strings will have all the names that passed through the accept() filter
    4) use java.util.Zip to create ZIP file on the server side
    -- I think it is better to create this functionality as a separate Java class, put it in required folder and after it
    -- use Forms->Program->"Import Java class" to create pl/sql wrappers, than to create wrappers for all classes and code in pl/sql
    5) use webutil to transfer file on the client
    6) use Java on client side to unzip transferred file
    if you think this is not too complicated, you should try ...
    Regards,
    Vladimir

  • Since downloading the iOS on my iPad, I cannot download more than one pdf from mail to iBooks.  I have to shut down y iPad and start again.  Any suggestions?

    Since downloading iOS on my new iPad, I cannot downlaod more than one pdf from mail into iBooks.  I have to shut down my iPad and restart it to save a second pdf. Wasn't a problem with the old operating system.  Any suggestions?

    It seems that I have solved my issue by performing a full factory reset (erasing all content, something which I had hoped to avoid) restoring from an iCloud backup did not alleviate the issue, I had to set up as a new iPad.
    Hopefully anyone else else who has this issue in the future will be able to find this.

  • How to email more than one photo from camera roll

    How do e-mail more than one photo from the camera roll at a time?

    Go to the camera roll, open the thumbnails, click on the arrow in the top right, select up to 5 photos, click on share in the top left and select email.

  • How to delete more than one workbook from command line

    Hi, I'd like to delete more than one workbook from command line:
    The following syntax, it doesn't work....but I followed the manual instructions:
    dis51adm.exe /connect eul/eul@uatdb /delete /workbook "ALE_TEST_1, ALE_TEST_2" /eul eul /log D:\Ale\delete.log
    where:
    eul/eul@uatdb: is the db’s schema/user where the EUL is installed;
    /delete "ALE_TEST_1, ALE_TEST_2": is the command to delete the workbooks, specified inside the “” (with the relative path)
    /log D:\Ale\delete.log: is the command to write a log’s file named “delete.log” to track the action     
    The log file says:
    22/4/2008 4:00:26 μμ
    dis51adm.exe /connect /delete /workbook ALE_TEST_1, ALE_TEST_2 /eul eul /log D:\Ale\delete.log
    Document ALE_TEST_1, ALE_TEST_2 not found in EUL.
    Internal EUL Error: ObjectNotFound - Can't find EUL element
    There are 0 eul elements to be deleted.
    Completed deleting eul elements.
    22/4/2008 4:00:29 μμ
    Anyone can tell me how is the right syntax ?
    Thanks in advance
    Alex

    Hi Rod
    I was coming to that conclusion myself but wanted to wait until the other avenues had been exhausted first - aka making sure of the workbook names.
    I checked through all of the command line documentation and read nothing which clearly indicated that only one workbook could be processed at a time, other than the fact that the syntax says workbook and not workbooks, which could be a big clue.
    I think you are right though in that it has to be one at a time, which would be a pain.
    Best wishes
    Michael

  • Hello! I have in my home 2 iMac, 2 iPad, 2 iPhone, and 1 air base extreme. I don't succeed to connect more than one divice from similar type. I tried everything what I knew. I build another network, etc...

    Hello! I have in my home 2 iMac, 2 iPad, 2 iPhone, and 1 air base extreme. I don't succeed to connect more than one divice from similar type. I tried everything what I knew. I build another network, etc...
    So only one imac, only one ipad..and so on simultain.
    More over, all the divices are conect through wifi to air base but are not receiveing internet as i told above.
    I need to disconnect one device to have internet on the second one from the same type!
    Could somebody help me?
    Many Thnaks,
    dan

    If your network configuration is:
    Cable modem > (Ethernet cable) > [WAN] AEBS > (wireless) > Macs, then
    AirPort Extreme Base Station Setup (AEBS) w/High-Speed Cable Modem
    Modem/Router Power ReCycling
    - Power-off the Cable modem, AEBS, & computer(s). (If possible, leave the modem off overnight.)
    - Power-on the Cable modem; Wait at least 30 minutes.
    - Power-on the AEBS; Wait at least 5 minutes.
    - Power-on the computer(s)
    Perform a "hard" reset of the AEBS.
    - (ref: http://docs.info.apple.com/article.html?artnum=107451)
    Setup the AEBS
    With the network components powered down, set up the AEBS, using the AirPort Admin Utility, connect your computer directly (using an Ethernet cable) to the LAN port of the AEBS, and then, try these settings:
    AirPort tab
    - Base Station Name: <whatever you wish or use the default>
    - AirPort Network Name: <whatever you wish or use the default>
    - Create a closed network (unchecked)
    - Wireless Security: Not enabled
    - Channel: Automatic
    - Mode: 802.11b/g Compatible
    Internet tab
    - Connect Using: Ethernet
    - Configure: Using DHCP
    - WAN Ethernet Port: Automatic
    Network tab
    - Distribute IP addresses (checked)
    - Share a single IP address (using DHCP & NAT) (enabled)
    Once you verified that you can get Internet access for all of your computers, you should secure your wireless network. To do so, I suggest that you make these changes:
    AirPort tab (optional)
    - Create a closed network (checked)
    Change Wireless Security
    - Wireless Security: WPA Personal
    Base Station Options - WAN Ethernet Port
    - Enable SNMP Access (unchecked)
    - Enable Remote Configuration (unchecked)
    - Enable Remote Printer Access (unchecked)
    Wireless Options
    - Transmitter Power: 10%
    Access Control tab (optional)
    - + <add the computer(s) that will access this wireless network>

  • When I read a pdf document using Safari I'm unable to read more than one page of a file. A padlock icon is locked on the tab. Please help.

    When I read a pdf document using Safari on my IPad  I'm unable to read more than one page of a file. A padlock icon is locked on the tab. Please help.

    Hi snoreaustralia,
    It sounds like you just need to associate the PDF filename extension with Acrobat, rather than Preview. Please see this document from the Microsoft Help for instructions on choosing the default program for opening a particular file type (in your case, PDF): Change which programs Windows uses by default - Windows Help
    Best,
    Sara

  • Can you print more than one copy from eprint.

    Does anyone know how to print more than one copy from eprint?

    Hi JJSS,
    Currently, the solution only offers one copy. If you need to print multiple copies, the workaround is to send the email multiple times.
    I work for HP.

  • How do you attach/email more than one document from the pages app?

    How do you send more than one document from the pages app on an iPad?

    This is entirely frustrating and I have yet to find an answer for this question even though people have been asking it on the internet for over a year!
    I am relatively new to apple and I was considering staying with them for my next iphone because of my apps, but after paying for this app and discovering I can't email more than one document "page" at a time? This makes no sense. Please fix this apple, I'd like to say you have replaced my tablet PC for home-office work but now I am reconsidering...

  • How to restrict more than one delivery from one sales order.

    Hi Guys,
    We have a requirement that is, system should not allow more than one delivery from one sales order no even if when there is some line item still to be delivered.
    We want only one delivery for one sales order and rest of line items should be treated as rejected.
    Kindly help
    Thanks in advance,
    Balu

    Hi MP,
    Its also not working as we have the requirement is that once sales order is saved and one delivery is created then again if we are adding some more item inthe same sales order then system should not allow to create delivery document as one delivery already created.
    Thanks,
    Balu.
    Edited by: Balu Sajja on Aug 30, 2010 1:29 PM

  • Can I change more than one photo from color to black and white at one time?

    can I change more than one photo from color to black and white at one time?

    Check out iPhoto Batch Enhancer
    http://www.feroxsoft.com/ibe/index.php.en
    Regards
    TD

  • Can I manage more than one iTouch from one PC?

    A family member has an iTouch managed with iTunes on PC. Another family member would like an iTouch but does not have a computer.
    Can one manage more than one iTouch from one PC? How? Does one install separate instances of iTunes somehow on the PC for each device?
    There is also the desire to have separate Apple Store accounts for each device. We don't what synced devices.

    *How to use multiple iPods with one computer*
    The Apple support document How to use multiple iPods with one computer suggests a number of ways. I use method two (Sync with selected playlists) with a slight twist. Rather than regular playlists I set the grouping field to indicate which users should receive which tracks and create smart playlists based on the content of this field.
    e.g.
    "Alice's Tracks" is "Grouping contains Alice" + "Kind contains audio"
    "Bob's Videos" is "Grouping contains Bob" + "Kind does not contain audio"
    Tracks that both Alice & Bob want on their iPods have the grouping set to "Alice/Bob"
    etc.
    I currently manage our family's five iPods using this system, each getting a different selection to suit their tastes and the capacity of their iPod. An advantage of using the grouping field is that it is stored in file tags (for non-wav audio files anyway) so that it is relatively easy to recreate the playlists should the iTunes library get trashed. Also useful if you move files about manually as playlist membership is preserved when you delete & re-import the tracks.
    tt2

  • Simultaneously read more than one input and generate output

    Is it possible To simultaneously read more than one input and generate outputs depending on these inputs? If this isn't possible what is the best way to go about making some sort of timed loop that will read an input, read the next input, decide whether or not to output and so on. Hope someone can help. Thanks.Message Edited by Esmith13 on 05-25-2005 01:36 PM

    Hi,
    You should look at the synchronized examples for analog input and output that can be found in the example finder under:
    Help>>Find Examples>>Hardware Input and Output>>DAQmx>>Synchronization>>Multi-Function
    These will get you started to being able to handle multiple tasks at the same time.
    I hope this helps. Have a Great Day!
    George

  • Crystal Report - More than one table from MySql

    Hello, I am in need of help big time.
    I have am using Visual Studio 2010 and Crystal Report 10.
    The problem that I am incounting is that I am unable to retreive data from more than one table from a MySql database. I have been stuck on this for too long and need to hjump the hurdle.
    I am using a MySql connection string, a dataset and a crystal report which is based on the dataset.
    The main error that I am having is, the browser opens and a form appears saying "The report you requetsed requires further information" With the Server name: DataSetPropertiesDetials, while the User name and Password fields are then enabled.
    I am guessing I am missing something in my code.
    When I retreive data from one table the report is fine, but when I try to use more than one table it throws the error.
    My Code is below and also attached:
    Imports System.Data.SqlClient
    Imports System.Configuration
    Imports MySql.Data.MySqlClient
    Imports CrystalDecisions.ReportSource
    Imports CrystalDecisions.Web
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Public Class _Default
    Inherits System.Web.UI.Page
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Dim con As MySqlConnection
    Dim rpt As New CrystalReport3()
    Dim myReport As New ReportDocument
    Dim myData As New DataSet
    Dim cmd As New MySqlCommand
    Dim cmdUser, cmdProperty, cmdBranch As New MySqlCommand
    Dim daBranch, daProperty, daUser As New MySqlDataAdapter
    con = New MySqlConnection()
    'Connection String
    con.ConnectionString = "Server=****;Database=***;UID=***;Password=****"
    Try
    con.Open()
    cmdBranch.CommandText = "SELECT branch FROM tblbranch"
    cmdBranch.Connection = con
    daBranch.SelectCommand = cmdBranch
    daBranch.Fill(myData)
    cmdProperty.CommandText = "SELECT ref, keys_held, key_no, keys_out, no_name, address_line1, address_line2,key_label FROM tblproperty"
    cmdProperty.Connection = con
    daProperty.SelectCommand = cmdProperty
    daProperty.Fill(myData)
    cmdUser.CommandText = "SELECT known_name FROM tbluser"
    cmdUser.Connection = con
    daUser.SelectCommand = cmdUser
    daUser.Fill(myData)
    myReport.Load("REPORT LOCATION")
    myReport.SetDataSource(myData)
    myReport.Database.Tables(0).SetDataSource(myData.Tables(0))
    CrystalReportViewer1.ReportSource = myReport '
    Catch myerror As MySqlException
    MsgBox(myerror.Message)
    End Try
    End Sub
    End Class

    Hi, 
    You have 3 SQL commands but you are calling SetDataSource only once.  You need to look through for each of the SQL Commands. 
    Good luck,
    Brian

Maybe you are looking for