J
JumpingOffPlace
I've spent FAR too much time trying to figure this out...PLease help!
The goal of the following code is to retrieve a very simple arraylist
and display it in a drop down menu. The reason I am doing it this way
is because the selections need to be stored in the DB and the code that
comprises them to work. Anyway, this is the code:
This one WORKS!
<tr>
<td align="left">
<label:label key="branchingRuleBean.type" message="Operand"
resource="false" />
</td>
<td align="left">
<html:select property="branchingRuleBean.type">
<c:forEach var="branchingRuleOperand" items="${operandsList}">
<html
ption
value="${branchingRuleOperand.operandComponentPath}">
<c
ut value="${branchingRuleOperand.operand}"/>
</html
ption>
</c:forEach>
</html:select>
</td>
</tr>
This one Doesn't....
<tr>
<td align="left">
<label:label key="branchingRuleBean.relationship"
message="Relationship" resource="false" />
</td>
<td align="left">
<html:select property="branchingRuleBean.relationship">
<c:forEach var="branchingRuleRelationship"
items="${relationshipList}">
<html
ption
value="${branchingRuleRelationship.relationshipPath}">
<c
ut value="${branchingRuleRelationship.relationship}"/>
</html
ption>
</c:forEach>
</html:select>
</td>
</tr>
What the JSP page SHOULD display is a drop down menu with the options
"and" and "or". Just above this one in my code I have another-
identical to this- obviously the "name" is different, but it works just
fine- and I can't figure out why this one doesn.t I've checked
everything I can possibly think of- case sensitivity, exc and am
finding nothing. What am I missing??? PLEASE HELP!
The goal of the following code is to retrieve a very simple arraylist
and display it in a drop down menu. The reason I am doing it this way
is because the selections need to be stored in the DB and the code that
comprises them to work. Anyway, this is the code:
This one WORKS!
<tr>
<td align="left">
<label:label key="branchingRuleBean.type" message="Operand"
resource="false" />
</td>
<td align="left">
<html:select property="branchingRuleBean.type">
<c:forEach var="branchingRuleOperand" items="${operandsList}">
<html
value="${branchingRuleOperand.operandComponentPath}">
<c
</html
</c:forEach>
</html:select>
</td>
</tr>
This one Doesn't....
<tr>
<td align="left">
<label:label key="branchingRuleBean.relationship"
message="Relationship" resource="false" />
</td>
<td align="left">
<html:select property="branchingRuleBean.relationship">
<c:forEach var="branchingRuleRelationship"
items="${relationshipList}">
<html
value="${branchingRuleRelationship.relationshipPath}">
<c
</html
</c:forEach>
</html:select>
</td>
</tr>
What the JSP page SHOULD display is a drop down menu with the options
"and" and "or". Just above this one in my code I have another-
identical to this- obviously the "name" is different, but it works just
fine- and I can't figure out why this one doesn.t I've checked
everything I can possibly think of- case sensitivity, exc and am
finding nothing. What am I missing??? PLEASE HELP!