You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/08/07 21:59:50 UTC
DO NOT REPLY [Bug 30519] New: -
[Core Tags] Add a var attribute to the Break tag.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30519>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30519
[Core Tags] Add a var attribute to the Break tag.
Summary: [Core Tags] Add a var attribute to the Break tag.
Product: Commons
Version: unspecified
Platform: All
URL: http://jira.codehaus.org/browse/MPANNOUNCEMENT-14
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Jelly
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: nagoya@felipeal.net
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 (posted in this bug's
URL):
<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>
If there is interest in such improvement, I will gladly write a patch for it (in
other words, if there is a committer willing to apply the patch, I will do it :-).
Felipe
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org