Hey Rafael!
You're mixing sakai.properties with velocity context attributes, unless you put in the context an attribute called "serverName" it will never be accessible through the VM template.
Here's an example of what you're missing:
If you want to display the "serverName" value in the template,
you have to put it in the context in the method that builds the
context of your template.
rcontext.put("serverName", ServerConfigurationService.getString("serverName"));
Miguel
--
You received this message because you are subscribed to the Google Groups "Sakai Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sakai-dev+...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/sakai-dev/a2c1dc00-cd3b-49e0-84fa-3321f4c14c2en%40apereo.org.
-- ----------------------------------------------- Miguel Pellicer CTO at EDF Website: https://www.edf.global LinkedIn: https://www.linkedin.com/in/mpellicer-edf Office Phone: +34 - 96 381 35 75 Request a meeting here: https://calendly.com/mpellicer -----------------------------------------------