I didn't use a panel in modal window.
There are more than 6 kinds of modal windows(content is different) in my
site.
Opening&closing these modal window(certainly in different pages) in turn,
when I close the 6th modal window, 
session timeout happens.

If don't see it yet,  please tell me.


netfork wrote:
> 
> Thanks for your answer.
>  
> I am using 1.2.6.
> A panel in the modal window is needed?
> My modal window is a general WebPage.
> Maybe when open 6th modal window, session timeout happens.
>  
> My calling modal window's code :
> -------------------------------------------------------------------------------------
>   final ModalWindow modalRD = new ModalWindow("modalRD");
>   form.add(modalRD);
> 
>   modalRD.setPageMapName("modalRD");
>   modalRD.setCookieName("modalRD");
>   modalRD.setPageCreator(new ModalWindow.PageCreator() {
>    public Page createPage() {
>     return new ModalRDPage(student); 
>    }
>   });
>     
>   modalRD.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() {
>    public void onClose(AjaxRequestTarget target) {
>     if (null != student.getResearchDirectionCode() && !"".equals(
> student.getResearchDirectionCode())) {
>      collegeName.setModel(new Model(student.getCollegeName()));
>      target.addComponent(collegeName);
>     }
>    }
>   });
>   modalRD.setCloseButtonCallback(new ModalWindow.CloseButtonCallback () {
>    public boolean onCloseButtonClicked(AjaxRequestTarget target) {
>     return true;
>    }
>   });
> 
>   form.add(new AjaxLink("showModalRD") {
>    public void onClick(AjaxRequestTarget target) {
>     modalRD.show(target);
>    }
>   });
> -------------------------------------------------------------------------------------
> 
> 
> 
> Martijn Dashorst wrote:
>> 
>> Without code, which wicket version you are using and other important
>> information particular to your problem (like: do you use a panel in
>> the modal window, how many times can you open the modal window before
>> this happens, etc), we can't help you!
>> 
>> Asking questions in a smart way:
>>  - English version: http://www.catb.org/~esr/faqs/smart-questions.html
>>  - Chinese version: http://www.lat30n.cn/doc/oss/smart-questions.html
>> 
>> Martijn
>> 
>> On 6/10/07, netfork <[EMAIL PROTECTED]> wrote:
>>>
>>> My site uses many many ModalWindow.
>>> Now, find a serious problem.
>>> After I log on the site, I open/close some ModalWindow.
>>> At first, it's all right.
>>> But after I open/close some ModalWindow many times, session timeout
>>> happened.
>>> As a result, please watch screenshots.
>>> Please help me. Thanks.
>>>
>>> http://www.nabble.com/file/p11047290/question.gif
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Session-Timeout-Because-of-ModalWindow.-Help-me%2C-Thanks.-tf3896926.html#a11047290
>>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
>> -- 
>> Join the wicket community at irc.freenode.net: ##wicket
>> Wicket 1.2.6 contains a very important fix. Download Wicket now!
>> http://wicketframework.org
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Session-Timeout-Because-of-ModalWindow.-Help-me%2C-Thanks.-tf3896926.html#a11047649
Sent from the Wicket - Dev mailing list archive at Nabble.com.

Reply via email to