I have repeatedly run into situations like this one:

On very complex pages with lots of Ajax-stuff I sometimes get to
a point where (reproducably) my form's onSubmit() method is
never entered when submitting the form with a simple submit
button. This problem occurs in IE6 and IE7. 

Usually as a workaround I ended up with one of these solutions
(putting the one I like better first):

 (1) attaching the 'onSubmit()' method to the button rather than
     the form

 (2) making the button an AjaxButton with default form submit
     behaviour set to 'true'

The first from these solutions does not work in some solutions,
so that I have to switch to the second one.

In a particular case I had today the submit button which did not
work with IE6 and IE7 was supposed to perform an upload. Due to
some issues still not resolved in wicket 1.4.3 I am currently
unable to use Ajax for uploads in my project. So I ended up with
a third workaround:

 (3) moved the upload stuff to a separate form on the page

Solution (3) now works, but it is not nice, since due to the
page's layout there's no way to place the upload somewhere where
it looks nice.

Unfortunately there's no reliable way to produce this kind of
problem, at some place you'll 'just have it'. And since it
happens in complex pages it is not really possible for me to
provide example code here (commercial project, you know the
story).

Now first of all I would like to hear some comments - anyone
else experienced similar problems? 
Also, as we may (almost) all agree that IE6 (and probably later
versions as well) is brain damaged software that should be
forbidden, it is still in use and needs to be suported. Thus:
is there any chance we can track down problems like this and
fix them within wicket?

Cheers,

M'bert

-- 
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
Immer Schwierigkeiten immer gerade so zu schaffen, und so macht man sich auf
Dauer halt zum Schwierigkeitenaffen, trifft befreundete Primaten in den Kneipen
und im Garten, wartend auf die grosse Sause oder einfach nur oder besser noch,
die grosse Pause.  -- Die Sterne

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

Reply via email to