От: | aka50 | ||
Дата: | 10.05.07 13:17 | ||
Оценка: |
public void render(IMarkupWriter writer, IRequestCycle cycle){
List attList = new ArrayList();
Attribute att = new Attribute("http-equiv", "Pragma");
attList.add(att);
att = new Attribute("Content", "NO-CACHE");
attList.add(att);
createMetaTag(writer, attributeList);
}
private void createMetaTag(IMarkupWriter writer, List atts){
writer.begin("meta");
for(int i=0;i<atts.size();i++){
Attribute att = (Attribute) atts.get(i);
writer.attribute(att.getName(), att.getValue());
}
writer.closeTag();
}
delegate If specified, the delegate is rendered before the close of the <head> tag. Typically, this is used to provide additional <meta> tags.