I finally did find the root of this problem and wanted to report back to
other Wicket users in case they ever had a similar issue and found this
thread in a search. It turns out that the problem is somehow related to the
Firebug add-on for Firefox. Doing some searching, I can see that Firebug has
had similar issue in the past, however they are supposed all fixed, but the
issue was definitely related, at least in some way, to Firebug. 

Firebug has a feature that allows you put logging statements into your
javascript code with console.log() statements. If that feature was turned on
(i.e. the "Console" option was checked in the "Net" tab of Firebug) then I
would get the behavior I described. Turned off? Everything was fine.

I was using Firebug 1.3.2 with Firefox 3.0. For some reason Firefox had
never prompted me for an update as it had on my other computers. When I
updated to Firefox 3.0.6 I could not longer reproduce the issue. 

The moral, I guess, is to keep your browser up-to-date.

Matt


Matt Welch wrote:
> 
> The Nabble posting process correctly escaped all of the HTML tags except
> the   which it rendered as HTML. I only just now figured out I needed to
> use a "raw" tag. The raw HTML is below.
> 
> As expected though, this same code works fine in a quickstart. I never
> suspected that it was a bug, which is why I didn't post a JIRA issue. I
> knew something this simple wouldn't have been missed. It's clearly a
> problem with our configuration, but I don't know where to start looking. 
> 
> Using this simple test page, the final rendered page contains no extra
> javascript beyond the wicket stuff to support the button submission which
> I know works. This test page isn't going through our security framework
> because I extended WebPage instead of our application's SecureWebPage
> (using wicket-security). That leaves servlet filters (Spring's
> OpenSessionInView and the normal WicketFilter), our session implementation
> or the WebApplication itself. 
> 
> Does anyone have any suggestions about where I might plop down a
> breakpoint in an attempt to debug this issue?
> 
> -Matt
> 
> 
> <!DOCTYPE html
>               PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>               "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
> <body>
>       <form action="#" wicket:id="testForm">
>         <input wicket:id="keyword" type="text" />
>          # Search 
>       </form>
> </body>
> </html>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/AjaxSubmitLink-submitting-twice-tp21934491p22087057.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to