0
내가 특정 조건에 따라 NVelocity의 레코드를 인쇄하기 위해 노력하고있어 : 아래 NVelocity - 조건에 따라 기록을 인쇄
은 조각이 ... 기본적으로, 루프는 주소가 객체와 통해 현재의 adType을 경우 그것을 무시하는 것처럼 내가 ... 내 출력 HTML에서 "#break"를 얻고있다..
... "현재 주소", 다음 루프 밖으로 출구를 인쇄하고있다 NVelocity 버전 1.1.1을 가지고 있습니다.
감사합니다.
#foreach($spAddress in $Report.Spouse.Addresses)
#if($spAddress.AdType == "Current Address")
<tr>
<td width="23%">
<font size="2"><strong>$spAddress.AdType :</strong></font>
</td>
<td width="75%">
<font size="2">$spAddress.CivicNumber, $spAddress.StreetName,$spAddress.City, $spAddress.Province, $spAddress.PostalCode</font>
</td>
</tr>
#break
#end
#end