[wicket 6.22] org.wicketstuff.jwicket.tooltip.BeautyTips

2017-03-02 Thread nino martinez wael
Hi Im trying to use beautytips.. But are getting a null pointer when the component renders, i've done this: BeautyTips lokalnrTooltip = new BeautyTips("Brugerens 5-cifrede lokalnr, eller et 6-7 cifret fiktiv nr. Skal altid udfyldes!"); lokalnr.add(lokalnrTooltip); Anything else needs to be done?

Re: Disabled links in 6.24

2017-03-02 Thread Martin Grigorov
Hi, This has been discussed several times in the mailing lists. Use Google / markmail.org to search the archives! Upgrading to Wicket 7.x would make yours and your CSS guy lifes much easier! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Mar 2, 2017 at 7:4

Re: Display PDF in new tab

2017-03-02 Thread Martin Grigorov
Hi, I'd recommend you to use plain JS to make the Label visible. AjaxButton yourAjaxButtonWithResource = new AjaxButton("button) { @Override protected void updateAjaxAttributes(AjaxRequestAttributes attributes) { attributes.getAjaxCallListeners().add(new AjaxCallListener().onBeforeSend("$(

Re: Disabled links in 6.24

2017-03-02 Thread Entropy
Oh! Duh, setRenderBodyTagOnly(). Forgot about that. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Disabled-links-in-6-24-tp4677228p4677235.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: Disabled links in 6.24

2017-03-02 Thread Claudia Hirt
Oh sorry, i think this was to fast. I had the opposite of this problem with wicket 7 where the tag is not rendered anymore for disabled links. So be aware that you have to remove your handling using setBeforeDisabledLink when you plan to migate to wicket 7. > Am 02.03.2017 um 19:35 schrieb En

Re: Disabled links in 6.24

2017-03-02 Thread Entropy
I'll ask our CSS guy if that works for him. He tends to like use to not use unnecessary tags, so ideally, I'd like to get rid of the SPAN altogether. Thanks for the quick response. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Disabled-links-in-6-24-tp4677228p46772

Re: Disabled links in 6.24

2017-03-02 Thread Entropy
I found setAfterDisabledLink and setBeforeDisabledLink. Setting those the "" gets rid of the EM, but there is still an extra span. How do I suppress that? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Disabled-links-in-6-24-tp4677228p4677232.html Sent from the User

Re: Disabled links in 6.24

2017-03-02 Thread Claudia Hirt
Hi, I faced the same problem migrating to wicket 6. i simpy solved this with css-selector a:not([href]). > Am 02.03.2017 um 19:11 schrieb Entropy : > > Using Wicket 6.24, when i disable links, they get SPAN and EM tags instead. > This throws off our CSS guy. We would like to not do those. H

Re: Display PDF in new tab

2017-03-02 Thread SeldonCrisis
OK, thanks Ernesto and everyone else. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Display-PDF-in-new-tab-tp4677202p4677230.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: Display PDF in new tab

2017-03-02 Thread Ernesto Reinaldo Barreiro
See. https://cwiki.apache.org/confluence/display/WICKET/AJAX+update+and+file+download+in+one+blow There was some work to move such functionality to wicket core. You need some variation of it, I guess. On Mar 2, 2017 17:30, "SeldonCrisis" wrote: > Yes, sorry for the spam. I kept forgetting to e

Disabled links in 6.24

2017-03-02 Thread Entropy
Using Wicket 6.24, when i disable links, they get SPAN and EM tags instead. This throws off our CSS guy. We would like to not do those. How would I go about that? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Disabled-links-in-6-24-tp4677228.html Sent from the Use

Re: Display PDF in new tab

2017-03-02 Thread SeldonCrisis
Yes, sorry for the spam. I kept forgetting to enclose the html in . My fault. OK, so ideally I want to create an AjaxButton that when pressed would serve my custom resource (extending ByteArrayResource) in a new tab and simultaneously setEnabled(true) and setVisible(true) on a Label in my page. R