Results 1 to 2 of 2

Thread: JSTL issue with version 2 final release.

  1. #1
    Join Date
    Jul 2006
    Posts
    21

    Default JSTL issue with version 2 final release.

    I recently upgraded to version 2 of Spring, and I am having trouble with a very simply JSTL.
    The following code is a standard error message display.
    It works fine under the release candidates, but not under the final Version 2 release.

    Code:
    <c:if test="${not empty messages}">
    	<span id="messages" name="messages" class="message" >
    		<c:forEach var="aMessage" items="${messages}">
    			<br/><c:out value="${aMessage}" />
    		</c:forEach>
    	</span>
    </c:if>
    Any ideas what might be wrong?

  2. #2
    Join Date
    Jul 2006
    Posts
    21

    Default

    As an update, if I change the name of the attribute to something else, such as "mymessages", it seems to work fine.

Posting Permissions

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