Merge branch 'master' of ssh://odb/home/gitroot/album

This commit is contained in:
Erik Forkalsrud 2009-01-17 15:31:47 -08:00
commit e08d11448e
3 changed files with 6 additions and 1 deletions

View file

@ -94,6 +94,7 @@ public class AlbumServlet
try {
res.setContentType("text/html");
req.setAttribute("entry", entry);
req.setAttribute("thmb", new Integer(640));
RequestDispatcher rd = req.getRequestDispatcher("/WEB-INF/velocity/photo.vm");
rd.forward(req, res);
} catch (Exception ex) {

View file

@ -0,0 +1,5 @@
velocimacro.permissions.allow.inline=true
velocimacro.permissions.allow.inline.to.replace.global=false
velocimacro.permissions.allow.inline.local.scope=true
velocimacro.context.localscope=false
velocimacro.library.autoreload=true

View file

@ -53,7 +53,6 @@
<hr/>
#if($entry.isFile())
#set($thmb = 480)
#set($dim = $entry.thumbnail.size.scaled($thmb))
#set($thpath = $mapper.map(${entry.thumbnail.getPath()}))
#set($enpath = $mapper.map(${entry.getPath()}))