there is a fix for this problem checked in, so please revert to head or the nightly build.
regards,
Martin
On 8/1/05, Christian Froelich <[EMAIL PROTECTED]> wrote:
Hi,
I spent several hours playing with x:inputCalendar and wondering
why this component does not work always under Firefox. I figured out
that x:inputCalendar doesn't work if it's inside a html-body tag
WITH A "onload" ATTRIBUTE.
Then I always got an ugly _javascript_ Error:
"jscalendarCrossobj has no properties"
This for example doesn't work until you remove the onload attribute
of the body tag:
-------------------------------------------------------------------------
<%@ page session="false" contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/extensions " prefix="x" %>
<html>
<head>
<script type="text/_javascript_">
function test(){
alert("test ALERT");
}
</script>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=UTF-8">
<title>__-- XXX --__</title>
<link rel="stylesheet" type="text/css" href=""
</head>
<body >
<f:view>
<h:form id="testForm" >
<x:inputCalendar monthYearRowClass="yearMonthHeader"
weekRowClass="weekHeader"
currentDayCellClass="currentDayCell" value="" renderAsPopup="true"
title="CALTITLE" id="CAL" immediate="false"
style="width: 185"
/>
</h:form>
</f:view>
</body>
</html>
-------------------------------------------------------------------------
Any reasons for that??
Best Regards,
Christian
--
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl

