It's really simple.Thanks for your hint!

public abstract class IndicatingAjaxSubmitLink extends AjaxSubmitLink
implements
                IAjaxIndicatorAware {

        private static final long serialVersionUID = 1L;
        private final AjaxIndicatorAppender indicatorAppender = new
AjaxIndicatorAppender();

        public IndicatingAjaxSubmitLink(String id) {
                super(id, null);
                add(indicatorAppender);
        }

        public IndicatingAjaxSubmitLink(String id, Form form) {
                super(id, form);
                add(indicatorAppender);
        }

        /**
         * @see
org.apache.wicket.ajax.IAjaxIndicatorAware#getAjaxIndicatorMarkupId()
         */
        public String getAjaxIndicatorMarkupId() {
                return indicatorAppender.getMarkupId();
        }
}
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/IndicatingAjaxSubmitLink-missing-tp3257456p3259444.html
Sent from the Users forum mailing list archive at Nabble.com.

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

Reply via email to