On 2011-01-09 22:00, Marcin Zajączkowski wrote:
> Hi,
> 
> 
> Following some problems with page rendering in my application after post
> a form I've noticed that when redirect after post strategy is used (both
> REDIRECT_TO_BUFFER and REDIRECT_TO_RENDER) page content is duplicated in
> a response to GET (after 302 Moved Temporarily on POST). I thought it's
> a problem with a configuration of my application (I'm playing with
> AppFuse as a base), but in the first Wicket example with form submission
> found on the web [1] it occurs as well.
> 
> Tested it with Wicket 1.4.15. Response snipset bellow. Full response as
> attachment. I can be easily reproduced using "forminput" example (just

Full response: http://pastebin.com/jQTRExjh


Marcin


> submit form).
> 
> [1] - http://www.wicketstuff.org/wicket14/forminput/
> 
> 
> I don't see a reason for that behavior, but I'm new to Wicket, so maybe
> it's a feature?
> 
> 
> <html>
> <head>
>     <title>Wicket Examples - forminput</title>
>     <link rel="stylesheet" type="text/css" href="../style.css"/>
> <link rel="stylesheet" type="text/css"
> href="resources/org.apache.wicket.devutils.debugbar.DebugBar/wicket-debugbar.css;jsessionid=E218340AA4A63320747D134AA1985E7F"
> />
> <script type="text/javascript"
> src="resources/org.apache.wicket.devutils.debugbar.DebugBar/wicket-debugbar.js;jsessionid=E218340AA4A63320747D134AA1985E7F"></script>
> </head>
> <body>
>     <span>
>     <div><a href="../index.html" style="color: #E9601A"
> target="_top"><img src="../logo.png"/></a><div id="wicketDebugBar"
> class="wicketDebugBar">
>               <a id="wicketDebugBarCollapse"
> onclick="wicketDebugBarCollapse();"><img
> src="resources/org.apache.wicket.devutils.debugbar.DebugBar/
> (...)
>                         <label for="siteSelection">your favorite sites</label>
>                         <select id="siteSelection" name="siteSelection" 
> multiple="multiple"
> size="3">
> <option value="0">The Server Side</<html>   <--- seems to be cut off
> <head>            <------ one again starting from head
>     <title>Wicket Examples - forminput</title>
>     <link rel="stylesheet" type="text/css" href="../style.css"/>
> <link rel="stylesheet" type="text/css"
> href="resources/org.apache.wicket.devutils.debugbar.DebugBar/wicket-debugbar.css;jsessionid=E218340AA4A63320747D134AA1985E7F"
> />
> <script type="text/javascript"
> src="resources/org.apache.wicket.devutils.debugbar.DebugBar/wicket-debugbar.js;jsessionid=E218340AA4A63320747D134AA1985E7F"></script>
> </head>
> <body>
>     <span>
>     <div><a href="../index.html" style="color: #E9601A"
> target="_top"><img src="../logo.png"/></a><div id="wicketDebugBar"
> class="wicketDebugBar">
>               <a id="wicketDebugBarCollapse"
> onclick="wicketDebugBarCollapse();"><img
> src="resources/org.apache.wicket.devutils.debugbar.DebugBar/
> (...)
> <option value="0">The Server Side</option> <--- second time not cut off
> <option value="1">Java Lobby</option>
> <option value="2">Java.Net</option>
> (...)
>     </div>
> </body>
> </html>
> 
> 
> Regards
> Marcin
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to