Sorry, line 1 should be -
1/ It needs to be declared final if its used inside the anonymous class.


Ned Collyer wrote:
> 
> 1/ MyPanel needs to use it inside the anonymous class.
> 2/ if its final, you cant reassign it.
> 3/ if i remove a panel from the list (using something like
> MyPanel.remove()) then its not set to the correct panel.
> 
> Doesn't quite work - a bit more complicated than u'd first expect.
> 

-- 
View this message in context: 
http://www.nabble.com/ListItem-queries-tp17332693p17333024.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to