Witam,
Próbuje użyć kontrolki z jquery ui. Niestety u mnie po kliknięciu w pole nie wysuwa się kalendarz tak jak tutaj: https://jqueryui.com/datepicker/. Jak to prawidłowo podlinkować?
layout.jsp
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-with, initial-scale=1.0"/>
<link href="${pageContext.servletContext.contextPath}/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="${pageContext.servletContext.contextPath}/resources/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet">
<link href="${pageContext.servletContext.contextPath}/resources/bootstrap/css/styles.css" rel="stylesheet">
<script type="text/javascript" src="${pageContext.servletContext.contextPath}/resources/jquery/jquery-ui.min.js"></script>
<script type="text/javascript" src="${pageContext.servletContext.contextPath}/resources/jquery/jquery-1.11.3.min.js"></script>
<title><tiles:getAsString name="title"/></title>
</head>
<body>
test.jsp
<html>
<head>
<script type="text/javascript" src="${pageContext.servletContext.contextPath}/resources/jquery/jquery-ui.min.js"></script>
<script type="text/javascript" src="${pageContext.servletContext.contextPath}/resources/jquery/jquery-1.11.3.min.js"></script>
<script>
$(function () {
$("#datepicker").datepicker();
});
</script>
</head>
</html>
<div class="test">
<p>Date: <input type="text" id="datepicker"></p>
</div>
<mvc:resources mapping="/resources/**" location="/WEB-INF/resources/"/>