[jira] Commented: (VELOCITY-502) Skip jar verification unless "force.jar.loading" is true

2006-11-29 Thread Claude Brisson (JIRA)
[ http://issues.apache.org/jira/browse/VELOCITY-502?page=comments#action_12454266 ] Claude Brisson commented on VELOCITY-502: - Le mardi 28 novembre 2006 à 12:14 -0800, Henning Schmiedehausen (JIRA) a écrit : > I tried ant -Dforce.jar.loa

problem with retrieving values from HashMap in the VTL.

2006-11-29 Thread abhishek verma
Hi, I am a new user for Velocity. i have passed one HashMap instance in the VelocityContext. like :- VelocityContext context = new VelocityContext(); context.put("Service", map); where map is the instance of a HashMap which contain key as a String and Value as a ArrayList. Now in the Templete fil

[jira] Assigned: (VELOCITY-504) Call to evaluate inside of macro fails with 1.5 beta2

2006-11-29 Thread Henning Schmiedehausen (JIRA)
[ http://issues.apache.org/jira/browse/VELOCITY-504?page=all ] Henning Schmiedehausen reassigned VELOCITY-504: --- Assignee: Henning Schmiedehausen > Call to evaluate inside of macro fails with 1.5 beta2 > -

[jira] Commented: (VELOCITY-504) Call to evaluate inside of macro fails with 1.5 beta2

2006-11-29 Thread Henning Schmiedehausen (JIRA)
[ http://issues.apache.org/jira/browse/VELOCITY-504?page=comments#action_12454465 ] Henning Schmiedehausen commented on VELOCITY-504: - Without any looking at your example or the source code, I'd bet that this is related to VELOC

[jira] Commented: (VELOCITY-504) Call to evaluate inside of macro fails with 1.5 beta2

2006-11-29 Thread Reggie Riser (JIRA)
[ http://issues.apache.org/jira/browse/VELOCITY-504?page=comments#action_12454472 ] Reggie Riser commented on VELOCITY-504: --- I tried setting "velocimacro.context.localscope = true" in velocity.properties in my attached example, but that m

Re: problem with retrieving values from HashMap in the VTL.

2006-11-29 Thread Will Glass-Husain
Hi. If you use the #foreach, it will iterate through all the values #foreach($item in $Service) do something with $item #end WILL On 11/29/06, abhishek verma <[EMAIL PROTECTED]> wrote: Hi, I am a new user for Velocity. i have passed one HashMap instance in the VelocityContext. like :- Veloci

svn commit: r480849 - /jakarta/velocity/tools/trunk/src/java/org/apache/velocity/tools/view/context/ChainedContext.java

2006-11-29 Thread nbubna
Author: nbubna Date: Wed Nov 29 22:19:04 2006 New Revision: 480849 URL: http://svn.apache.org/viewvc?view=rev&rev=480849 Log: add getToolbox() for read-only access to the context's tools Modified: jakarta/velocity/tools/trunk/src/java/org/apache/velocity/tools/view/context/ChainedContext.jav

svn commit: r480851 - /jakarta/velocity/tools/trunk/src/java/org/apache/velocity/tools/view/servlet/VelocityViewServlet.java

2006-11-29 Thread nbubna
Author: nbubna Date: Wed Nov 29 22:20:01 2006 New Revision: 480851 URL: http://svn.apache.org/viewvc?view=rev&rev=480851 Log: improve default error message by including request path and html-escaping the exception Modified: jakarta/velocity/tools/trunk/src/java/org/apache/velocity/tools/vie

svn commit: r480853 - /jakarta/velocity/tools/trunk/src/java/org/apache/velocity/tools/view/tools/ContextTool.java

2006-11-29 Thread nbubna
Author: nbubna Date: Wed Nov 29 22:21:21 2006 New Revision: 480853 URL: http://svn.apache.org/viewvc?view=rev&rev=480853 Log: initial revision of a ContextTool to simplify working with a ViewContext or ChainedContext in templates Added: jakarta/velocity/tools/trunk/src/java/org/apache/veloc

svn commit: r480856 - /jakarta/velocity/tools/trunk/src/java/org/apache/velocity/tools/view/tools/ContextTool.java

2006-11-29 Thread nbubna
Author: nbubna Date: Wed Nov 29 22:38:50 2006 New Revision: 480856 URL: http://svn.apache.org/viewvc?view=rev&rev=480856 Log: fix a problem with getKeys() and improve javadoc Modified: jakarta/velocity/tools/trunk/src/java/org/apache/velocity/tools/view/tools/ContextTool.java Modified: jak