Hi,

https://issues.apache.org/jira/browse/WICKET-4641 and
https://issues.apache.org/jira/browse/WICKET-4644 exposed a problem
with AjaxFallbackLink (AFL).

If AFL is connected on markup element different than <a>, <area> or
<link> then it doesn't really fallback if JS is disabled.
When AFL is used with <div>, for example, Wicket produces 'onclick'
attribute with some script to change document.location. This obviously
wont work if JS is disabled.

I suggest to log a warning if AFL is used on any other element but
<a>, <area> and <link> in 1.5.x and throw an exception in 6.x.

Objections ?

-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

Reply via email to