1 Reply Latest reply on Feb 5, 2008 3:25 AM by Jubril Adisa

    Problem using

    Jubril Adisa Novice

      I am having a problem submitting my page containing listShuttle, It loads fine but whenever i submit the page I get the exception




      org.apache.jasper.JasperException: javax.faces.FacesException: Could not retrieve value of component with path : {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /applicant/UploadResume.jsp][Class: javax.faces.component.html.HtmlForm,Id: hf206][Class: org.richfaces.component.html.HtmlPanel,Id: _idJsp13][Class: javax.faces.component.html.HtmlPanelGrid,Id: hpg252][Class: javax.faces.component.html.HtmlPanelGrid,Id: hpg288][Class: org.richfaces.component.html.HtmlListShuttle,Id: rls295][Class: org.richfaces.component.html.HtmlColumn,Id: _idJsp23][Class: javax.faces.component.html.HtmlOutputText,Id: hot297]}
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419)
      org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)
      org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
      org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
      org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
      org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
      org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
      org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)




      Seems its not able to set the targetValue, is there something i am not doing???


      <rich:listShuttle sourceValue="#{newApplicant.freeStates}"
       targetValue="#{newApplicant.choosenStates}" var="items"
       sourceCaptionLabel="Available Locations"
       targetCaptionLabel="Selected Locations" id="rls327" converter="listShuttleConverter">
       <rich:column>
       <h:outputText value="#{items.label}"></h:outputText>
       </rich:column>
       <a4j:support event="onlistchanged" reRender="toolBar" />
       </rich:listShuttle>


        • 1. Problem using listShuttle
          Jubril Adisa Novice

           

          "oyesiji77" wrote:
          I am having a problem submitting my page containing listShuttle, It loads fine but whenever i submit the page I get the exception




          org.apache.jasper.JasperException: javax.faces.FacesException: Could not retrieve value of component with path : {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /applicant/UploadResume.jsp][Class: javax.faces.component.html.HtmlForm,Id: hf206][Class: org.richfaces.component.html.HtmlPanel,Id: _idJsp13][Class: javax.faces.component.html.HtmlPanelGrid,Id: hpg252][Class: javax.faces.component.html.HtmlPanelGrid,Id: hpg288][Class: org.richfaces.component.html.HtmlListShuttle,Id: rls295][Class: org.richfaces.component.html.HtmlColumn,Id: _idJsp23][Class: javax.faces.component.html.HtmlOutputText,Id: hot297]}
          org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
          org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
          org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
          org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
          org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419)
          org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)
          org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
          org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
          org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
          org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
          javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
          org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
          org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
          org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)




          Seems its not able to set the targetValue, is there something i am not doing???


          <rich:listShuttle sourceValue="#{newApplicant.freeStates}"
           targetValue="#{newApplicant.choosenStates}" var="items"
           sourceCaptionLabel="Available Locations"
           targetCaptionLabel="Selected Locations" id="rls327" converter="listShuttleConverter">
           <rich:column>
           <h:outputText value="#{items.label}"></h:outputText>
           </rich:column>
           <a4j:support event="onlistchanged" reRender="toolBar" />
           </rich:listShuttle>