Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to set a value in Velocity $i18n?

Bahar Çağlar
Contributor
October 22, 2012

Is there a setText() or something like method for setting velocity values in vm.

To get for example: $i18n.getText("plugin.license.valid")

What about set?

Thanks

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 22, 2012

Are you talking about setting a variable name?

#set ($somevar = "Some Value")

Bahar Çağlar
Contributor
October 22, 2012

No, I mean a value in a properties file.

In properties file, I have: plugin.license.valid=false

I want to set it to true. Is it possible? :)

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 22, 2012

You will have to change it in properties. You can't change it dynalically :)

TAGS
AUG Leaders

Atlassian Community Events