Can anyone help me Select one choice [Attn to Frank][Solve]

Hi I am doing dependent list boxes and have followed the steps of Frank in his tutorial about dependent list boxes. I am using EJB 3.0.
My problem is as follows when i select the first combo box and select a value. the second list is populated with the values depending on the first combo box.
Bu when I select a value in the second list that I get the following errors......
Feb 26, 2008 12:57:53 PM com.sun.faces.lifecycle.ProcessValidationsPhase execute
SEVERE: SelectOne submittedValue's index 1 is out of bounds. It should be between 0 and -1
java.lang.IndexOutOfBoundsException: SelectOne submittedValue's index 1 is out of bounds. It should be between 0 and -1
     at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer.__getIndex(SimpleSelectOneRenderer.java:347)
     at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer._convertIndexedSubmittedValue(SimpleSelectOneRenderer.java:189)
     at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer.getConvertedValue(SimpleSelectOneRenderer.java:157)
     at oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.getConvertedValue(InputLabelAndMessageRenderer.java:42)
     at oracle.adf.view.faces.component.UIXEditableValue.getConvertedValue(UIXEditableValue.java:455)
     at oracle.adf.view.faces.component.UIXEditableValue.validate(UIXEditableValue.java:198)
     at oracle.adf.view.faces.component.UIXEditableValue._executeValidate(UIXEditableValue.java:522)
     at oracle.adf.view.faces.component.UIXEditableValue.processValidators(UIXEditableValue.java:302)
     at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)
     at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)
     at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)
     at javax.faces.component.UIForm.processValidators(UIForm.java:190)
     at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)
     at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)
     at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)
     at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)
     at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)
     at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)
     at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:932)
     at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:362)
     at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:98)
     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:231)
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:200)
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:122)
     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:106)
     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
     at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
Thank you four your kind considerations
Regards
Lutchumaya
Message was edited by:
Lutchumaya

Thanks Frank for your reply. But I am not using the version 11 am still on the version 10.1.3.xxxx .
Yeah the problem is as follows:-
When i select the value from the second list the it execute the query to get the task for this project with projectId to null now ...
Why the first time it retrieve the tasks for this project but when i select a value from the second list it reexecute the query this time with projectId null also when i commit it take the default value for the task when the form is loaded.
Why is this so ... I can't move on with it ... Please help me Frank am stuck with this more than 2 weeks now.
Regards
Lutchumaya

