You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by co...@jakarta.apache.org on 2004/08/12 06:40:20 UTC

[jira] Assigned: (JELLY-115) [PATCH] Add a var attribute to the Break tag.

Message:

   The following issue has been re-assigned.

   Assignee: dion gillard (mailto:dion@apache.org)
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JELLY-115

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JELLY-115
    Summary: [PATCH] Add a var attribute to the Break tag.
       Type: Improvement

     Status: Open
   Priority: Minor

    Project: jelly
 Components: 
             core / taglib.core

   Assignee: dion gillard
   Reporter: Felipe Leme

    Created: Sat, 7 Aug 2004 2:12 PM
    Updated: Wed, 11 Aug 2004 9:39 PM

Description:
It would be nice if the Break tag could inform if it broke its parent forEach tag. 

Here is an example that could be applied to a Maven plugin (http://jira.codehaus.org/browse/MPANNOUNCEMENT-14):

<j:forEach var="version" items="${pom.versions}">
  <j:break var="foundTag" test="${version.id==versionVariable}"/>
</j:forEach>
<j:if test="${!foundTag}"> 
  // core here
</j:if>

I will provide a patch later, once I'm back home.

Felipe



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org