1 Reply Latest reply on Mar 29, 2008 7:44 PM by pmuir

    HTTP 404 Not found related to s:decorate

    admin.admin.email.tld

      This is a possible JIRA request/issue unless it's already been logged/rejected/fixed.  A more user-friendly screen dump would be appreciated.  Not reporting as a bug (I know it's my mistake, but anybody may get confused here in this situation).


      This .xhtml fragment causes the HTTP 404:


      <s:decorate id="icomsUserDecorate" template="edit.xhtml">
                          <ui:define name="label">By ICOMS User:</ui:define>
                          <h:inputText id="icomsUserInput" value="#{auditedUsersSearch.icomsUser}"/>
                </s:decorate>



      This fixes it:


      <s:decorate id="icomsUserDecorate" template="layout/edit.xhtml">
                          <ui:define name="label">By ICOMS User:</ui:define>
                          <h:inputText id="icomsUserInput" value="#{auditedUsersSearch.icomsUser}"/>
                </s:decorate>



      sever.log output:


      2008-03-28 11:06:37,699 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process after phase RENDER_RESPONSE 6
      2008-03-28 11:06:37,699 DEBUG [org.ajax4jsf.webapp.BaseXMLFilter] create HTML/XML parser for content type: null
      2008-03-28 11:06:37,699 DEBUG [org.ajax4jsf.webapp.BaseXMLFilter] Parser not have support for the such content type, send response as-is
      2008-03-28 11:06:37,699 DEBUG [org.ajax4jsf.webapp.BaseFilter] Finished request processing total time 140ms for uri: /ICOMSSecurityAudit/viewAuditedUsers.cox
      
      
      11:06:37,684 ERROR [STDERR] Mar 28, 2008 11:06:37 AM com.sun.facelets.impl.DefaultFaceletFactory createFacelet
      WARNING: /edit.xhtml not found at jndi:/localhost/ICOMSSecurityAudit/edit.xhtml