0 Replies Latest reply on Sep 25, 2008 7:15 AM by selvidevi

    I am not able to pick the values from the picklist which are

    selvidevi

      <rich:pickList value="#{pickListBean.result}">
      <f:selectItems value="#{rightdescp}"/>
      <a4j:support event="onlistchanged" reRender="result"/>

      </rich:pickList>
      <rich:panel id="result" bodyClass="pbody">
      <f:facet name="header">
      <h:outputText value="#{pickListBean.items} Options Choosen"></h:outputText>
      </f:facet>
      <rich:dataList value="#{pickListBean.result}" var="pickList" rendered="#{pickListBean.items>0}">
      <h:outputText value="#{pickList}"/>

      </rich:dataList>

      rightdescp is a list which has the value(id,name)
      after click on copy all i am able display the values in the outputtext box.
      i want to insert the id into table which is corresponding to the name.

      when we click on the picklist values value will be stored in the pickListBean.result which is list.

      But I am not able to get id to my action class.

      I want to take id value to insert into the other table which is corresponding to the name

      thanks in advance.
      really i need a help