ふたりで

fullcalendar 응용? events에jstl을... 본문

Other

fullcalendar 응용? events에jstl을...

graykang 2020. 2. 20. 10:14
728x90
반응형
SMALL
events: [

            <c:forEach var="items" items="${requestScope.attList}" varStatus="status">

                {

                    title: '${items.statue}',

                    start: '${items.adate}'

                    <c:choose>

                        <c:when test="${items.statue=='결근'}">,color : '#FB5175'</c:when>

                        <c:when test="${items.statue=='지각'||items.statue=='조퇴'||items.statue=='외출'}">,color : '#dddddd'</c:when>

                        <c:otherwise>,color : '#337AB7' </c:otherwise>

                    </c:choose>

                },

            </c:forEach>

]
728x90
반응형
LIST
Comments