292388900 / myschedule

Automatically exported from code.google.com/p/myschedule
0 stars 0 forks source link

Dashboard Compilation errors: The method setTest(boolean) in the type IfTag is not applicable for the arguments (String) #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Deploy and configured myschedule 2.3.0 on JBoss  5.1.0.GA
2. Acess Dashboard link (IRI: myschedule/main/dashboard/list)
3. We will get an error:

In logs files we have:
2011-11-11 11:08:15,752 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/myschedule].[M
ainServlet]] (http-0.0.0.0-8080-3) Servlet.service() for servlet MainServlet 
threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 71 in the jsp file: 
/WEB-INF/jsp/main/dashboard/list.jsp
The method setTest(boolean) in the type IfTag is not applicable for the 
arguments (String)
68:     Are you sure you want to delete this schedulerMap configuration?
69:     </p>
70: </div>
71: <c:if test="not empty ${ sessionScope['flashMsg'] }">
72: <div id="flash-msg" class="${ sessionScope['flashMsg'].msgType }">
73:     <p><pre>${ sessionScope['flashMsg'].msg }</pre></p>
74: </div>

Probably myschedule 2.3.0 is to be deployed in a compatible Server 2.5 Container

Original issue reported on code.google.com by bruno.fs...@gmail.com on 11 Nov 2011 at 11:19

GoogleCodeExporter commented 8 years ago
Changed in line 71

<c:if test="not empty ${sessionScope['flashMsg']}>

To

<c:if test="${flashMsg != null}">

Original comment by bruno.fs...@gmail.com on 11 Nov 2011 at 11:53

GoogleCodeExporter commented 8 years ago
Hello Bruno.

Thank you for providing feedback. The flash msg is actually not in use yet, and 
it should be removed until it's fully implemented. If you want you can fully 
remove these few lines:

<c:if test="not empty ${ sessionScope['flashMsg'] }">
<div id="flash-msg" class="${ sessionScope['flashMsg'].msgType }">
    <p><pre>${ sessionScope['flashMsg'].msg }</pre></p>
</div>
</c:if>

The lastest file in source repository has already cleaned this up.
http://code.google.com/p/myschedule/source/browse/myschedule-web/src/main/webapp
/WEB-INF/jsp/main/dashboard/list.jsp

Original comment by saltnlight5 on 15 Nov 2011 at 11:57

GoogleCodeExporter commented 8 years ago
Fixed.

Original comment by saltnlight5 on 17 Nov 2011 at 3:54