Hello, I put this code into my application and its very non-intrusive and
easy to use. I found a slight problem with it though that I am able to
replicate but not able to fix.

It happens when a page using a form is loaded through the browsers url
directly, instead of through a link in the application. So for instance if a
user bookmarks a form, or opens a browser and types in the form url, when
the form is submitted the indicator displays as it should, but it does not
ever hide when the request is finished.

In my instance I am submitting the form through ajax with validation errors,
and the validation messages come back as they should but the indicator
doesn't hide. I've tried putting the js outside of the html head tag, but it
didn't seem to help. Interestingly enough, if I type the url and go to the
form, and click refresh once, it works fine again. Almost like for some
reason it can't be used on the page that creates the users session. Any
ideas about this?



Martin Makundi wrote:
> 
> Hi!
> 
> I put it into the Reference Library -> Ajax as "Generic Busy Indicator
> (for both Ajax and non-Ajax submits)"
> 
> http://cwiki.apache.org/confluence/display/WICKET/Generic+Busy+Indicator+%28for+both+Ajax+and+non-Ajax+submits%29
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Lightweight-generic-busy-indicator-tp17710292p20399357.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