Fieldlanguagesvalues labelid667 = Fieldmanagment.getInstance().getFieldByIdAndLanguage(new Long(667), default_lang_id);
Fieldlanguagesvalues labelid668 = Fieldmanagment.getInstance().getFieldByIdAndLanguage(new Long(668), default_lang_id);
/* lets make a Context and put data into it */
VelocityContext context = new VelocityContext();
context.put("username", username);
context.put("userpass", userpass);
context.put("mail", email);
context.put("verification_url", verification_url);
context.put("labelid506", labelid506.getValue());
context.put("labelid507", labelid507.getValue());
context.put("labelid508", labelid508.getValue());
context.put("labelid509", labelid509.getValue());
context.put("labelid510", labelid510.getValue());
context.put("labelid511", labelid511.getValue());
context.put("labelid667", labelid667.getValue());
context.put("labelid668", labelid668.getValue());
/* lets render a template */
StringWriter w = new StringWriter();
Velocity.mergeTemplate(templateNameVerification, "UTF-8", context, w );