Validation error. "commandButton" must have value or image attributes.
Issue
-
Using JSF a JSP throws the following exception:
ERROR [io.undertow.request] (default task-96) UT005023: Exception handling request to /xxxxx.jsp: org.apache.jasper.JasperException: <h3>JBWEB004208: Validation error messages from TagLibraryValidator for h in /xxxxx.jsp</h3><p>null: Validation error. "commandButton" must have value or image attributes. </p> at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:57) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:278) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:75) at org.apache.jasper.compiler.Validator.validateXmlView(Validator.java:1878) at org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1825) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:218) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:354) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:321) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:652) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6
- 7
- Java Server Faces (JSF)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.