Hi David
 
Thanks a lot... for your quick response.
 
I did same as you suggest and it works. But I would like to have a 
clarification if I comment this debug log, will it harm at latter stage.
 
Regards
Rakesh

David Sean Taylor <[EMAIL PROTECTED]> wrote:
Tomba Rakesh wrote:
> INFO: Velocity [info] ResourceManager : found 
> /WEB-INF/view/selectors/user-portlet-selector.vm with loader 
> org.apache.velocity.tools.view.servlet.WebappLoader
> Aug 19, 2005 12:06:42 PM org.apache.catalina.core.ApplicationContext log
> INFO: Velocity [warn] Warning! The iterative is an Iterator in the #foreach() 
> loop at [0,0] in template /WEB-INF/view/selectors/user-portlet-selector.vm. 
> Because it's not resetable, if used in more than once, this may lead to 
> unexpected results.
> 
> How to handle this warning message?
> 
Easy answer: turn off warning level in velocity logging.

It appears they also log a warning whenever an iterator is used in 
#foreach loop. Have a look at the code:

http://mail-archives.apache.org/mod_mbox/jakarta-velocity-dev/200204.mbox/[EMAIL
 PROTECTED]

-- 
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


                
---------------------------------
 Start your day with Yahoo! - make it your home page 

Reply via email to