ステートメントmod内の式を評価するのが難しい。<c:if>
<af:forEach begin="0" end="2" step="1" var="col" varStatus="columnStatus">
<c:set var="colIndex" value="${columnStatus.index}" scope="page" />
<trh:cellFormat width="33%" valign="top" halign="center" id="cf1">
<af:panelGroupLayout id="pgl4" layout="vertical" halign="center">
<af:iterator id="i1"
value="#{pageFlowScope.SkillsMatcherBean.candidateList}"
rows="#{pageFlowScope.SkillsMatcherBean.candidateListSize}"
var="row"
varStatus="rowStatus"
first="#{columnStatus.index}">
<c:if test="${rowStatus.index mod 3 == '${columnStatus.index}'}">
<af:group id="g1">
<af:outputText value="index" id="ot6"/>
<af:outputText value=" #{rowStatus.index}" id="ot2"/>
<af:outputText value="end" id="ot7"/>
<af:outputText value=" #{columnStatus.index}" id="ot3"/>
<af:outputText value="count" id="ot13"/>
<af:outputText value=" #{rowStatus.index % 3}" id="ot5"/>
<af:outputText value="#{test}" id="ot1"/>
<af:spacer width="10" height="5" id="s1"/>
</af:group>
</c:if>
</af:iterator>
</af:panelGroupLayout>
</trh:cellFormat>
</af:forEach>
varStatus外側のループ変数をとして"columnStatus"、内側のループvarStatus変数をとして2つのイテレータループがあります"rowStatus"。
columnStatus0〜2の
rowStatusスパン1〜18のスパン
上記の式では、rowStatus.index mod 3常にに評価され0ます。%とで試しましたmod。
私はを使用してJdev 11.1.1.6います。
これを実現する方法を教えてください。
ありがとうございました