行の値が「GRANDTOTAL」と等しい場合はリンクを表示したい、それ以外の場合はプレーンテキストスニペットの下で試しましたがエラーが発生します
<display:table name="expScoreCardCol" export="true" pagesize="20" sort="list" id="data" requestURI="" class="tablelist">
<display:column title="Zone" sortable="true" property="zone"></display:column>
<display:column title="Non-HNI Total" sortable="true" property="nonhniTotal"></display:column>
<display:column title="Non-HNI Per %" sortable="true" property="nonhniPer"></display:column>
<%if(!${data.zone}=="GRAND TOTAL"){ %>
<display:column title="Grand Total" sortable="true">
<html:link action="/exceptionScoreCardGrandReport.do?zone=${data.zone}"><b>${data.grandTotal}</b></html:link>
</display:column>
<%} %>
</display:table>
エラー:
An error occurred at line: 270 in the generated java file
Syntax error, insert "while ( Expression ) ;" to complete DoStatement
An error occurred at line: 282 in the generated java file
Syntax error, insert "while ( Expression ) ;" to complete BlockStatements
An error occurred at line: 288 in the generated java file
Syntax error, insert "else Statement" to complete IfStatement
An error occurred at line: 288 in the generated java file
Syntax error, insert "}" to complete Block