Why do I get:

D:\Java\IdeaProjects\...\AjaxMouseDownLinkBehavior.java
    Warning:Warning:line (17)[deprecation] getImplementationId() in
wicket.behavior.AbstractAjaxBehavior has been deprecated


on this:

public class AjaxMouseDownLinkBehavior extends AjaxEventBehavior {
    Component owner;
    Class destinationClass;

    public AjaxMouseDownLinkBehavior(Component owner, Class
destinationClass) {
        super("OnMouseDown");
        this.owner = owner;
        this.destinationClass = destinationClass;
    }

    protected IAjaxCallDecorator getAjaxCallDecorator() {
        return new
AjaxCallDecoratorProgressControl(owner.urlFor(destinationClass, new
PageParameters()));
    }

    protected void onEvent(final AjaxRequestTarget target) {
    }
}

-- 
View this message in context: 
http://www.nabble.com/Deprecation-warning-tf3278856.html#a9118787
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to