Martin Grigorov-4 wrote
> 
> try with:
> 
> if (condition) { setPopupSettings(nonNull) } else { setPopupSettings(null)
> }
> 
> 

This doesn't work. The condition has to be checked every time the link is
clicked, so within the onCLick().
setPopupSettings(null) gives the current page as popup.

Maybe this information is relevant: The link is part of a row in a repeater
(within the populateItem of a ListView).



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Conditional-Popup-tp4649649p4649670.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