Re: [Wicket-user] Date Picker in Modal Window

2006-09-15 Thread Matej Knopp
Dunno. It's web. What I'd do is that I'd let datepicker be and change the modal window content to page instead of panel. There are also other poblems with panel (hiding inputs in explorer), so for now I'd stick with page. -Matej Eelco Hillenius wrote: On 9/13/06, Igor Vaynberg [EMAIL

[Wicket-user] Date Picker in Modal Window

2006-09-13 Thread samyem
When the date picker is used in a modal window, the picker comes behind the modal window, making it unusuable. See http://www.nabble.com/user-files/235996/datepicker.png . Also, I am eagerly waiting for the earlier problem with date picker being unusable after an ajax refresh. -- View this

Re: [Wicket-user] Date Picker in Modal Window

2006-09-13 Thread samyem
Going a bit deeper into the problem, it looks like wicket picks up the z-index values in an arbitrary way. The components do not integrate enough to figure out the correct z-index values. For instance, the date picker is set at z-index 1000, while the modal window's mask is set to 2000 and so on.

Re: [Wicket-user] Date Picker in Modal Window

2006-09-13 Thread Eelco Hillenius
That probably has to do with the fact that the datepicker component was build on top of jscalendar, which is not maintained by Wicket's team. By now we acknowledge that many times it is actually a good idea to re-invent the wheel instead of building on such components... the problems we have with

Re: [Wicket-user] Date Picker in Modal Window

2006-09-13 Thread Igor Vaynberg
i think for now we can change the zindex of modal to 500 or something. but then if you have any jscalendars on the page that invokes the modal window they will show through :)-Igor On 9/13/06, Eelco Hillenius [EMAIL PROTECTED] wrote: That probably has to do with the fact that the datepicker

Re: [Wicket-user] Date Picker in Modal Window

2006-09-13 Thread Eelco Hillenius
On 9/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i think for now we can change the zindex of modal to 500 or something. but then if you have any jscalendars on the page that invokes the modal window they will show through :) Ugh. What do you think Matej? Eelco

Re: [Wicket-user] Date Picker in Modal Window

2006-09-13 Thread samyem
Most likely, there is no reason why a modal window would be invoked by a date picker, but the general problem of assuming random z-index is still valid. igor.vaynberg wrote: i think for now we can change the zindex of modal to 500 or something. but then if you have any jscalendars on the

Re: [Wicket-user] Date Picker in Modal Window

2006-09-13 Thread Eelco Hillenius
If a user clicks a button that opens a datepicker, and then clicks something else that shows the modal window, the datepicker will still show. Eelco Most likely, there is no reason why a modal window would be invoked by a date picker, but the general problem of assuming random z-index is still