params.put("prev-label", RequestCycle.get().urlFor(PREVLABEL_GIF));
params.put("next-label", RequestCycle.get().urlFor(NEXTLABEL_GIF));
// perform the substitution on our packaged template, and return the result...
PackagedTextTemplate template = new PackagedTextTemplate(LightboxBehavior.class, "resources/css/lightbox.css.template");
return template.asString(params);
}
/**
* Returns the string to be streamed back to the client, which in
* this case is the css content.