Fixed a broken jsp.

This commit is contained in:
dubtraxis 2003-10-24 03:06:04 +00:00
parent f634de10b7
commit 91c9c1a2fd
3 changed files with 8 additions and 5 deletions

View file

@ -222,6 +222,8 @@ public class Term extends BaseTerm implements Serializable, LexComponentNode
{ {
List list = findSiblings( component ); List list = findSiblings( component );
list.add( component ); list.add( component );
int precedence = list.indexOf( component );
component.setPrecedence( new Integer( precedence ) );
} }

View file

@ -5,7 +5,7 @@
<!--DEFINITION LOOP--> <!--DEFINITION LOOP-->
<c:set var="defintion" value="${ sessionScope.visit.helper.component }"/> <c:set var="definition" value="${ sessionScope.visit.helper.component }"/>
<p class="data"> <p class="data">
<c:if test="${ editMode }"> <c:if test="${ editMode }">

View file

@ -18,10 +18,6 @@
</h1> </h1>
<p class="data" > <p class="data" >
<strong><c:out value="${ sessionScope.visit.query.entry.term }" /></strong>
<c:set target="${ sessionScope.visit.helper }" property="component" value="${ sessionScope.visit.query.entry }" />
<jsp:include page="displayMeta.jsf" />
<c:if test="${ editMode }"> <c:if test="${ editMode }">
<span class="compEditOptions"> <span class="compEditOptions">
@ -36,6 +32,11 @@
</span> </span>
</c:if> </c:if>
<strong><c:out value="${ sessionScope.visit.query.entry.term }" /></strong>
<c:set target="${ sessionScope.visit.helper }" property="component" value="${ sessionScope.visit.query.entry }" />
<jsp:include page="displayMeta.jsf" />
<jsp:include page="displayNotes.jsf" /> <jsp:include page="displayNotes.jsf" />
</p> </p>