Ajax update on a panel caused markup outside the panel to be missing
--------------------------------------------------------------------
Key: WICKET-1087
URL: https://issues.apache.org/jira/browse/WICKET-1087
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.3.0-beta4
Environment: Tested with Firefox 2.0.0.7, other browsers unknown
Reporter: kent lai
Priority: Minor
I was doing an ajax content update with Wicket, replacing the entire content of
a panel with another panel (different markup files).
After receiving the response, the content after the updated panel disappears.
I checked that the ajax response is correct from the Wicket Ajax Debug panel,
but the Wicket client side javascript seemed to have removed all the DOM
elements from the updated panel onwards.
I have replicated the issue and attached as a sample project.
The issue seemed to be caused from a <div /> tag within the first panel.
Changing it from <div></div> seemed to be a work around for now, but I am
unsure if there might be similar issues with other tags (imagine having to
change <br /> to <br></br> and other similar tags!)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.