List Info

Thread: wrong "last" value of varStatus in c:forEach




wrong "last" value of varStatus in c:forEach
user name
2007-10-24 04:01:35
Hi, in a context where c:forEach is used on an item array
which grows 
from request to request, I noticed that varStatus.last is
always true 
except for the very first item.
This occurs because in ComponentHandler.apply() there is an
attempt to 
find an existing component having a given id.
If found, then its entire variable mapping is used and
"last" is found 
true since coming from the previous round when it was really
the last.


------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )