Re: Conditional Popup

2012-06-04 Thread Thomas Götz
On 04.06.2012 at 13:21 hfriederichs wrote: > > Thomas Götz-2 wrote >> >> As an alternative, you could use an AjaxLink and push the popup-opener JS >> to teh frontend, then you could have your decision logic (wether to open >> it or not) in the backend (Wicket layer). >> >> > > But, how would

Re: Conditional Popup

2012-06-04 Thread hfriederichs
nfo("Do this first"); } else { activate JS-popup-opener } And furthermore, I need to pass data to the popup-page, so I would have to stick that in the Session? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Conditional-Popup-tp4649649p4649708.ht

Re: Conditional Popup

2012-06-04 Thread Thomas Götz
What about the AjaxLink alternative I already suggested? -Tom On 04.06.2012 at 09:35 hfriederichs wrote: > No suggestions? Anyone? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-ma

Re: Conditional Popup

2012-06-04 Thread hfriederichs
No suggestions? Anyone? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Conditional-Popup-tp4649649p4649706.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: Conditional Popup

2012-06-01 Thread hfriederichs
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

Re: Conditional Popup

2012-06-01 Thread Thomas Götz
I thought you might have some condition that you could evaluate in JS. This is the reason I asked for a short quickstart, it simply eases discussion. -Tom On 01.06.2012 at 19:19 hfriederichs wrote: > I'm sorry, but I don't understand your code. My condition is in the > Java/Wicket-layer, ho

Re: Conditional Popup

2012-06-01 Thread hfriederichs
, but I don't understand your code. My condition is in the Java/Wicket-layer, how can you put that between double quotes? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Conditional-Popup-tp4649649p4649665.html Sent fr

Re: Conditional Popup

2012-06-01 Thread Thomas Götz
As an alternative, you could use an AjaxLink and push the popup-opener JS to teh frontend, then you could have your decision logic (wether to open it or not) in the backend (Wicket layer). -Tom - To unsubscribe, e-mail: u

Re: Conditional Popup

2012-06-01 Thread Thomas Götz
more and more of my application > into the quickstart, but to no avail. > > So again, it's a simple question: how to make a conditional popup. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Conditional Popup

2012-06-01 Thread Martin Grigorov
the problem in a > quickstart. I spent hours and hours copying more and more of my application > into the quickstart, but to no avail. > > So again, it's a simple question: how to make a conditional popup. > > -- > View this message in context: > http://apache-w

Re: Conditional Popup

2012-06-01 Thread hfriederichs
#x27;s a simple question: how to make a conditional popup. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Conditional-Popup-tp4649649p4649654.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: Conditional Popup

2012-06-01 Thread Thomas Götz
To create a quickstart normally costs me around 5-7 seconds (copy/paste is my friend) ;-) Isolating the problem is another question, right. But in your case this sound rather trivial. In my experience a lot of problems are solved easyly by creating a quickstart, in most cases because then I real

Re: Conditional Popup

2012-06-01 Thread hfriederichs
A quick-start costs me one or two hours; in the end, maybe I will. But I think this is a reasonably simple question, so I'll await some straightforward suggestions first. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Conditional-Popup-tp4649649p4649651.html

Re: Conditional Popup

2012-06-01 Thread Thomas Götz
s); > setResponsePage(thePopupPage); > } > }; > > But no matter what I try, the popuppage always comes. > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Co

Conditional Popup

2012-06-01 Thread hfriederichs
cket.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