2 Replies Latest reply on Nov 20, 2012 7:28 AM by 2616-Oracle

    ADF Mobiel Browser - <tr:selectOneChoice

      I am developing an ADF Mobile browser application using using jdeveloper to create leads in Siebel CRM. I installed ADF mobile client extension.
      But facing some issues while getting dropdown value in java class. it’s coming as null. Once I get the value how do I transfer the control from bean to another jsfx page.
      Please provide your valuable input.

      Following is the detail about the issue:-

      I have not binded input parameters with bean. Getting these parameter using following code.

      FacesContext context = FacesContext.getCurrentInstance();
      ExternalContext ec = context.getExternalContext();
      HttpServletRequest request = (HttpServletRequest)ec.getRequest();
      String fname = request.getParameter("fname");
      String email=request.getParameter("email");
      String mno = request.getParameter("mno");

      My app was working for text attribute but now I need dropdown also in my app for that I use

      <tr:selectOneChoice id="pcm">
      <f:selectItem itemLabel="Phone" itemValue="Phone" value="Phone"/>
      <f:selectItem itemLabel="Email" itemValue="Email" value="Email"/>

      But now I am not getting it’s value in java class. Using
      String pcm=request.getParameter("pcm");

      How do I get it? Tried binding input attribute with bean but got following compilation error.
      import org.apache.myfaces.trinidad.component.core.input.CoreInputText not found.