The problem I found with this is that the zindex is set within the javascript of the autocomplete component. So trying to change the zindex related to the automcomplete css is pointless since the js will always set it back via hard-coded style.
You could try lowering the ModalWindow zIndex value (which never worked for me) or tweaking the wicket-autocomplete.js file (which I would normally NEVER recommend). jdk-1.4\wicket-extensions\src\main\java\org\apache\wicket\extensions\ajax\markup\html\autocomplete\wicket-autocomplete.js But it does resolve the problem, since I have had the same exact problem The JS line in question is is 163: choiceDiv.style.zIndex = "10000"; I just removed this line and set the css now in my own code. Just my 2 cents. /Don igor.vaynberg wrote: > > css it with a higher zindex then the window? > > -igor > > > On Nov 9, 2007 12:07 AM, Cristi Manole <[EMAIL PROTECTED]> wrote: >> Hello, >> >> I am trying to make a modal window with an autocomplete text field >> using regular wicket classes. >> >> The problem is the autocomplete list gets rendered behind the modal >> window so it is not visible. >> >> Is there a way to make it appear on top of it? >> >> Tks in advance, >> Cristi >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Autocomplete-on-a-modal-window-tf4776325.html#a13671402 Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
