myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Aranda <brunoara...@gmail.com>
Subject Re: x:inputCalendar && Firefox && body onload
Date Mon, 01 Aug 2005 16:47:22 GMT
> You are not using Subversion head, right?

> there is a fix for this problem checked in, so please revert to head or the nightly build.

> regards,

Ah, better :-) I detected this same issue some weeks ago but I forgot
about it completely! Thanks,

Bruno

2005/8/1, Bruno Aranda <brunoaranda@gmail.com>:
> None that I know of.  Could you open a JIRA issue with this bug?
> 
> Regards,
> 
> Bruno
> 
> 2005/8/1, Christian Froelich <C.Froelich@gmx.de>:
> > 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="css/basic.css">
> > </head>
> > <body onload="test();">
> >
> > <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
> >
>

Mime
View raw message