Thank you for your tipps and sorry for my late answer. I had much to do and wanted to check the code before I write something back. In the meantime we got a new CSS file and the calendar popups are working fine in IE after resetting some div...

The examples out of the myfaces repository are working on both: Firefox and IE. There I had no problem with the js script.

I think we have to be careful using css...

But, I have now a problem with Firefox popups to display them and this is because we use the "onload" tag and some own javascript init functions for the page. Now I checked the "popcalendar.js" code and the function jscalendarInit() is only called if there is no "window.onload" (onload tag) in the browser specified if no IE is used. This is why the variable "jscalendarBPageLoaded" still remains with the default value "false" and Firefox never executes this:

---------
function jscalendarPopUpCalendar(ctl, ctl2, format){
        if (jscalendarBPageLoaded){
        ....
---------

Is this right that I can't use the onload tag using Firefox?


Martin Marinschek wrote:
this occurs with IE only, right?

it's a known bug of the IE - you would need to go through the elements
of the form and render them invisible while displaying the
inputCalendar.

If you prepare a patch for the javaScript of inputCalendar which works
in IE and Firefox we would happily apply it!

regards,

Martin

On 9/9/05, Paul Klaer <[EMAIL PROTECTED]> wrote:

Hi,

I have a problem using the inputCalendar component. The popup window is
shown correctly and works fine but if there are some buttons on my form
the popup window is hidden by the buttons. The popup just appears in the
background.
How can I solve this problem? Using css and the z-index for the buttons
option doesn't solve the problem. How can I set the calendar popup
component to the foreground?
Is it a bug of the inputCalendar component?

Paul





Reply via email to