// link to a short glossary definition modal or main glossary window
} else if (wicketId.startsWith("glossaryLink_")) {
IModel<String> wordModel = new Model<String>(elt.getAttribute("word"));
String glossaryLinkType = ISIApplication.get().getGlossaryLinkType();
if (glossaryLinkType.equals(ISIApplication.GLOSSARY_TYPE_MODAL) && pageHasMiniGlossary() && miniGlossaryModal != null) {
return new MiniGlossaryLink(wicketId, wordModel, miniGlossaryModal);
} else if (glossaryLinkType.equals(ISIApplication.GLOSSARY_TYPE_INLINE)) {
return new EmptyPanel(wicketId);
} else {