<%@ page  language="java" pageEncoding="utf-8"
          contentType="text/html;charset=utf-8" %>
<%@ taglib uri="/WEB-INF/weber-tagex.tld" prefix="cal" %>
<%@ taglib uri="/WEB-INF/weber-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/weber-bean.tld" prefix="bean" %>

<%@ page import="java.util.*" %>
<html>
<head>
<title>月間カレンダータグテスト1</title>
<% 
Calendar cal = Calendar.getInstance();
int year = cal.get(Calendar.YEAR);
int month = cal.get(Calendar.MONTH) + 1;
int day = cal.get(Calendar.DAY_OF_MONTH);
String date = year + "年" + month + "月" + day + "日";
%>

</head>
<body>
	(1) 単純なカレンダー表示<br>
	本日は<%= date %>です<BR>
	<cal:month celWidth ="14" celHeight ="16"/><br>
	<p>
	
	(2) カレンダー表示（アクションと連動）<br>
	<cal:month 
	calendar     = "cal"
	celWidth     = "120"
	celHeight    = "40"
	align        = "left"
	valign       = "top"
	headerStyle = "HEIGHT:20;FONT-SIZE:14;BACKGROUND:#eeffff;"
	dataStyle = "FONT-SIZE:16;BACKGROUND:white;"
	donichiStyle = "FONT-SIZE:16;BACKGROUND:pink;"
	holidayStyle = "FONT-SIZE:16;BACKGROUND:pink;"
	todayStyle = "FONT-SIZE:16;BACKGROUND:#FFFFCC;"
	path="/monthlyDate.do" 
	queryString="userName=hogehoge" 
	enable       = "true"
	paintClass = "org.itscool.tagextest.SampleMonthlyDrawComponent"
	/>
</body>
</html>
