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
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,
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.
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
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
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: