private String createLinks() {
String[][] sections = bootstrap.getProperty(BootstrapContext.STANDALONE).equals("true") ? SECTIONS_STANADLONE : SECTIONS;
SafeHtmlBuilder headerString = new SafeHtmlBuilder();
if(sections.length>0)
{
headerString.appendHtmlConstant("<table border=0 class='header-links' cellpadding=0 cellspacing=0 border=0>");
headerString.appendHtmlConstant("<tr id='header-links-ref'>");
headerString.appendHtmlConstant("<td><img src=\"images/blank.png\" width=1/></td>");
for (String[] section : sections) {
final String name = section[0];
final String id = "header-" + name;
String styleClass = "header-link";
String styleAtt = "vertical-align:middle; text-align:center";
String td = "<td style='"+styleAtt+"' id='" + id +"' class='"+styleClass+"'></td>";
headerString.appendHtmlConstant(td);
//headerString.append(title);
//headerString.appendHtmlConstant("<td ><img src=\"images/blank.png\" width=1 height=32/></td>");
}
headerString.appendHtmlConstant("</tr>");
headerString.appendHtmlConstant("</table>");
headerString.appendHtmlConstant("<div id='subnavigation' style='float:right;clear:right;'/>");
}
return headerString.toSafeHtml().asString();
}