I have an interface where I am needing to nest a ModalWindow inside another
ModalWindow. I am having problems when the user submits the form in the
inner window (Ajax Debugger: "ERROR: Trying to submit form with id
'panelForm28' that is not in document."). I believe that the call of
document.getElementById('panelForm28') in the wicket-ajax.js: Wicket.$ =
function(arg)... is returning null or undefined. The page reacts
differently based on if I click the button or press enter and it reacts
differently in each browser (IE/FF) when I move the first modal inside a
form in the initial page and when I move it outside the form. For example:
<form>
<div wicket:id="modal" />
</form>
vs.
<form>
...
</form>
<div wicket:id="modal" />
What I need is to be able to have the enter key press or the button click to
work for both IE and FireFox browsers. I am attaching a Quickstart done in
Wicket 1.3.4, but I have replicated it in 1.4m2 and 1.4m3 as well.
Here is the basic process:
click in page > opens first modal > click in first modal > opens second
modal inside the first modal > submit second modal form
http://www.nabble.com/file/p19925848/nestedmodals_1.3.4.zip
nestedmodals_1.3.4.zip
--
View this message in context:
http://www.nabble.com/Nesting-ModalWindow-tp19925848p19925848.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]