0 Replies Latest reply on Nov 12, 2008 1:43 AM by Diana Gomez

    EL - WAS 6.1.0.19 problem

    Diana Gomez Newbie

      |
      Hello all. ... I

      m try to deploy my app(already working in jboss) on was 6.1.0.19 i did follow the guide seam-reference-2.1.0.BETA1 since i

      m working with jboos-seam-2.1.0.BETA1  my app deploys.. but when i try to make something that has EL on it.. it just doesnt workkk  for example when i try deploy a page with 
      
        <h:selectOneMenu id="anio" value="#{calendario.anio}" >
                             <s:selectItems value="#{Disponibilidad.anios}" var="category"  />
         </h:selectOneMenu>
      
      it doenst deploy ans throws..
      
      java.lang.IllegalArgumentException: Expected a child component type of UISelectItem/UISelectItems for component type javax.faces.SelectOne(anio).  Found null.
           at com.sun.faces.renderkit.RenderKitUtils.getSelectItems(RenderKitUtils.java:333)
           at com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRenderer.java:801)
           at com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:280)
      
      
      when i try to fill a field like 'cargo'
      
      <s:decorate id="cargoField" template="layout/edit.xhtml">
                      <ui:define name="label">cargo</ui:define>
                      <h:inputText id="cargo"
                             required="true"
                                value="#{recursoProyectoHome.instance.cargo}">
                          <a:support event="onblur" reRender="cargoField" bypassUpdates="true" ajaxSingle="true"/>
                      </h:inputText>
                  </s:decorate>
      
      
       it throws something like:
      
      "javax.el.PropertyNotFoundException: /RecursoProyectoEdit.xhtml @28,73 value="#{recursoProyectoHome.instance.cargo}": Target Unreachable, identifier 'recursoProyectoHome' resolved to null"
      
      any idea???
      
      Diana..tting instructions. |