[jboss-user] [JBoss Seam] - Re: <h:selectManyListbox> Creating problem
m.shinde
do-not-reply at jboss.com
Sat Apr 14 08:33:18 EDT 2007
Error:
17:57:58,928 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
javax.faces.FacesException: /editUsers.jsp(51,8) No tag "convertEntity" defined in tag library imported with prefix "s"
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:435)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
at org.jboss.seam.jsf.SeamViewHandler.renderView(SeamViewHandler.java:59)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.jasper.JasperException: /editUsers.jsp(51,8) No tag "convertEntity" defined in tag library imported with prefix "s"
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:196)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1317)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577)
at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1806)
at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1069)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1377)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577)
at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1806)
at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1069)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1377)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577)
at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1806)
at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1069)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1377)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577)
at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1806)
at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1069)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1377)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577)
at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1806)
at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1069)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1377)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577)
at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1806)
at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1069)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1377)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577)
at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
... 23 more
EditUsers.jsp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://jboss.com/products/seam/taglib" prefix="s"%>
<f:view>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252" />
assign
body {
background-color: #ffffff;
}
a:link { color: #003194; }
<h:form>
<h:panelGrid columns="1">
<h:panelGrid columns="1">
<h:outputLabel value="">
<f:verbatim>
<span lang="DE"
style='font-size:12.0pt;font-family: Arial;mso-fareast-font-family:"Times New Roman";mso-ansi-language:DE; mso-fareast-language:DE;mso-bidi-language:AR-SA'>
Benutzer anlegen/ändern
</f:verbatim>
</h:outputLabel>
</h:panelGrid>
<h:panelGrid columns="1">
<h:outputLabel value="Vorname" for="vorname" />
<h:inputText id="vorname" value="#{benutzer.vorname}" />
</h:panelGrid>
<h:panelGrid columns="1">
<f:verbatim>
<h:outputLabel value="Gruppen" for="gruppen" />
<h:selectManyListbox value="#{benutzer.gruppen}" id="gruppen">
<s:selectItems value="#{groupValues}" var="groups"
label="#{groups.name}" />
<s:convertEntity entityClass="de.bonprix.vip20.model.entity.Gruppe" />
</h:selectManyListbox>
</f:verbatim>
</h:panelGrid>
<h:panelGrid columns="2">
<h:commandButton value="Save" action="#{register.registerAction}" />
<h:commandButton value="commandButton2" />
</h:panelGrid>
</h:panelGrid>
</h:form>
</f:view>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037297#4037297
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037297
More information about the jboss-user
mailing list