wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hfriederichs <h.friederi...@ohra.nl>
Subject Re: Conditional Popup
Date Fri, 01 Jun 2012 18:06:39 GMT

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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org

View raw message