Thank Stefan, I will try this one out. Sajeev
Stefan Lindner wrote: > > I think this is a general IE problem. The ModalWindow maintainers have > taken care of this only for one level (modal window opended on a normal > window). In this case all dropdowns are hidden befere the model window > opens and re-displayed afterwards. > This was an error message 2 or 3 weeks before but the wickt gurus only > stated "crazy what people are doing with wicket" :-) > If work around this problem by hiding the dropdowns and re-displying them > by myself. I use some code like > > > private List<Boolean> visibilityBeforeHide; > > private List<Component>hideThemBefore; > > if (visibilityBeforeHide == null) > > visibilityBeforeHide = new ArrayList<Boolean>(); > > else > > visibilityBeforeHide.clear(); > > for (Component c : hideThemBefore) { > > visibilityBeforeHide.add(c.isVisible()); > > c.setVisible(false); > > target.addComponent(c); > > } > > > > modalWindow.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() > { > > private static final long serialVersionUID = 1L; > > public void onClose(AjaxRequestTarget target) { > > int i = 0; > > for (Component c : hideThemBefore) { > > c.setVisible(visibilityBeforeHide.get(i).booleanValue()); > > target.addComponent(c); > > i++; > > } > > // You must add the parent panel (the panel that opende the popup > window) to the target > > // The components will not be re-displayed otherwise. > > target.addComponent(<parent panel>); > > } > > modalWindow.show(target); > > > > > >> I am having a strange problem in IE 6.0 with modal windows. The use case >> follows: >> I have one modal window with drop downs and I have another modal window >> called from first modal window, when the second modal window opens I can >> see >> the drop downs from the first modal window in the second. I have tried >> setting the cookie name, but no change. The same works on IE 7.0 and >> Mozilla >> 2.0. I am unable to figure out the issue. Has someone encountered the >> same >> issue, please help me. >> >> Thanks, >> Sajeev > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/Re%3A-Multiple-Modal-Windows-%28sunraider%29-tf3506355.html#a9815983 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user