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 to create your own AttributePrepender.

On Thu, Jan 6, 2011 at 4:27 PM, Per Newgro <per.new...@gmx.ch> wrote:

> 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 the direction
> Per
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to