3 Replies Latest reply on Jun 6, 2007 1:06 PM by Ivan Tufegdzic

    I installed new version but I have little problem

    Ivan Tufegdzic Newbie

      Hello,
      I instaled new SNAPSHOT,richfaces,... and work ok for now. But when I use modalPanel, it not open in new window, it opened in same window some rows down.
      What do I do?
      Thanks
      it

        • 1. Re: I installed new version but I have little problem
          Ivan Tufegdzic Newbie

          I view now,that no style in used components.
          Are needed any other settings in web.xml, faces-config,... ?
          i have old settings for old version. Have difference?

          • 2. Re: I installed new version but I have little problem
            Ilya Shaikovsky Master

            oldest snapshots? there must be no changes.

            Clear caches.

            • 3. Re: I installed new version but I have little problem
              Ivan Tufegdzic Newbie

              Old version: ajax4jsf-1.1.0.jar, commons-collections-2.1.jar, richfaces-3.0.1-SNAPSHOT.jar
              All these was in project/.../web-inf/lib

              I cleared caches, but no changes.

              There is web.xml
              -----
              <?xml version="1.0"?>
              <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
              <!-- Not used, as we've integrated Trinidad
              <context-param>
              <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
              <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value>
              </context-param>-->
              <context-param>
              <param-name>org.ajax4jsf.SKIN</param-name>
              <param-value>lmg</param-value>
              </context-param>
              <!-- Facelets development mode (disable in production) -->
              <context-param>
              <param-name>facelets.DEVELOPMENT</param-name>
              <param-value>true</param-value>
              </context-param>
              <context-param>
              <param-name>facelets.SKIP_COMMENTS</param-name>
              <param-value>true</param-value>
              </context-param>
              <context-param>
              <param-name>facelets.LIBRARIES</param-name>
              <param-value>/WEB-INF/tomahawk.taglib.xml;/WEB-INF/sandbox.taglib.xml</param-value>
              </context-param>
              <!-- JSF -->
              <context-param>
              <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
              <param-value>client</param-value>
              </context-param>
              <context-param>
              <param-name>javax.faces.CONFIG_FILES</param-name>
              <param-value>/WEB-INF/navigation.xml</param-value>
              </context-param>
              <context-param>
              <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
              <param-value>.xhtml</param-value>
              </context-param>
              <!-- Trinidad -->
              <context-param>
              <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
              <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value>
              </context-param>
              <!-- Ajax4jsf (must come first!) -->

              <display-name>Ajax4jsf Filter</display-name>
              <filter-name>ajax4jsf</filter-name>
              <filter-class>org.ajax4jsf.Filter</filter-class>

              <filter-mapping>
              <filter-name>ajax4jsf</filter-name>
              <servlet-name>Faces Servlet</servlet-name>
              REQUEST
              FORWARD
              INCLUDE
              </filter-mapping>

              <filter-name>Seam Exception Filter</filter-name>
              <filter-class>org.jboss.seam.servlet.SeamExceptionFilter</filter-class>


              <filter-name>Seam Filter</filter-name>
              <filter-class>org.jboss.seam.web.SeamFilter</filter-class>


              <filter-name>Trinidad</filter-name>
              <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>


              <filter-name>extensionsFilter</filter-name>
              <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
              <init-param>
              Set the size limit for uploaded files. Format: 10 - 10
              bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
              <param-name>uploadMaxFileSize</param-name>
              <param-value>2m</param-value>
              </init-param>
              <init-param>
              Set the threshold size - files below this limit are
              stored in memory, files above this limit are stored on
              disk.

              Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
              <param-name>uploadThresholdSize</param-name>
              <param-value>10m</param-value>
              </init-param>

              <filter-mapping>
              <filter-name>ajax4jsf</filter-name>
              <url-pattern>*.elb</url-pattern>
              </filter-mapping>
              <filter-mapping>
              <filter-name>Seam Exception Filter</filter-name>
              <servlet-name>faces</servlet-name>
              </filter-mapping>
              <filter-mapping>
              <filter-name>Seam Filter</filter-name>
              <url-pattern>/*</url-pattern>
              </filter-mapping>
              <filter-mapping>
              <filter-name>Trinidad</filter-name>
              <url-pattern>*.elb</url-pattern>
              </filter-mapping>
              <filter-mapping>
              <filter-name>extensionsFilter</filter-name>
              <url-pattern>/faces/*</url-pattern>
              </filter-mapping>
              <filter-mapping>
              <filter-name>extensionsFilter</filter-name>
              <url-pattern>*.elb</url-pattern>
              </filter-mapping>
              <!-- Seam -->

              <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>


              <listener-class>com.sun.faces.config.ConfigureListener</listener-class>


              <servlet-name>Seam Resource Servlet</servlet-name>
              <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>


              <servlet-name>Faces Servlet</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup>1</load-on-startup>


              <servlet-name>Trinidad Resources</servlet-name>
              <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>


              <servlet-name>Content Servlet</servlet-name>
              <servlet-class>de.livemediagroup.webapp.servlet.DocumentServlet</servlet-class>

              <servlet-mapping>
              <servlet-name>Seam Resource Servlet</servlet-name>
              <url-pattern>/seam/resource/*</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>*.elb</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>Trinidad Resources</servlet-name>
              <url-pattern>/adf/*</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>Content Servlet</servlet-name>
              <url-pattern>/content/*</url-pattern>
              </servlet-mapping>
              <session-config>
              <session-timeout>90</session-timeout>
              </session-config>
              <!-- Welcome Files -->
              <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              </welcome-file-list>
              <security-constraint>
              <display-name>Restrict raw XHTML Documents</display-name>
              <web-resource-collection>
              <web-resource-name>XHTML</web-resource-name>
              <url-pattern>*.xhtml</url-pattern>
              </web-resource-collection>
              <auth-constraint>
              <role-name>NONE</role-name>
              </auth-constraint>
              </security-constraint>
              <security-constraint>
              <web-resource-collection>
              <web-resource-name>simple</web-resource-name>
              <url-pattern>/shop/*</url-pattern>
              </web-resource-collection>
              <auth-constraint>
              <role-name>user</role-name>
              </auth-constraint>
              </security-constraint>
              <login-config>
              <auth-method>FORM</auth-method>
              <form-login-config>
              <form-login-page>/login.elb</form-login-page>
              <form-error-page>/login.elb</form-error-page>
              </form-login-config>
              </login-config>
              </web-app>

              There faces-config
              ------
              <?xml version="1.0" encoding="UTF-8"?>
              <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
              "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
              <faces-config>


              <converter-id>elb.solutions.converter.object</converter-id>
              <converter-class>
              com.elb.solutions.converter.PersistableObjectConverter
              </converter-class>


              <validator-id>elb.solutions.validator.positive</validator-id>
              <validator-class>
              com.elb.solutions.validate.PositiveNumberValidator
              </validator-class>


              <converter-id>elb.solutions.propertyConverter</converter-id>
              <converter-class>
              com.elb.solutions.converter.PropertyConverter
              </converter-class>



              <converter-id>elb.solutions.itemConverter</converter-id>
              <converter-class>com.elb.solutions.converter.ItemConverter</converter-class>



              <validator-id>elb.solutions.validateEmail</validator-id>
              <validator-class>com.elb.solutions.validate.EmailValidator</validator-class>


              <validator-id>elb.solutions.validator.minMaxLength</validator-id>
              <validator-class>
              com.elb.solutions.validate.MinMaxLengthValidator
              </validator-class>



              <managed-bean>
              <managed-bean-name>Notifier</managed-bean-name>
              <managed-bean-class>de.livemediagroup.backing.NotifierBean</managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
              </managed-bean>
              <managed-bean>
              <managed-bean-name>now</managed-bean-name>
              <managed-bean-class>java.util.Date</managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
              </managed-bean>


              <action-listener>de.livemediagroup.core.listener.LmgActionListener</action-listener>
              <default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id>
              <locale-config>
              <default-locale>en</default-locale>
              <supported-locale>en</supported-locale>
              <supported-locale>de</supported-locale>
              </locale-config>


              <phase-listener>de.livemediagroup.core.listener.LmgPhaseListener</phase-listener>
              <phase-listener>org.jboss.seam.jsf.TransactionalSeamPhaseListener</phase-listener>

              </faces-config>