Is it possible that your "session expired" comes from the second host because
it knows nothing about your session on the first host? If that's the case
you'd need to use some distributed session mechanism. Just a guess...


Carfield Yim-2 wrote:
> 
> By the way, I just deploy the application of another host to my
> localhost and test, it work ok. Does anyone know the reason of this
> happening?
> 
> On 1/26/07, Carfield Yim <[EMAIL PROTECTED]> wrote:
>> On 1/26/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
>> > Is that a wicket form? Is it a completely different application? How it
>> > is related to modal window?
>> >
>> Yes, it is wicket form at completely difference application
>> (difference host). One application call that page through ModalWindow
>> and RedirectPage, the code is
>>
>>
>>         final ModalWindow modal = new ModalWindow("ajaxpanel");
>>         modal.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
>>         modal.setPageCreator(new PageCreator() {
>>             private static final long serialVersionUID = 1L;
>>             public Page createPage() {
>>                 return  new
>> RedirectPage("http://host2/app/tickdatasearch";);
>>             }
>>         });
>>         add(modal);
>>         add(new AjaxFallbackLink("tickdatasearch") {
>>             private static final long serialVersionUID = 1L;
>>             public void onClick(AjaxRequestTarget target) {
>>                 modal.show(target);
>>             }
>>         });
>>
> 
> -------------------------------------------------------------------------
> 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/-Wicket-user--Question-about-using-RedirectPage-in-a-modalwindow-tf3121251.html#a8761067
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to