Hi,

is there a possibility to make a link invisible itself via onClick?
At the moment I get an error "The local variable link may not have been
initialized".

code:
----------------------
        final Link link = new Link( "test" ) {
                
            @Override
            public void onClick() {
                      link.setVisible( false );
            }
        };
----------------------

Thanks in advance.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/make-link-invisible-via-onclick-tp3411327p3411327.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