<%--繰り返し処理--%>
<c:if test="${pointHistoryList != null}">
<c:forEach var="history" items="${pointHistoryList}" varStatus="status">
<tr align=center>
<td><fmt:formatDate value="${dateAndTime[status.index]}" pattern="yyyy年MM月dd日HH時mm分ss秒"/></td>
<td><c:out value="${pointData[status.index].memberId}" /></td>
<%--正、負記号を付与するかの条件(ポイント増値)--%>
<c:choose>
<%--0の場合は0--%>
<c:when test="${history.pointChange == 0}">
<td><c:out value="0"/></td>
</c:when>
<c:otherwise>
<%--正数なら"+"記号を,負数なら"-"記号をつけるフォーマット--%>
<td><fmt:formatNumber value="${history.pointChange}" pattern="+#,###,##0;-#,###,##0"/></td>
</c:otherwise>
</c:choose>
<td><fmt:formatNumber value="${history.point}" groupingUsed="true"/></td>
</tr>
</c:forEach>
</c:if>
<%--繰り返し処理(end)--%>
最終更新:2007年03月05日 16:54