/**
* @see javax.servlet.jsp.tagext.TagSupport
*/
public int doEndTag() throws JspTagException {
HandlerMarkupGenerator markupGenerator = (HandlerMarkupGenerator) Factory.lookup("org.jboss.dashboard.ui.components.HandlerMarkupGenerator");
Panel thePanel = getCurrentPanel();
if (getPanel() != null)
thePanel = thePanel.getSection().getPanel(getPanel());
String textToWrite = markupGenerator.getMarkupToPanelAction(thePanel, action);
try {
pageContext.getOut().print(textToWrite);
} catch (java.io.IOException ex) {
log.error("HiddenLinkTag error: " + textToWrite, ex);
}