Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2013
    Posts
    3
    Rep Power
    0

    Angry Error JSF transfering project from jboss to tomcat 7.37

    the faces-config.xml is not loaded sending this message error :
    HTTP Status 500 - Unable to convert string "gridMain" to class "javax.el.ValueExpression" for attribute "for": Property Editor not registered with the PropertyEditorManager

    this my JSF

    <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
    <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>

    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <link rel="STYLESHEET" type="text/css" href="../style/style.css" />
    <title>.:: Admin ::.</title>
    <style>

    .backGround {
    background-color: #FF0000;
    }


    </style>
    </head>
    <body>

    <f:view>

    <jsp:include page="../head.jsp"/>
    <jsp:include page="../menu.jsp" />
    <h:form id="consulta">

    <div align="center">

    <h:panelGrid columns="2" border="0" width="50%">

    <rich:panel header=".:: Consulta de Regional ::. " style="margin-center: 0px; margin-top: 0px; text-align: center;" >

    <rich:dataTable value="#{regionalController.listAll}"
    id="gridMain" var="item"
    onRowMouseOver="this.style.backgroundColor='#F1F1F 1'"
    onRowMouseOut="this.style.backgroundColor='#{a4jSk in.tableBackgroundColor}'"
    border="0" cellpadding="1" cellspacing="1" rows="20" width="100%">

    <f:facet name="header">
    <rich:columnGroup>
    <rich:column style="text-align: center;" width="20%"><h:outputText value="Codigo"/></rich:column>
    <rich:column style="text-align: center;" width="60%"><h:outputText value="Descricao" /></rich:column>
    <rich:column style="text-align: center;" width="10%"><h:outputText value="-" /></rich:column>
    <rich:column style="text-align: center;" width="10%"><h:outputText value="-" /></rich:column>
    </rich:columnGroup>
    </f:facet>

    <rich:column style="text-align: center;">
    <h:outputText value="#{item.cdRegional}" />
    </rich:column>

    <rich:column style="text-align: center;">
    <h:outputText value="#{item.dsRegional}" />
    </rich:column>

    <rich:column style="text-align: center;">
    <h:commandLink action="#{regionalController.remove}" value="excluir">
    <f:param value="#{item.cdRegional}" name="codigo"/>
    </h:commandLink>
    </rich:column>

    <rich:column style="text-align: center;">
    <h:commandLink action="#{regionalController.edit}" value="editar">
    <f:param value="#{item.cdRegional}" name="codigo"/>
    </h:commandLink>
    </rich:column>

    </rich:dataTable>
    <rich:datascroller align="center" for="gridMain" maxPages="20" id="gridMainScroll" reRender="gridMain" />

    <h:commandLink action="#{regionalController.reload}" value="voltar" style="text-align: center;"/>

    </rich:panel>

    </h:panelGrid>
    </div>

    </h:form>

    </f:view>

    </body>
    <head>
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="-1">
    </head>
    </html>

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,242
    Rep Power
    19

    Default Re: Error JSF transfering project from jboss to tomcat 7.37

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    Join Date
    Mar 2013
    Posts
    3
    Rep Power
    0

    Default Re: Error JSF transfering project from jboss to tomcat 7.37

    I just can't find how to fix it please help me

  4. #4
    gimbal2 is online now Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,030
    Rep Power
    6

    Default Re: Error JSF transfering project from jboss to tomcat 7.37

    JBoss has JSF embedded, Tomcat does not so you are now deploying JSF with your application (but perhaps you always were). Which version? A Google for the error you get seem to indicate that you'll get this when using a version that is too old.

Similar Threads

  1. How to do connection pooling in Tomcat and JBoss
    By jason.3dmagic in forum JDBC
    Replies: 4
    Last Post: 02-17-2010, 01:36 PM
  2. Replies: 0
    Last Post: 01-03-2009, 10:00 AM
  3. Replies: 0
    Last Post: 05-28-2008, 10:36 AM
  4. Problem with tomcat and jboss
    By Alan in forum Eclipse
    Replies: 3
    Last Post: 05-08-2007, 06:18 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •