if you are using ajax why do you have an iframe? why not refresh the datatable via a partial ajax update.

also the page that is inside the iframe needs to be opened inside a different pagemap - that is prob whats causing your page expired problems. there is a Page constructor that looks like this Page(PageMap) you might want to do

MyIFramePage() {
  super(PageMap.forName("myiframe"));
   ...
}

-Igor


On 10/25/06, Allen James < [EMAIL PROTECTED]> wrote:
The zip file wouldn't pass through so here are the files that comprise the
sample application that demonstrates the problem.

>From: "Allen James" <[EMAIL PROTECTED]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: [Wicket-user] Issue with AJAX and InternalFrame
>Date: Wed, 25 Oct 2006 08:24:43 -0500
>
>I'm having issues when using AJAX behaviour on a web page that has an
>internal frame with AJAX behaviour.   Basically I have a search form on a
>page, and an InternalFrame display an AjaxFallbackDefaultDataTable
>displaying the results in an InternalFrame.  The search area changes a
>DropDownChoices selections based upon a checkbox being clicked or not.
>When
>I first view the page, there is no problem I can sort the table (all though
>there are no rows) and click the checkbox and all the AJAX calls go
>through.
>
>If I submit the form however, I run into 2 odd scenarios:
>1) I sort the data table then click on the checkbox in the search area.
>This leads to an error like the following: Cannot remove [MarkupContainer
>[Component id = 2, page = <No Page>, path = 2.Loop$LoopItem]] from
>null parent!
>2) I click the checkbox after the form submit which works fine and then try
>to sort the table.  This results in a page expiration problem with the
>InternalFrame as the version number being looked for is 1 higher than what
>is stored in the PageMap.
>
>I've got a sample app I can send that exemplifies the problem.  I'm
>currently using wicket 1.2.2 and java version 1.5.0_08.
>
>_________________________________________________________________
>Try the next generation of search with Windows Live Search today!
>http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&source=hmtagline
>
>
>-------------------------------------------------------------------------
>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
>[email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user

_________________________________________________________________
Get FREE company branded e-mail accounts and business Web site from
Microsoft Office Live
http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to