Open GoogleCodeExporter opened 9 years ago
sorry I meant by show the ''right'' info
<display:column property="product.price" titleKey="product.price" />
Original comment by lhkh...@gmail.com
on 21 May 2010 at 10:31
Can you add the total column to it?
Original comment by benli3...@gmail.com
on 21 May 2010 at 2:21
<c:set var="i" value="${0}"/>
<c:forEach var="c" items="${shoppingItems}">
<c:set var="i" value="${i+c.total}"/>
</c:forEach>
<li class="label"><fmt:message key="cart.sub.total" /> : $ ${i}</li>
I have the code above using it and working on cart.jsp, however not working on
confirm.jsp. I even added the
formBackingObject on confirmcontroller.
Original comment by lhkh...@gmail.com
on 22 May 2010 at 5:31
you can use the alternative,
do the total in the controller instead of in the jsp file so you can just use
<c:out value="${}" /> instead.
Original comment by benli3...@gmail.com
on 22 May 2010 at 7:45
you mean in the handleRequest()? or I have to return the variable?
Original comment by lhkh...@gmail.com
on 23 May 2010 at 7:44
you can add it to ModelAndView object or the map object (referenceOBjects
function
Original comment by benli3...@gmail.com
on 23 May 2010 at 6:51
Original issue reported on code.google.com by
lhkh...@gmail.com
on 21 May 2010 at 10:26