You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Marc DeXeT (JIRA)" <co...@jakarta.apache.org> on 2005/01/06 10:54:14 UTC
[jira] Created: (JELLY-190) CLONE -New Tag for parallel iteration
CLONE -New Tag for parallel iteration
-------------------------------------
Key: JELLY-190
URL: http://issues.apache.org/jira/browse/JELLY-190
Project: jelly
Type: New Feature
Components: core / taglib.core
Versions: 1.0-beta-5
Environment: JDK 1.4_02 Windows XP
Reporter: Marc DeXeT
Priority: Minor
IterateTag is like org.apache.commons.jelly.tags.core.ForEachTag but can iterate over several collections. Where org.apache.commons.jelly.tags.core.ForEachTag iterate over one collection and set Value in one variable like :
<forEach var="oneVar" items="oneCollection">
<do something value="${oneVar}"/>
</forEach>
IterateTag is like :
<iterate var="var_1;var_2;...;var_P" items="Collection_1;Collection_2;....;Collection_P">
<do something value="${var_1} ${var_2} ${var_3}"/>
</iterate>
Each Collection points at next element at the same time.
Over the n iteration, for j = 1 to P : var_j = Collection_j.get(n);
IterateTag stop on the first ended collection, so n = Min( Collection_1.size(), ..., Collection_P.size());
--
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
[jira] Commented: (JELLY-190) CLONE -New Tag for parallel iteration
Posted by "Marc DeXeT (JIRA)" <co...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/JELLY-190?page=comments#action_57342 ]
Marc DeXeT commented on JELLY-190:
----------------------------------
Clone issue to put this to utils library. How to move to utils component in jira (Ooops ! I've done something bad ?!)
> CLONE -New Tag for parallel iteration
> -------------------------------------
>
> Key: JELLY-190
> URL: http://issues.apache.org/jira/browse/JELLY-190
> Project: jelly
> Type: New Feature
> Components: core / taglib.core
> Versions: 1.0-beta-5
> Environment: JDK 1.4_02 Windows XP
> Reporter: Marc DeXeT
> Priority: Minor
>
> IterateTag is like org.apache.commons.jelly.tags.core.ForEachTag but can iterate over several collections. Where org.apache.commons.jelly.tags.core.ForEachTag iterate over one collection and set Value in one variable like :
> <forEach var="oneVar" items="oneCollection">
> <do something value="${oneVar}"/>
> </forEach>
>
> IterateTag is like :
> <iterate var="var_1;var_2;...;var_P" items="Collection_1;Collection_2;....;Collection_P">
> <do something value="${var_1} ${var_2} ${var_3}"/>
> </iterate>
>
> Each Collection points at next element at the same time.
> Over the n iteration, for j = 1 to P : var_j = Collection_j.get(n);
> IterateTag stop on the first ended collection, so n = Min( Collection_1.size(), ..., Collection_P.size());
--
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
[jira] Updated: (JELLY-190) CLONE -New Tag for parallel iteration
Posted by "dion gillard (JIRA)" <co...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/JELLY-190?page=history ]
dion gillard updated JELLY-190:
-------------------------------
Component: taglib.util
(was: core / taglib.core)
> CLONE -New Tag for parallel iteration
> -------------------------------------
>
> Key: JELLY-190
> URL: http://issues.apache.org/jira/browse/JELLY-190
> Project: jelly
> Type: New Feature
> Components: taglib.util
> Versions: 1.0-beta-5
> Environment: JDK 1.4_02 Windows XP
> Reporter: Marc DeXeT
> Priority: Minor
>
> IterateTag is like org.apache.commons.jelly.tags.core.ForEachTag but can iterate over several collections. Where org.apache.commons.jelly.tags.core.ForEachTag iterate over one collection and set Value in one variable like :
> <forEach var="oneVar" items="oneCollection">
> <do something value="${oneVar}"/>
> </forEach>
>
> IterateTag is like :
> <iterate var="var_1;var_2;...;var_P" items="Collection_1;Collection_2;....;Collection_P">
> <do something value="${var_1} ${var_2} ${var_3}"/>
> </iterate>
>
> Each Collection points at next element at the same time.
> Over the n iteration, for j = 1 to P : var_j = Collection_j.get(n);
> IterateTag stop on the first ended collection, so n = Min( Collection_1.size(), ..., Collection_P.size());
--
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