Hi
Just to add a new point : in fact each time the user click on the form
the ajax call is made, even if the feedback panel isn't updated...
Weird for a AjaxFormSubmitIndicator no ? How can I avoid such a
behavior ?
Thanks in advance
ZedroS
On 4/1/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm using an AjaxFormSubmitBehavior to render a little indicator on
> the ongoing Ajax request.
>
> I've done it this way :
> class AjaxFormSubmitIndicator extends
> AjaxFormSubmitBehavior
> implements IAjaxIndicatorAware {
>
> public AjaxFormSubmitIndicator() {
> super(UserInscriptionForm.this,
> "onclick");
> }
>
> public String getAjaxIndicatorMarkupId() {
> return imgContainer.getMarkupId();
> }
>
> @Override
> protected void onSubmit(AjaxRequestTarget
> target) {
> target.addComponent(imgContainer);
> }
> }
>
> However, I've the image shown each time the user click somewhere on
> the form. It's really brief, for sure, but still it's kind of
> misleading/annoying.
>
> Moreover, I'm using a AjaxSubmitButton to submit this form. Can
> something be done to show the image indicator from it ?
>
> thanks in advance
> ZedroS
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user