5 Replies Latest reply on Apr 21, 2007 2:01 AM by Sergey Smirnov

    reading the selected value

    Laszlo Graf Newbie

      Hi
      I have these line in my JSP:

      <h:selectOneMenu id="ugyfelekNevei" value="#{adatlapelozetesbean.ujugyfel}" style="form-text" styleClass="form-text">
       <f:selectItem itemValue="" itemLabel=""/>
       <f:selectItems value="#{adatlapelozetesbean.ugyfeleisi}" />
       <a4j:support event="onchange" action="#{adatlapelozetesbean.ujugyfelkivalasztasa}" ajaxSingle="true"/>
      </h:selectOneMenu>
      <a4j:commandLink id="AddUgyfelCL">
       <t:graphicImage value="../img/add_small.gif" border="0" alt="Hozzáadás" />
       <a4j:support event="onclick" action="#{adatlapelozetesbean.ujugyfelfelvetele}" ajaxSingle="true" reRender="azadatlapugyfelei" />
      </a4j:commandLink>
      


      How can I read the selected value of the h:selectedOneMenu before click on the a4j:commandLink?

      Laci