Hello,
I have a rather complex situation, but If I'm not clear enough here, I can
make a test case.
My situation:
- Page with contact details
- Open a window to send the details to my colleague by email
- In that window open another window to choose my colleague from a list of
employees
My Application :
- Normal page with ajax link that opens ModalWindow
|-> ModalWindow.
Contains link to open another ModalWindow,
and a list that is updated by the child modalwindow
|-> ChildModalWindow (of the ModalWindow).
This is a chooser, which needs to fill the list on
ModalWindow.
My error situation:
- I open the ModalWindow and fill the list with employees from the
ChildModalWindow.
- I close the ModalWindow, (send the email).
- I open the ModalWindow again (want to send the details to another
colleague)
- I choose a colleague from the ChildModalWindow, but the list isn't
updated...
After much of testing and searching, I think it has something to do with the
RequestCycle or something...
- The first time the modalwindow is opened, the list on it has markupid 'a1'
- When closing the ChildModalWindow, the list is filled with ajax using
markupid 'a1'
- The second time the modalwindow is opened, the list on it has markupid
'b1'
- When closing the ChildModalWindow, ajax tries to get the component with
markupid 'a1' (and not 'b1')
Even when I refresh the main-page, ajax still searches for the component
with markupid 'a1'.
Can someone please help me? I've been stuck on this for a while, but can't
get to the bottom of it.
Can I post a testcase-war to this list of where should I post it?
Thanks in advance !
Marie.
--
View this message in context:
http://www.nabble.com/ModalWindow-with-internal-ModalWindow-problem-tp17980837p17980837.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]