Similar Messages

  • I'm wondering how to display "bullets" from the bottom to the top (last to first) in a slideshow.  Can anyone help?

    I'm wondering how to display "bullets" from the bottom to the top (last to first) in a slideshow.  Can anyone help?

    Select the set of bullets. Go to the "Build" panel of the Inspector. Choose "Build In". Choose your effect. Select "By Bullet Group" under delivery.
    Be sure to experiment with the various options.

  • How to bind 2 ADF Select One Choice objects to work as a relation

    Greetings,
    im new to Jdeveloper, i got used to Microsoft Visual Studio (regarding bindings) and im lost here.
    So here what im trying to do:
    I have 2 tables in my database (Cities & States),
    i am creating 1 view object for each so i can link them to "select one choice" objects. The first object, should show ALL cities (that part is done),
    but when i choose a city from that object, the second object should show only the corresponding states of that city. I managed to do
    that, using ADF Form, simple by clicking navigation buttons, and what ever is on the city list, the correct states are shown in the second object.
    My goal here is, instead of navigating with buttons (for the city object), and then choose states from the second object as a list, i want also my city
    object to be a "select one choice" object, so both will be a drop down list, and not navigating to all cities until i find the one im searching for.
    I try that but when i choose a city from city object, the second object is not show the corresponding states but keep showing all the states that exists in my country.
    I don't want to use java beans for this but just adf bindings.
    Can you assist me please?

    My characters are greeklish (greek, using english characters, ill try to explain)
    http://prntscr.com/1cfvd0       (Data Control View)
    NomarxiaView3 (Cities)
    CodeNomoy (state's id)
    Perigrafy (city's name)
    PoleisView4 (States)
    CodeNomarxias(city's id)
    Perigrafy (state's name)
    http://prntscr.com/1cfwe4      (the page)    
    Perigrafy's settings      http://prntscr.com/1cfwku    
    CodeNomy's settings      http://prntscr.com/1cfwok    
    make not PoleisView4 inside of Nomarxia (cities), so thats the relationship i use for states.
    *A small update, im trying different combos for partialTrigger or in general anything so i can figure out my self whats the problem of not refreshing the 2nd object,
    and i noticed most of the cases im getting this warning "<FacesCtrlListBinding> <getInputValue> ADFv: Could not find selected item matching value 1 of type: java.lang.String in the list-of-values."
    looks like whatever i choose from the list of cities, it keep looking of value 1 (keep in mind value 1, do not have a state relation, only half of my list currently have states).
    That means the problem is not refreshing the 2nd object (atleast for now), but refreshing its own id

  • Hi can anyone help with this! I upgraded my PC and when I plug my iphone in itunes loads up with all my daughters music instead of mine. How do I make it so only my account appears?

    Hi, can anyone help with this one. I recently upgraded my computer and downloaded itunes again. Now when I plug in my iphone my daughters account comes up instead of mine???

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • My iPhone won't sync at all. can anyone help?

    I try syncing my iPhone but nothing changes. Can  anyone help?

    I had this problem and was solved by following "dantewashere" advice:
    https://discussions.apple.com/message/15668169#15668169

  • Cannot get incoming mail on my ipad since upgrading. Can anyone help?

    I cannot get incoming mail on my ipad since upgrading
    . Can anyone help?

    Thank you so much. This solved my problem in seconds after hours of trying other ways to get it Sorted. Many, many thanks.

  • I want to change my primary e-mail address that I use with Apple ID - help guide says Select Edit next to "Apple ID and Primary Email Address." But there is no 'edit' on that section there is on every other but not that one. Can anyone help?

    I want to change my primary e-mail address that I use with Apple ID - help guide says Select Edit next to “Apple ID and Primary Email Address.” But there is no 'edit' on that section there is on every other but not that one. Can anyone help?

    You can create an alias @icloud.com email address within your current account that will receive email in your current iCloud inbox (see http://help.apple.com/icloud/#/mm6b1a490a).  (@me.com addresses are no longer available as new addresses.)  Just be aware that you cannot use an alias address later to create a new iCloud account or move it to a different account.
    Also, even if you created a new iCloud account with a new ID, your existing purchases would not be lost.  They are permanently tied to the original ID you used to purchase them.  You can also continue to use the existing ID for the iTunes store; it does not need to be the same as the ID you use for iCloud.

  • Hi, I forgot my user password mac 10.9.4 I don't need it to log in but i need it to make changes, etc. It says a password hasn't been set for this account but it still asks for one when i click on the lock icon. can anyone help me? thx!

    Hi, I forgot my user password mac 10.9.4 I don't need it to log in but i need it to make changes, etc. It says a password hasn't been set for this account but it still asks for one when i click on the lock icon. can anyone help me? thx!

    This is a little confusing since you say you have forgotten your password and then the system says you have not entered a password.  Even with an Admin account you must have a password to install software.
    If you are using Mac OS X 10.7 or above, you can change the admin password by restarting holding the Command and R keys, from the menu bar select Utilities, then Terminal.  When the Terminal window opens, at the cursor type exactly:
    resetpassword
    and press Enter.  When the Reset Password window opens, select the internal hard drive, and then the user account.  Type a new password twice, leave the Hint blank, and then Save.  Accept the next dialog that opens, and at the bottom of the Reset Password window agree to resetting the home directory permissions.
    Quit the Reset Password window, go to the apple left side of the menu bar, Restart.
    And you have a new password for your account.

  • File must be saved as a copy of this selection? can anyone help?

    ok so im on ps cs4 and all is well, i have been saving files as .png all day long and suddenly it stops allowing me to save as jpg,png and others as well, "File must be saved as a copy of this selection" is the message i got at the bottom of the screen. Can anyone help solve this problem?

    Did you change the bit depth?  Did you add one or more layers?  Did you add one or more channels?
    Whenever there's something in the image that cannot be stored because of a limitation of the output format (e.g., multiple layers or 16 bit per channel color and Save-As JPEG), Save As Copy will be selected by default.
    -Noel

  • Hey everybody... I have an image that I would like to produce multiple images on the same page ...same image just 25 times on one page can anyone help me?

    hello everyboby...I am have a difficult time trying to take one image and reproduce it 25 times on the same page......can anyone help me?

    You certainly are not following my work flow - that is the info window in the main iPhoto window
    I said (steps numbers for ease of following my work flow)
    1 - Simply select the photo and
    2 - print,
    3 - select the printer,
    4 - Select the paper size and
    5 - select a print size (keep the image ratio in mind so you do not get unwanted cropping)  that will fit the required number of photos on the page with small borders - you have to do the math - and
    6 - if the preview does not show multiples of the same photo click customize,
    6 a - click settings and
    6 b - select multiples of the same photo on a page -
    the preview will reflect this selection - and
    7 - print
    Nothing about getting info for the photo in the iPhoto window
    LN

  • HT1338 I have a macbook Pro i7 mid november 2010. I am wondering if i can exchange my notebook with the latest one. Can anyone help me out with this query please.

    I have a macbook Pro i7 mid november 2010. I am wondering if i can exchange my notebook with the latest one. Can anyone help me out with this query please.

    You can sell your existing computer using eBay, Craigslist or the venue of your choice. You could then use the proceeds to purchase a new computer.

  • I changed my password and used the new computer, next time I tried to log in it wouldn't accept the password. I tried the old one as well but that doesn't work either. Can anyone help?

    I changed my password and used the new computer, next time I tried to log in it wouldn't accept the password. I tried the old one as well but that doesn't work either. Can anyone help?

    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    When the menubar appears select Terminal from the Utilities menu. Enter resetpassword at the prompt and press RETURN. Follow instructions in the dialog window that will appear.
    Or see Reset a Mac OS X 10.7 Lion Password and OS X Lion- Apple ID can be used to reset your user account password.
    Be sure to open Keychain Access and repair the keychain:
    Assuming that you are using a recent build of OS X, go to /Applications/Utilities and launch the app called Keychain Access. Go to the Window pulldown menu and select "Keychain First Aid". Enter your password, set the radio button to "Repair", and click "Start".

  • Can anyone help? Need to collect 4 or more pdf-files into one file

    Hi,
    I regurarly need to mail pdf-files. I'm searching an app or program that can collect 4 or more different pdf-files into one file. So I don't need to send them all apart.
    Can anyone help me out?
    Thanx!
    Theo

    Open Preview, open the PDFs you want to combine, select View/Show Thumbnail, drag the PDFs, you want to combine to the first PDF, then Export as PDF.
    Preview Help

  • My iMac 24 can no longer be paired with the keyboard; it doesn't recognise any keyboard at boot up, even the one it is paired with. Can anyone help, please?

    My iMac 24 can no longer be paired with the keyboard; it doesn't recognise any keyboard at boot up, even the one it is paired with. Can anyone help, please?
    Thank. Simon

    Brian - The batteries are fine and there has only every been one keyboard paired with it. We have tried my MacPro keyboard as well, and it will not even recognise that there is a discoverable keyboard nearby.
    Thanks, Simon

  • I am trying to register for my one to one,can anyone help?

    I Bought a new iMac on the 11th august and it's still in the box. I paid for a one to one but I am unable to register for it to go and have my old computer documents transferred  to the new one, if it stays in the box any longer I may as well take it back. Can anyone help me with this.thanks.

    You also have 90 days of free AppleCare telephone support, you can call them and they can help you through this problem. Please click the link below to find the number in your country.
    Contact Apple for support and service

Maybe you are looking for