ICEmobile
  1. ICEmobile
  2. MOBI-356

default web.xml from Eclipse doesn't work with ICEmobile menu-template

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.1 Final
    • Fix Version/s: 1.2 Final
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      Eclipse

      Description

      Both Judy and Tyler confirmed that default web.xml from Eclipse seems causing problem with menu template specifically on Mac with latest Tomcat 7.0. But not on Windows.

      Since there is no menu template in 1.2 beta release. re-target to 1.2 final

        Activity

        Migration created issue -
        Migration made changes -
        Field Original Value New Value
        Reporter Migration [ remote ] Liming Wu [ liming.wu ]
        Migration made changes -
        Assignee Steve Maryka [ steve.maryka ] Liming Wu [ liming.wu ]
        Migration made changes -
        Description
        Default web.xml from Eclipse seems causing problem with menu template specifically.

          <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
          </servlet>
          <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>*.jsf</url-pattern>
          </servlet-mapping>
          <context-param>
            <description>State saving method: 'client' or 'server' (=default). See JSF Specification 2.5.2</description>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>server</param-value>
          </context-param>
          <context-param>
            <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
            <param-value>resources.application</param-value>
          </context-param>
          <listener>
            <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
          </listener>

        Looks like either javax.servlet.jsp.jstl.fmt.localizationContext or com.sun.faces.config.ConfigureListener
        But removing these 2 doesn't seem to solve the problem with menu template. Replacing web.xml with the one from menu-template just solves the problem.

        Only differences are
         metadata-complete="false", and the above 2 entries.

        metadata-complete="false" is default setting anyway.
        Both Judy and Tyler confirmed that default web.xml from Eclipse seems causing problem with menu template specifically on Mac with latest Tomcat 7.0. But not on Windows.
        Migration made changes -
        Fix Version/s 1.2 Beta [ 10344 ]
        Liming Wu made changes -
        Fix Version/s 1.2 Final [ 10371 ]
        Fix Version/s 1.2 Beta [ 10344 ]
        Description Both Judy and Tyler confirmed that default web.xml from Eclipse seems causing problem with menu template specifically on Mac with latest Tomcat 7.0. But not on Windows.
        Both Judy and Tyler confirmed that default web.xml from Eclipse seems causing problem with menu template specifically on Mac with latest Tomcat 7.0. But not on Windows.

        Since there is no menu template in 1.2 beta release. re-target to 1.2 final
        Liming Wu made changes -
        Affects Version/s 1.1 Final [ 10343 ]
        Liming Wu made changes -
        Affects Version/s 1.1 Final [ 10343 ]
        Liming Wu made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]

          People

          • Assignee:
            Liming Wu
            Reporter:
            Liming Wu
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: