Variant Change Behavior

2014-09-03 Thread Thibault Kruse
Hi, playing around with Variants for Components, I am wondering whether there is an elegant way to steer Variant markup loading via a Behavior. In our case we want to use a different markup layout based on the width of the container the component is going to be used in, visually. So if we

Re: Variant Change Behavior

2014-09-03 Thread Martin Grigorov
Hi, The behaviors are not used for variations. For such use cases you should override org.apache.wicket.Component#getVariation() on the (base) page. This way all components will know the correct variation. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed,

wicket atmosphere not updating the page

2014-09-03 Thread fachhoch
I am trying to use wicket-atmosphere (0.18) in wicket 6.12.0, on post, subscribe method is getting called but any component I add to target is not updating in the page, ajax debug window shows empty ajax-response, and browser console has this error.

adding wicket generated link to javascript

2014-09-03 Thread Jason Novotny
Hi, My designer gave me code where HTML is created in javascript as part of a jquery dataTable: script $(document).ready(function() { $('#datatable').dataTable( { $('.clientinvoices .dropholder').html('div class=opener/div*button class=btn type=resetCancel

Re: adding wicket generated link to javascript

2014-09-03 Thread Pierre Goupil
Good evening, You can use a Behavior: - subclass AbstractDefaultAjaxBehavior, - in the overriden renderHead(final Component component, final IHeaderResponse response) use template interpolation to pass the URL to the JS: template.interpolate(variables); - in the JS, use the Wicket client-side

Problem downloading a Resource from an HTTPS same server: SSLHandshake Error

2014-09-03 Thread Tope Faro
Hello all, I have been trying repeatedly to get a download code that I had previously working on a non-https server work on a different server with HTTPS enabled. I keep getting an SSLHandShake error, and on researching further found I may need to install and enable SSL certs on Tomcat. Problem

Re: Problem downloading a Resource from an HTTPS same server: SSLHandshake Error

2014-09-03 Thread topriddy
I have this fixed by installing SSL cert keys and enabling them in my Tomcat. Also, I had to specify 8443 the SSL port my Tomcat is using as request.getServerPort() was returning Apache's SSL port 443 which is wrong for my case. Thanks. -- View this message in context: