ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler" <jeffgbut...@gmail.com>
Subject Re: 'total' property on ViewOrder.jsp not displaying
Date Fri, 24 Mar 2006 17:43:32 GMT
Is there a getTotal() method in LineItem.java?  Setting property to "total"
implies there should be (JavaBeans 101 - this bean:write tag would never
call the calculateTotal method).

Jeff Butler



On 3/24/06, Mike Wilson <mw9378@yahoo.com> wrote:
>
>  Hello,
>
> I have this code toward the bottom of the ViewOrder.jsp(newOrder.shtml):
> <*td*><bean:write name="item" property="quantity"/></*td*>
> <*td*><bean:write name="item" property="unitPrice" format="$#,##0.00"/></*
> td*>
> <*td*><bean:write name="item" property="total" format="$#,##0.00"/></td>
> The quantity and unitPrice are displaying, but I can't get the total to
> display. I checked the calculateTotal() function in the LineItem.java and
> it looks like it should be working. I'm assuming that this total should work
> the same as the cart total (which does work), so I'm stumped. Anyone have
> any ideas on it?
>
> Thanks in advance,
>  MW
>
> ------------------------------
> New Yahoo! Messenger with Voice.<http://us.rd.yahoo.com/mail_us/taglines/postman4/*http://us.rd.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com%0A>Call
regular phones from your PC for low, low rates.
>
>

Mime
View raw message