ADF Dependent select one choice list

hi all
i have two lists in my page, and the second one takes value from the first, but it is not working, the second list is empty always whatever i select in the first one.
i have searched many threads and it is not working. i also did the steps in the page http://www.oracle.com/technology/obe/obe11jdev/11/adfbc_new_features/adfbc.html#t2
this what i have did in details:
first list : LevelComboVO
select distinct group_level from mrcps_group_link
second list: GroupComboVO
select large_group_seq, group_level, symbol
from mrcps_group_link
where group_level = :selectedLevel
then i made a bind variable for the second list GroupComboVO named selectedLevel
for the first list LevelComboVO i made the following:
press plus on the ListOfValues:GroupLevel and for the list data source i have made new one for GroupComboVO and choosen the list attribute groupLevel and for ui hent i chosed groupLevel
then i have tested the AM but no data returned for GroupComboVO
please help

first i have done the 2 view objects and the corresponding two select one choice list
for the first list i have made a managed bean for valueChangedListener -- > #{GrouplLevelBean.passLevel}
and i have put code as you told me :
package mrcps.view;
import javax.faces.context.FacesContext;
import javax.faces.event.ValueChangeEvent;
import oracle.adf.model.binding.DCBindingContainer;
import oracle.adf.model.binding.DCIteratorBinding;
import oracle.jbo.ViewObject;
public class GrouplLevelBean {
public GrouplLevelBean() {
public void passLevel(ValueChangeEvent valueChangeEvent) {
// Add event code here...
DCIteratorBinding testListIter1 = getItrtBindings("GroupComboVOObj1Iterator");
ViewObject vo1 = testListIter1.getViewObject();
vo1.setNamedWhereClauseParam("selectedLevel", valueChangeEvent);
vo1.executeQuery();
getItrtBindings( is giving me a red underline indication that method not found
Edited by: user604057 on Apr 3, 2009 3:27 PM

Similar Messages

  • ADF web select one choice list return value

    hi
    how can i make a choice list that displays a value but return another value
    and then use it as a parameter in a method for a button
    my problem is how to return another value to the button
    thanks

    Hi,
    After creating the selectOneChoice based on the steps you followed, you will need to follow up with the steps below.
    1) Open up your Page Definition file. In the Structure panel, right click on bindings --> Insert inside bindings --> Generic bindings --> attributeValues.
    2) Under Data Source, select your iterator value used to bind the selectOneChoice component. The attribute should be your value ID (example: productId) that you want to be returned by selecting the selectOneChoice component.
    In the backing bean, you get the actual value of the selected item in the list in step #2 by resolving the expression (example) #{bindings.productId.inputValue}.
    Regards,
    Chan Kelwin

  • Problem while creating row with dependent select one choice in adf  table

    Iam having independent and dependent select one choice in a ROW in adf af:table
    unable to insert more than one row with dependent select one choice using create insert in adf table.
    Able to add more rows in UI af:table but ,ignoring previous rows (select one choice values) and only latest current row values is getting inserted to the database.
    Following is the code used to create row and for pointing to the current row
    public void addRowOnSecSettings(){
    SecurityGroupSettingsVOImpl SecGroupSetVO =(SecurityGroupSettingsVOImpl) this.getSecurityGroupSettingsVO1();
    try{
    int rowCount = SecGroupSetVO.getRowCount();
    SecurityGroupSettingsVORowImpl SecGroupSetRow =
    (SecurityGroupSettingsVORowImpl)SecGroupSetVO.createRow();
    SecGroupSetRow.setNewRowState(Row.STATUS_INITIALIZED);
    SecGroupSetVO.insertRowAtRangeIndex(rowCount, SecGroupSetRow);
    SecGroupSetVO.setCurrentRowAtRangeIndex(rowCount);
    SecGroupSetVO.setCurrentRow(SecGroupSetRow);
    } catch (Exception e) {
    e.printStackTrace();
    Regards,
    Bhagavan

    as it is dependent select one choice ,have already put auto submit="true".but no chance ,
    if i add two rows vo rowiterator showing count 2 but only current row select onechoice values are getting where as previous row select one choice values are null.

  • Urgent... Refresh issue in ADF 11g Select One Choice..

    Hi,
    There are some some list boxes in our pages (like Group, Users, Roles....)
    When we select users from the Users list box we can see the same name again appending to the list of values.
    Does any one has faces this issue before?
    Please help me on this..
    Thanks

    Hi,
    I don't understand your question. Also, are you using BC4J and Databindings or are you managed bean based?
    Regards,
    ~ Simon

  • ADF Table sorting on Select One choice column display value

    Hi Team,
    We are using an ADF with EJB application.
    I have an ADF table, which has a select one choice in it. (The Select one Choice list elements are populated from a java bean).
    Presetnly, when we perform the sorting on this SOC column, the table is getting sorted based on SOC value not on the Label.
    How to sort this column based on the SOC Lable filed.
    Please help us.
    Thank you,
    Keshav Ch

    Hi Frank,
    I took a transient column in the Entity and populated this column with the LOV label value.
    In the ADF added this coulmn to the table and set it is rendered false.
    Set the sortable property of the lov column to the new trasient column.
    Now the sort will work with the label filed (Transient Column)
    Thank you,
    Keshav ch

  • How to refresh the list of select one choice which is inside a table?

    Hello I am using Jdeveloper Version 11.1.2.1.0.
    The table is a normal table that is made to look like a treeTable.
    For some rows are or can be parents with Parent_vo_group_id = null and other are children with parent_vo_group_id = vo_group_id of the parent...
    If a children changes its parent_vo_group_id to null it can become a parent as well.
    I am having a select one choice inside a table column. The list comes from the same table with column Name:
    <af:table value="#{bindings.VoGroupAdminView2.collectionModel}" var="row"
                                                      rows="#{bindings.VoGroupAdminView2.rangeSize}"
                                                      contentDelivery="immediate"
                                                      visible="#{bindings.VoGroupAdminView2Iterator.currentRow != null}"
                                                      fetchSize="#{bindings.VoGroupAdminView2.rangeSize}"
                                                      partialTriggers="::soc1" styleClass="AFStretchWidth"
                                                      rowBandingInterval="0" editingMode="clickToEdit"
                                                      binding="#{adminGroupManagementBean.groupTable}"
                                                      selectionListener="#{adminGroupManagementBean.groupSelectionListener}"
                                                      rowSelection="single" id="t5">
                                                <af:column sortProperty="#{bindings.VoGroupAdminView2.hints.Name.name}"
                                                           sortable="false" styleClass="columnData"
                                                           headerClass="tableHeader"
                                                           headerText="#{bindings.VoGroupAdminView2.hints.Name.label}"
                                                           id="c1">
                                                    <af:inputText value="#{row.bindings.Name.inputValue}"
                                                                  requiredMessageDetail="Please enter a group name"
                                                                  label="#{bindings.VoGroupAdminView2.hints.Name.label}"
                                                                  required="true" id="it7" immediate="true" autoSubmit="true"
                                                                  columns="#{bindings.VoGroupAdminView2.hints.Name.displayWidth}"
                                                                  maximumLength="#{bindings.VoGroupAdminView2.hints.Name.precision}"
                                                                  shortDesc="#{bindings.VoGroupAdminView2.hints.Name.tooltip}"
                                                                  contentStyle="#{row.ParentVoGroupId eq null? 'font-weight:bold' : 'padding-left:20px'}"
                                                                  valueChangeListener="#{adminGroupManagementBean.groupNameChangeListener}"
                                                                  partialTriggers="soc2">
                                                        <f:validator binding="#{row.bindings.Name.validator}"/>
                                                    </af:inputText>
                                                </af:column>                                   
                                                <af:column sortProperty="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.name}"
                                                           sortable="false" styleClass="columnData"
                                                           headerClass="tableHeader"
                                                           headerText="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.label}"
                                                           id="c4">
                                                    <af:selectOneChoice value="#{row.bindings.ParentVoGroupId.inputValue}"
                                                                        label="#{row.bindings.ParentVoGroupId.label}"
                                                                        simple="true" immediate="true"
                                                                        required="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.mandatory}"
                                                                        shortDesc="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.tooltip}"
                                                                        id="soc2" autoSubmit="true"
                                                                        unselectedLabel="&lt;null&gt;"
                                                                        valueChangeListener="#{adminGroupManagementBean.parentIdValueChangeListener}"
                                                                        visible="#{row.bindings.ChildrenCount.inputValue eq 0 ? true : false}">
                                                        <f:selectItems binding="#{adminGroupManagementBean.selectOneChoiceList}"
                                                                        value="#{row.bindings.ParentVoGroupId.items}"
                                                                       id="si2"/>
                                                    </af:selectOneChoice>
                                                </af:column>
                                            </af:table> My select one choice uses the same iterator as the table.
    <iterator Binds="VoGroupAdminView2" RangeSize="-1" DataControl="AppModuleDataControl"    id="VoGroupAdminView2Iterator"/>The table uses this view called VoGroupAdminView:
    Select t1.vo_Group_id,     
           t1.name,
           t1.Vehicle_Owner_Id,
           t1.Graphical_Symbol,
           t1.Lm_Comment,
           t1.Parent_Vo_Group_Id ,
           decode (t2.children_count, null, 0, t2.children_count) as children_count
           from
    (SELECT VoGroup.vo_Group_id,     
           VoGroup.name,
           VoGroup.Vehicle_Owner_Id,
           VoGroup.Graphical_Symbol,
           VoGroup.Lm_Comment,
           VoGroup.Parent_Vo_Group_Id
      FROM VO_GROUP VoGroup
    START WITH VoGroup.Parent_Vo_Group_Id IS NULL
    CONNECT BY VoGroup.Parent_Vo_Group_Id = PRIOR VoGroup.Vo_Group_Id
    order SIBLINGS by VoGroup.name) t1,
    (select parent_vo_group_id, count (parent_vo_group_id) as children_count from vo_group
    group by parent_vo_group_id) t2
    where t1.vo_group_id = t2.parent_vo_group_id (+)the ParentVoGroupId attribute has list of values from this view object called VoGroupAdminLov:
    SELECT
        VO_GROUP.NAME,
        VO_GROUP.VEHICLE_OWNER_ID,
        VO_GROUP.PARENT_VO_GROUP_ID,
        VO_GROUP.VO_GROUP_ID
    FROM
        VO_GROUP
    WHERE  VO_GROUP.PARENT_VO_GROUP_ID is null
    and VO_GROUP.VO_GROUP_ID <> ?
    order by  VO_GROUP.NAMEI want to refresh the list of values in the select one choice everytime when i add a new row in the table, delete row in the table or change the value of select one choice component.
    What I have tried:
        public void parentIdValueChangeListener(ValueChangeEvent valueChangeEvent) {
            this.setValueToEL("#{row.bindings.ParentVoGroupId.inputValue}", valueChangeEvent.getNewValue());
            BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
            DCIteratorBinding voGroupAdminIterator = (DCIteratorBinding)bc.get("VoGroupAdminView2Iterator");
            Key selectedGroupKey = voGroupAdminIterator.getCurrentRow().getKey();
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
            am.getTransaction().postChanges();
            am.getVoGroupAdminView2().executeQuery(); //refresh the table view object;
            am.getVoGroupAdminLov1().executeQuery(); //refresh the list of values view object
            voGroupAdminIterator.invalidateCache();  //remove the cache of the iterator
            voGroupAdminIterator.setCurrentRowWithKey(selectedGroupKey.toStringFormat(true)); // set the selected row again.
            RichSelectOneChoice soc =
                (RichSelectOneChoice)FacesContext.getCurrentInstance().getViewRoot().findComponent(":pt1:t5:soc2");
            AdfFacesContext.getCurrentInstance().addPartialTarget(soc);
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.groupTable);    
        }When i am adding a new row to the table its select one choice list is refreshed but only for the new row. The rest rows have not updated list of values for their select one choice components.
        public String addGroupButtonAction() {
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
            ViewObjectImpl voGroupAdminView = am.getVoGroupAdminView2();
            Row newRow = voGroupAdminView.createRow();
             newRow.setNewRowState(Row.STATUS_INITIALIZED);
            voGroupAdminView.insertRowAtRangeIndex(0, newRow);
            am.getTransaction().postChanges();
            return "null";
        }Edited by: 897833 on Mar 19, 2012 9:07 AM

    I made a button to refresh the value of select one choice and it doesn't work yet.
    So I just move one of the
        public String refreshParentIdSOCButtonAction() {
            BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
            DCIteratorBinding voGroupAdminIterator = (DCIteratorBinding)bc.get("VoGroupAdminView2Iterator");
            Key selectedGroupKey = voGroupAdminIterator.getCurrentRow().getKey();
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
            am.getTransaction().postChanges();
            am.getVoGroupAdminView2().executeQuery();
            am.getVoGroupAdminLov1().executeQuery();
            voGroupAdminIterator.invalidateCache();
            voGroupAdminIterator.setCurrentRowWithKey(selectedGroupKey.toStringFormat(true));
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.parentIdSelectOneChoice);  //refresh the binded SOC as you said
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.parentIdSelectOneChoiceList); //refresh the binded list even
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.groupTable); //refresh the table it is in;
            return null;
        }Edited by: 897833 on Mar 23, 2012 2:58 AM

  • How to get selected values from Select Many Choice List

    Hello All -
    I am using Select Many Choice List and wish to get the selected values in the bean. I have created method binding for valueChangeListener for the choice list, but not sure how to get the selected values.
    I am facing problem in getting values from valueChangeEvent.getNewValue(). For Select One Choice List this returns int, but some list type object for Select Many Choice List.
    When I try to print the value it comes something like:
    ArrayList newVal = new ArrayList(Arrays.asList(valueChangeEvent.getNewValue()));
    System.out.println(newVal);
    [Ljava.lang.Integer;@870ad8
    Could anyone please suggest how to type cast and use the return of valueChangeEvent.getNewValue() to get the selected values.
    Regards -
    Rohit

    Hi Timo -
    Thanks for the suggestion. I could get the values as below:
    public void multiOpUnitValChange(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding opUnitIter = (DCIteratorBinding)bindings.get("OperatingUnit2VOIterator");
    Integer[] values = (Integer[])valueChangeEvent.getNewValue();
    for (int i=0; i<values.length; i++){
    Row row = opUnitIter.getRowAtRangeIndex(i);
    System.out.println(row.getAttribute("OpUnitId"));
    Thanks -
    Rohit

  • 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

  • ADF select one choice

    Hi all,i have a requirement in which i have to show user in select one choice only few values and also the value against that field as selected value select one choice.LOV does not contain the value submitted against the field in drop down list.Can it be possible.If yes how can i achieve this.
    Thanks

    If i understud correctly means
    are you looking for this?
    http://vtkrishn.wordpress.com/2011/07/13/afseelctonechoice-not-getting-updated/
    Opps:
    your are duplicating the post.
    ADF lov
    the same post few days ago.

  • ADF: select one choice binding ???

    how i can bind "select one choice" ADF faces ,,, i tried to bind it from List<String> , List<SelectItem> and also Properties ,, nothing work !
    an error accurod "java.lang.ClassCastException" or "java.lang.NullPointerException" when i bind it to Properties from manageBean
    i need to know how to bind it and what kind of List or Type that Select one choice took in bind ??
    please help me :)

    Hi,
    See if these links help.
    Re: How to Populate a LOV, from Managed Bean?
    Re: Is it possible to create a static ADF table and tree?
    Regards,
    Chan Kelwin

  • ADF Select one Choice not showing Required

    Hello,
    I have a simple ADF page that I have dragged an "ADF Select one choice" field onto. It has an LOV tied to it. I have set the field as required and given a required message to show. The issue is that the field does not show as required when i save the recrod.. and it also does not show any message or turn red. I was able to save the record tgo the database with out the field being filled in.... i assumed since I set the field to required in the property inspector it would not let it store an empty field.
    When I changed this field to an input combo box list of vlaues then it behaved as expected.
    Is this a bug with Jdeveloper ... or just a bug with the developer ( me ) :) .
    I am using 11.1.1.3.o version.
    Thanks for any help in advance.

    Seems to work fine here:
    http://jdevadf.oracle.com/adf-richclient-demo/components/selectOneChoice.jspx
    (change the required properties on the right and click update)
    You can click the view page source to see the code used for that page.

  • Having problems with select-one-choice pull down component in an adf table

    all the values in the affected column come up the same. when any value in the column is changed all the values are changed. it's as if jdev doesn't realize the the column with the select-one-choice is really a column. what am i doing wrong?
    thanx

    Hi StuCoat,
    Did you have a look on this example from Steve Muench:
    http://www.oracle.com/technology/products/jdev/tips/muench/screencasts/editabletabledropdown/dropdownlistineditabletable.html?_template=/ocom/technology/content/print
    Maybe if you post the part of code including your list into your table (from the <af:column ... to the </selectOneChoice>), we could find an explanation of this behavior.
    Regards,
    Tif

  • Inserting in table but ADF Select One Choice data is lost

    hi I'm using Jdev 11g
    I've fusion web App
    which handling purchase Invoices
    contains a form for master table purchase
    and a af:table for Invoice detatils table purchase_items
    I'm tring to insert data in af:table detail table which contain ADF Select One Choice. for produc names
    and text box for both cost and quantity and groovy based colum for the amount of (cost * quantity)
    the property auto submit for both columns cost and quantity is set to true
    to update the amount value when user makes any changes on the cost or quantity
    my Problem that
    when I Insert new record and I select value from the product column( Select One Choice )
    and when i type the cost or the quntity I loos the selected value before in the product ( Select One Choice )
    and this is not accebtable for the end user to select the product tow times
    any one could help about this
    thanks

    I'm sorry but it seems it is have solution
    I test it agin with auto submit for cost and quntity set to true
    and still losing data in ADF Select One Choice
    there are no coding used in my App
    and ther are no value on value change listener on cost or quantity
    i think it hapen because i have mandatory fileds like product and cost
    it's firing validation of filed is requierd
    Edited by: user451648 on 11/03/2013 11:58 م

  • Disable select one choice in adf table

    Hi, my requirement is that based on value of input text i have to disable select one choice(soc1) in adf table.
    suppose i have to disable soc1 on value of input text i have used *#{row.bindings.Dependenttaskid.inputValue=='30'} it's working fine.*
    But my requirement is that i have to disable soc1 checking value from two input text
    When i am using operator from expresion builder like *#{row.bindings.Dependenttaskid.inputValue=='30'}and#{row.bindings.Tasklocationid.inputValue=='OUTSRC'}*. it is not showing error but it's not working .
    Can anyone suggest how to use orperator from expression builder.
    Thanks a lot!

    you can override isAttributeUpdateable is your viewRowImpl class like this code
    public boolean isAttributeUpdateable(int i) {
    //you can add your condition here
    if (this.getDependenttaskid().equal("30") && this.getTasklocationid().equal("OUTSRC") && i==YouLOVAttributeEnum)
    return false;
    else
    return super.isAttributeUpdateable(i);
    }check [url http://mjabr.wordpress.com/2011/07/08/control-row-updatability/]Control row updatability – part 1

  • Select One Choice attribute' LoV based on two bind variables, best practice

    Hello there,
    I am in the process of learning the ADF 11g, I have following requirement,
    A page must contain a list of school names which is needed to be fetched based on two parameters, the parameters are student information been inserted in the previous page.
    I have defined a read only view "SchoolNamesViewRO", it's query depends on two bind variables :stdDegree and stdCateg.
    added that RO View as a view accessor to the entity to which the name attribute belongs, and then add LoV for the name attribute using the ReadOnly view,
    added the name attribute as Select One Choice to page2,
    and now I need to pass the values of the bind variables of the ReadOnly view,
    the information needed to be passed as the bind variables is inserted in the previous page, I could have the data as bindings attribute values in the page2 definition
    I have implemented the next two appraoches but both resulted in an empty list :
    * added ExecuteWithParams Action to the bindings of the page and then defined an Invoke Action (set refresh condition) in the executable s, set the default values of the parameters to be the attributes values' input value,
    in the trace I code see that the binding fetches correct values as supposed , but the select list appears empty, does the this execution for the query considered to be connected to the list ?
    * added a method to the ReadOnly view Imp java class to set the bind variables, then I define it as a MethodAction in the bindings , and then create an Invoke action for it , also the select is empty,
    if the query been executed with the passed variables, then why the list is empty? is it reading data from another place than the page!
    and what is the best practice to implement that requirement?
    would the solution be : by setting the default value of the bind variables to be some kind of Expression!
    please notice that query execution had the bound variables ( I see in the trace) are set to the correct values.
    would you give some hints or redirect me to a useful link,
    Thanks in advance
    Regards,

    please give me any example using backing bean .for example
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:selectOneChoice label="Label 1" id="soc1" binding="#{Af.l1}"
    autoSubmit="true">
    <af:selectItem label="A" value="1" id="si1"/>
    <af:selectItem label="B" value="2" id="si2"/>
    </af:selectOneChoice>
    <af:selectOneChoice label="Label 2" id="soc2" disabled="#{Af.l1=='2'}"
    partialTriggers="soc1">
    <af:selectItem label="C" value="3" id="si3"/>
    <af:selectItem label="D" value="4" id="si4"/>
    </af:selectOneChoice>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    package a;
    import oracle.adf.view.rich.component.rich.input.RichSelectOneChoice;
    public class A {
    private RichSelectOneChoice l1;
    public A() {
    public void setL1(RichSelectOneChoice l1) {
    this.l1 = l1;
    public RichSelectOneChoice getL1() {
    return l1;
    is there any mistake

Maybe you are looking for