private void renderLink(HtmlWriter writer, String text, String action, String param, String value)
{
Map<String, Object> paramMap = null;
if (param != null)
{
paramMap = new Attributes();
paramMap.put(param, value);
}
// Render Link now
HtmlTag link = writer.startTag("a");
link.addAttribute("href", getUrl(action, paramMap));