Could you please provide a quickstart or post the interesting HTML and Java 
snippets?

   -Tom


On 01.06.2012 at 15:24 hfriederichs wrote:

> Hello,
> 
> I have a wicket PopupPage that answers a wicket link, but I don't want it to
> popup when certain conditions are not met. In that case I want an
> info-message.
> 
> So I tried something like:
> final Link<String> theLink = new Link<String>(...) {
>                               
> public void onClick() {
> if (condition) {
>   info("Do this first");
> } else {
>  setPopupSettings(thePopupSettings);  
>  setResponsePage(thePopupPage);
> }
> };
> 
> But no matter what I try, the popuppage always comes.
> 
> 
>                                               
> 
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Conditional-Popup-tp4649649.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
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to