You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Alf Felis <Al...@gmx.de> on 2009/11/20 14:51:31 UTC

[Tobago] Script error - tx:date

Hi all,

I noticed an error using "tx:date" with IE 6.0 (FF works fine) in Version myfaces-tobago-1.0.24-SNAPSHOT-dist.zip (from today).

Using this testpage

-------------------------
<%@ taglib uri="http://myfaces.apache.org/tobago/component" prefix="tc"%>
<%@ taglib uri="http://myfaces.apache.org/tobago/extension" prefix="tx"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>

<f:view>
    <tc:page>
        <tx:date value="" label="Testdate" />
    </tc:page>
</f:view>
-------------------------

shows the following javascript error (in german) when clicking the datepicker:

-------------------------
Es ist ein Laufzeitfehler aufgetreten.
Soll der Debugmodus gestartet werden?

Zeile: 1044
Fehler: Das Steuerelement kann den Focus nicht erhalten, da dieses unsichtbar oder nicht aktiviert ist oder keinen Focus zuläßt.
-------------------------

After approving the error dialog and pressing "ok/cancel" in the datepicker, the date will be set and everything seems to be ok.

Tobago version myfaces-tobago-1.0.23-dist.zip works perfectly in this case :)

Best regards

Alf

-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser