}
}
String disableCloseLink = getActionExtraData(userSessionKey, "disableCloseLink");
if(disableCloseLink == null || !disableCloseLink.equals("true"))
actionLinks.add(new LinkBean("closeDialog", getLocalizedString(getLocale(), "tool.common.closeDialogLinkText"), getLocalizedString(getLocale(), "tool.common.closeDialogLinkTitle"), getLocalizedString(getLocale(), "tool.common.closeDialogLinkTitle"), "javascript:closeDialog();", true, ""));
//-----------------------------------------------------------
// Add any actionLinks submitted in the request
//-----------------------------------------------------------
if (actionLinkString != null)
{
elements = actionLinkString.split(";");
String attr1 = "";
String attr2 = "";
String attr3 = "";
String attr4 = "";
String attr5 = "";
String attr6 = "";
for (String element : elements)
{
values = element.split(",");
if (values.length > 0) attr1 = values[0];
if (values.length > 1) attr2 = values[1];
if (values.length > 2) attr3 = values[2];
if (values.length > 3) attr4 = values[3];
if (values.length > 4) attr5 = values[4];
if (values.length > 5) attr6 = values[5];
boolean isJavascriptLink = false;
if(attr5.indexOf("javascript:") > -1)
isJavascriptLink = true;
LinkBean myLinkBean = new LinkBean(attr1, attr2, attr3, attr4, attr5, isJavascriptLink, attr6);
actionLinks.add(myLinkBean);
}
}
return SUCCESS;