You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by msalman <mo...@yahoo.com> on 2014/04/15 23:01:23 UTC

wait indicator not showing with veil for AjaxButton

Hi,

I am trying to show an wait indicator and a veil when an ajax button is
showed.  The veil works fine but despite all my effort the indicator is not
working.  Attached is a quick start of the project.


My code is based on the code at this page: 
http://javathoughts.capesugarbird.com/2008/03/ajax-button-with-overlay-div-and-wait.html   

I have tried to port it to wicket 1.5.  

As always, I will appreciate any help on this issue.

Thanks.

-Mohammad

myproject.gz
<http://apache-wicket.1842946.n4.nabble.com/file/n4665422/myproject.gz>  

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/wait-indicator-not-showing-with-veil-for-AjaxButton-tp4665422.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: wait indicator not showing with veil for AjaxButton

Posted by msalman <mo...@yahoo.com>.
Thanks for your help.  I knew that it had some thing to do with the url.  I
found another way to make it work by extending the IndicatingAjaxButton
class.  It seems it knows the way to find the right URL. But that made me
change the code at a lot of different places where the original button was
being used.  But again, thanks for your help.

Here is the way that I was able to make it work.
myproject.gz
<http://apache-wicket.1842946.n4.nabble.com/file/n4665556/myproject.gz>  

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/wait-indicator-not-showing-with-veil-for-AjaxButton-tp4665422p4665556.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: wait indicator not showing with veil for AjaxButton

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

In the browser console you can see that indicator.gif cannot be found, i.e.
error 404.
The url should be: /wicket/resource/..., not /wicket/resourceS/...
Once you fix that you can see the indicator showing at the top-middle of
the page.

Martin Grigorov
Wicket Training and Consulting


On Thu, Apr 17, 2014 at 4:56 AM, msalman <mo...@yahoo.com> wrote:

> Any help please?  Thanks.
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/wait-indicator-not-showing-with-veil-for-AjaxButton-tp4665422p4665434.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: wait indicator not showing with veil for AjaxButton

Posted by msalman <mo...@yahoo.com>.
Any help please?  Thanks.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/wait-indicator-not-showing-with-veil-for-AjaxButton-tp4665422p4665434.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org