66 lines
4.3 KiB
Text
66 lines
4.3 KiB
Text
|
<%@ page import="org.thdl.lex.*,org.thdl.lex.component.*" buffer="512kb" autoFlush="false" %>
|
||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<!--SUBDEFINITION-->
|
||
|
<c:set var="subdefinition" value="${ sessionScope.visit.helper.component }"/>
|
||
|
<p class="data">
|
||
|
|
||
|
<c:if test="${ editMode }">
|
||
|
<span class="compEditOptions">
|
||
|
|
||
|
<c:out value='<a href="/lex/action?cmd=getAnnotationForm&comp=subdefinition&metaId=${ subdefinition.metaId }" title="Add Analytical Note"><img alt="Add Analytical Note" src="/lex/images/note.gif"/></a>' escapeXml="false" />
|
||
|
<c:out value='<a href="/lex/action?cmd=getUpdateForm&comp=subdefinition&metaId=${ subdefinition.metaId }" title="Edit this subdefinition"><img alt="Edit this subdefinition" src="/lex/images/edit.gif"/></a>' escapeXml="false" />
|
||
|
<c:out value='<a href="/lex/action?cmd=getTranslationForm&comp=subdefinition&parentId=${subdefinition.parentId}&translationOf=${subdefinition.metaId}" title="Translate this subdefinition"><img alt="Translate this subdefinition" src="/lex/images/trans.gif"/></a>' escapeXml="false" />
|
||
|
<c:out value='<a href="/lex/action?cmd=getInsertForm&comp=keyword&parentId=${subdefinition.metaId}" title="Add a Keyword"><img alt="Add a Keyword" src="/lex/images/key.gif"/></a>' escapeXml="false" />
|
||
|
<c:out value='<a href="/lex/action?cmd=getInsertForm&comp=modelSentence&parentId=${subdefinition.metaId}" title="Add a Model Sentence"><img alt="Add a Model Sentence" src="/lex/images/sent.gif"/></a>' escapeXml="false" />
|
||
|
<c:out value='<a href="/lex/action?cmd=getInsertForm&comp=translationEquivalent&parentId=${subdefinition.metaId}" title="Add a Translation Equivalent"><img alt="Add a Translation Equivalent" src="/lex/images/trans-eqv.gif"/></a>' escapeXml="false" />
|
||
|
<c:out value='<a href="/lex/action?cmd=getInsertForm&comp=relatedTerm&parentId=${subdefinition.metaId}" title="Add a Related Term"><img alt="Add a Related Term" src="/lex/images/rel-term.gif"/></a>' escapeXml="false" />
|
||
|
<c:out value='<a href="/lex/action?cmd=getInsertForm&comp=passage&parentId=${subdefinition.metaId}" title="Add a Passage"><img alt="Add a Passage" src="/lex/images/pass.gif"/></a>' escapeXml="false" />
|
||
|
<c:out value='<a href="/lex/action?cmd=getInsertForm&comp=speechRegister&parentId=${subdefinition.metaId}" title="Add a Speech Register"><img alt="Add a Speech Register" src="/lex/images/reg.gif"/></a>' escapeXml="false" />
|
||
|
<c:out value='<a href="/lex/action?cmd=getRemoveForm&comp=subdefinition&metaId=${ subdefinition.metaId }&parentId=${subdefinition.parentId}" title="Remove this subdefinition"><img alt="Remove this subdefinition" src="/lex/images/remove.gif"/></a>' escapeXml="false" />
|
||
|
|
||
|
</span>
|
||
|
</c:if>
|
||
|
|
||
|
<c:out value="${ subdefinition.subdefinition }" escapeXml="false" />
|
||
|
|
||
|
<jsp:include page="displayMeta.jsf" />
|
||
|
|
||
|
</p>
|
||
|
|
||
|
<c:if test="${sessionScope.visit.helper.showTranslations }">
|
||
|
<c:set value="${subdefinition.translations}" target="${sessionScope.visit.helper}" property="collection"/>
|
||
|
<c:if test="${ sessionScope.visit.helper.collectionSize > 0 }">
|
||
|
<h3>Translations</h3>
|
||
|
<ul>
|
||
|
<c:forEach var="translation" items="${ subdefinition.translations }" >
|
||
|
<li>
|
||
|
<p class="data">
|
||
|
|
||
|
<c:if test="${ editMode }">
|
||
|
<span class="compEditOptions">
|
||
|
<c:out value='<a href="/lex/action?cmd=getUpdateForm&comp=subdefinition&metaId=${ translation.metaId }&translationOf=${ translation.translationOf }&parentId=${ translation.parentId }" title="Edit this subdefinition"><img alt="Edit this subdefinition" src="/lex/images/edit.gif"/></a>' escapeXml="false" />
|
||
|
<c:out value='<a href="/lex/action?cmd=getRemoveForm&comp=subdefinition&metaId=${ translation.metaId }&translationOf=${ translation.translationOf }&parentId=${ translation.parentId }" title="Remove this subdefinition"><img alt="Remove this subdefinition" src="/lex/images/remove.gif"/></a>' escapeXml="false" />
|
||
|
</span>
|
||
|
</c:if>
|
||
|
|
||
|
<c:out value="${ translation.subdefinition }" escapeXml="false" />
|
||
|
|
||
|
<c:set target="${ sessionScope.visit.helper }" property="component" value="${ translation }" />
|
||
|
<jsp:include page="displayMeta.jsf" />
|
||
|
</p>
|
||
|
</li>
|
||
|
</c:forEach>
|
||
|
</ul>
|
||
|
</c:if>
|
||
|
</c:if>
|
||
|
|
||
|
<jsp:include page="displayNotes.jsf" />
|
||
|
|
||
|
|
||
|
</p>
|
||
|
|