Changing Header.vm file on Locale change

2007-04-17 Thread santas
Hi What i want to do is that whenever i change Locale of my application depending on that locale i want to change my header.vm files contetnt for Meta tag. On my first page i am having one link that will chage my Locale of application now suppose i click on link and now new Locale is

Changing Header.vm file on Locale change

2007-04-17 Thread santas
Hi What i want to do is that whenever i change Locale of my application depending on that locale i want to change my header.vm files contetnt for Meta tag. On my first page i am having one link that will chage my Locale of application now suppose i click on link and now new Locale is

[jira] Commented: (VELOCITY-223) VMs that use a large number of directives and macros use excessive amounts of memory - over 4-6MB RAM per form

2007-04-17 Thread Alexey Panchenko (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489376 ] Alexey Panchenko commented on VELOCITY-223: --- Synchronization stringImagePool.get(image) should be

[jira] Commented: (VELOCITY-223) VMs that use a large number of directives and macros use excessive amounts of memory - over 4-6MB RAM per form

2007-04-17 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489392 ] Christopher Schultz commented on VELOCITY-223: -- Since Velocity already depends on

Re: Changing Header.vm file on Locale change

2007-04-17 Thread Nathan Bubna
Please don't cross-post. This is a user list question. Wait a few days to get a reply there before you try this list. On 4/16/07, santas [EMAIL PROTECTED] wrote: Hi What i want to do is that whenever i change Locale of my application depending on that locale i want to change my

[jira] Commented: (VELOCITY-223) VMs that use a large number of directives and macros use excessive amounts of memory - over 4-6MB RAM per form

2007-04-17 Thread Will Glass-Husain (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489416 ] Will Glass-Husain commented on VELOCITY-223: that makes sense to me. the memory issue is a good

[jira] Commented: (VELOCITY-223) VMs that use a large number of directives and macros use excessive amounts of memory - over 4-6MB RAM per form

2007-04-17 Thread Nathan Bubna (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489435 ] Nathan Bubna commented on VELOCITY-223: --- Oh, and to finish out my conversation with Lei, he acknowledged

Re: Changing Header.vm file on Locale change

2007-04-17 Thread Nathan Bubna
This looks like it might be a good situation to use the MultiViewsTool to find the appropriate header.vm file: http://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/view/i18n/MultiViewsTool.html I haven't used it myself, but my understanding is that you use it to find the

[jira] Commented: (VELOCITY-223) VMs that use a large number of directives and macros use excessive amounts of memory - over 4-6MB RAM per form

2007-04-17 Thread Nathan Bubna (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489434 ] Nathan Bubna commented on VELOCITY-223: --- Lei has tested and confirmed memory savings, and i see no reason to

[jira] Commented: (VELOCITY-223) VMs that use a large number of directives and macros use excessive amounts of memory - over 4-6MB RAM per form

2007-04-17 Thread Nathan Bubna (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489437 ] Nathan Bubna commented on VELOCITY-223: --- So, all told. I think if we drop the static Map for a ReferenceMap

Re: Need some help with running tests

2007-04-17 Thread Will Glass-Husain
Hi Supun, There's a couple of quirks here. Here's what I think the issue sare: (1) Ant can't find the junit jar for the junit task. That's because it doesn't look in the build classpath. Solutions (a) Use ant 1.7 which solves this problem or (b) copy junit.jar into the ant\lib library. Let

Re: Changing Header.vm file on Locale change

2007-04-17 Thread santas
Thanks for your reply but i think i missed one point here that i am not using velocity for my front end. I am using jsp with the portlets. And i think i cant use this #parse( ) here in jsp. I tryid solution but i don't know whether it is standard or not.