c:when条件を入力タグのvalue属性内で使用する方法は?
<input id="textid" type="button" value="">
'値'で。私が欲しいのは
<c:when test="${texttest == 'Y'}"> Add </c:when>
<c:otherwise> Edit </c:otherwise>
textestが「Y」の場合は値を「追加」、それ以外の場合は「編集」にする必要があります。
c:when条件を入力タグのvalue属性内で使用する方法は?
<input id="textid" type="button" value="">
'値'で。私が欲しいのは
<c:when test="${texttest == 'Y'}"> Add </c:when>
<c:otherwise> Edit </c:otherwise>
textestが「Y」の場合は値を「追加」、それ以外の場合は「編集」にする必要があります。