» Forums
» The DHTML Calendar
» General discussion
» Not selectable dates
» Error too much recursion when using tag
| Error too much recursion when using | |
| Hi every body. I'm developing a portlet in liferay. I want to have a textbox that is a date input. 1. Error too much recursion when using <liferay-ui:inputdate> tag: Errors follow when I bugged by Firebug in Firefox Browser: too much recursion d.__msh_oldSetFullYear(y); at calendar.js (line 1672) In jsp file I add following line: <%@ include file="/html/portlet/ext/hello_world/init.jsp" %> <%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %> Hello world! <br/> <liferay-ui:input-date yearRangeEnd="2010" yearRangeStart="2000"></liferay-ui:input-date> 2. I'm used dynarch calendar example in my portlet but I got same errors in session 1 above. I've modified code to link to js in liferay: <link rel="stylesheet" type="text/css" media="all" href="<%= themeDisplay.getPathContext() %>/html/css/skins/aqua/theme.css" title="Aqua" /> <link rel="alternate stylesheet" type="text/css" media="all" href="<%= themeDisplay.getPathContext() %>/html/css/calendar-blue.css" title="winter" /> <link rel="alternate stylesheet" type="text/css" media="all" href="<%= themeDisplay.getPathContext() %>/html/css/calendar-blue2.css" title="blue" /> <link rel="alternate stylesheet" type="text/css" media="all" href="<%= themeDisplay.getPathContext() %>/html/css/calendar-brown.css" title="summer" /> <link rel="alternate stylesheet" type="text/css" media="all" href="<%= themeDisplay.getPathContext() %>/html/css/calendar-green.css" title="green" /> <link rel="alternate stylesheet" type="text/css" media="all" href="<%= themeDisplay.getPathContext() %>/html/css/calendar-win2k-1.css" title="win2k-1" /> <link rel="alternate stylesheet" type="text/css" media="all" href="<%= themeDisplay.getPathContext() %>/html/css/calendar-win2k-2.css" title="win2k-2" /> <link rel="alternate stylesheet" type="text/css" media="all" href="<%= themeDisplay.getPathContext() %>/html/css/calendar-win2k-cold-1.css" title="win2k-cold-1" /> <link rel="alternate stylesheet" type="text/css" media="all" href="<%= themeDisplay.getPathContext() %>/html/css/calendar-win2k-cold-2.css" title="win2k-cold-2" /> <link rel="alternate stylesheet" type="text/css" media="all" href="<%= themeDisplay.getPathContext() %>/html/css/calendar-system.css" title="system" /> <!-- import the calendar script --> <script type="text/javascript" src="<%= themeDisplay.getPathContext() %>/html/js/calendar/calendar.js"></script> <!-- import the language module --> <script type="text/javascript" src="<%= themeDisplay.getPathContext() %>/html/js/calendar/lang/calendar-en.js"></script> Please help me. Thank you very much. | |














