Thanks Martin,
and excuse me. But i didn't describe the whole problem.
I want to click a link and load another page (simply by calling
setResponsePage).
I already tried a solution like
body style=cursor: wait; onload=document.body.style.cursor='default';
But it seems that onload is called
Hi!
I think you just named them all ;)
Read: you have a bug somewhere in your implementation, otherwise you
should have found the solution already trying those options.
**
Martin
2011/1/7 Per Newgro per.new...@gmx.ch:
Thanks Martin,
and excuse me. But i didn't describe the whole problem.
Thanks Martin,
damn bugs :-). I will check it again. If i get it i post the solution.
Cheers
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Either I don't understand you again or you don't know how page load works.
When you click a link (no ajax involved) then a request is sent to the
server and the server returns a response which kinda overrides the previous
response.
I.e. when you click the link you change the cursor to be pointer
Hi,
Sorry for post if this is not a wicket releated solution.
I would like to present the hourglass (wait cursor) if i click any link
(Ajax or not).
I know the ajax solution with CallDecorator. But is there a simple way
to get that working
for both ajax and non-ajax?
Thanks for pointing me
when the link is not Ajax then the whole page is reloaded. Depending on the
speed this may happen immediately and the cursor will disappear.
anyway you need to prepend some javascript in the anchor: link.add(new
AttributePrepender(onlick, document.body.style.cursor='busy'));
See AttributeAppender