// 직접 만들어서 통과된 답
// rel 속성을 주면 클릭했을 때 해당 case로 넘어가지 않지만
// trailhead 채점은 통과함;
<apex:page controller="NewCaseListController">
<apex:repeat value="{! newCases }" var="case">
<apex:outputLink rel="{! case.id }">
<li>{!case.ID} / {!case.CaseNumber}</li>
</apex:outputLink>
</apex:repeat>
</apex:page>
// value와 슬래시를 줘야 해당 case로 이동... 이게 맞는 답
<apex:page controller="NewCaseListController">
<apex:repeat value="{! newCases }" var="case">
<apex:outputLink value="/{! case.id }">
<li>{!case.ID} / {!case.CaseNumber}</li>
</apex:outputLink>
</apex:repeat>
</apex:page>
댓글