private Decorator getByProperty(HttpServletRequest request, Page p, String name) { if (p.isPropertySet(name)) { return getNamedDecorator(request, p.getProperty(name)); } return null; } }
public void process(Tag tag) { String id = tag.getAttributeValue("id", true); if (!page.isPropertySet("_sitemesh.removefrompage." + id)) { currentBuffer().append(page.getProperty(id)); } } });