SelectOne index out of bounds
458700Jan 13 2006 — edited Jun 28 2010Here is my error:
java.lang.IndexOutOfBoundsException: SelectOne submittedValue's index 2 is out of bounds. It should be between 0 and 0
What I'm trying to do:
There are 2 SelectOneChoice Lists that are populated dynamically with by the bean of a selectItems tag.
I'm using adf faces 19
1)
<af:selectOneChoice binding="#{backing_FileManage.ddlTopic}" id="ddlTopic"
immediate="true" simple="true" autoSubmit="true">
<f:selectItems id="fill_TopicDdl" value="#{backing_FileManage.fill_TopicDdl}"/>
</af:selectOneChoice>
2)
<af:selectOneChoice binding="#{backing_FileManage.ddlCategory}" simple="true"
id="ddlCategory" partialTriggers="ddlTopic" autoSubmit="true">
<f:selectItems id="fill_CategoryDdl" value="{backing_FileManage.fill_CategoryDdl}"/>
</af:selectOneChoice>
(1) triggers (2) which is filled by the submitted value from (1). This all works fine. When you select an item in (2) but then want to switch the value in (1), i get the above error. I've checked all the data and fill Items and they all seem to be changing with the data. I'm completely stumped as to whether this is a bug or not.
any help at all would be greatly appreciated.
thanks in advance,
Allen