Re: 3rd Party jQuery component wants jquery-2.1.1 but Wicket uses jquery-1.11.3

2015-10-09 Thread shetc
Thanks Gabriel. I discovered that myself today as we are on IE 9 at my work. The jQuery component works just fine. Overall, I'm rocking out another great app using Wicket 7 and wicket-bootstrap :-) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/3rd-Party-jQuery-compon

Re: 2 different context paths using one single war file

2015-10-09 Thread trlt
Thanks to all those who took the time to reply. We finally got it working using the suggestions provided here (combination of Apache Proxy and Tomcat's context paths). Thanks again Lucie -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/2-different-URLs-using-one-

Re: Show warnings as yellow

2015-10-09 Thread Martin Grigorov
Hi, Check the generated HTML for the different types. They have specific CSS class. You can use it to style them as you need. If this is not enough then you can extend from FeedbackPanel and make it produce anything. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov O

Show warnings as yellow

2015-10-09 Thread Entropy
We have a feedback panel, and we want errors to be red and warnings to be yellow. I know to use warn() instead of error, but how can i make them show different in color? And I have a feeling that for 508 reasons, I may be required to show something next to the warnings to indicate they are warnin

Re: 3rd Party jQuery component wants jquery-2.1.1 but Wicket uses jquery-1.11.3

2015-10-09 Thread Gabriel Landon
A small rectification : on the official website for jquery 2.x they drop support for IE6/7/8. It should work with IE9. http://jquery.com/browser-support/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/3rd-Party-jQuery-component-wants-jquery-2-1-1-but-Wicket-uses-jque

Re: 2 different context paths using one single war file

2015-10-09 Thread Mihir Chhaya
Just my opinion; to me this looks more like a matter of virtual name ( https://commonname/contextroot and then redirect/restrict based upon roles/permission. -Mihir. On Fri, Oct 9, 2015 at 12:29 PM, trlt wrote: > >> why do you want that? What is the benefit of having the same application > unde

Re: 2 different context paths using one single war file

2015-10-09 Thread trlt
>> why do you want that? What is the benefit of having the same application under two different path? Maybe I didn't explain this well - Another department in my company wants one of the applications in my Wicket *.war file. I'm trying to make it available for them under a different URL (so thei

Re: 2 different context paths using one single war file

2015-10-09 Thread Michael Mosmann
Hi, why do you want that? What is the benefit of having the same application under two different path? Michael:) Am 9. Oktober 2015 05:03:18 MESZ, schrieb trlt : >I have developed a Wicket application (MyApplication.war), to be >deployed on >Apache + Tomcat. >It can be invoked using: http://hos

AW: 2 different context paths using one single war file

2015-10-09 Thread Thomas Rohde
Hi, another option could be to define two contexts in Tomcat for your application. You could do that in server.xml within the Host element (But this is not recommended): The preferred way should be to put two context files in $CATALINA_BASE/conf/[enginename]/[hostname]/ (e.

AW: 2 different context paths using one single war file

2015-10-09 Thread Thomas Rohde
Hi, as Martin suggested, a proxy is the best solution for this. If you don't want to setup a proxy perhaps this could fit your needs: Deploy your application as ROOT.war in Tomcat. Then you could use the following URLs: http://hostname/page1 http://hostname/page2 Regards, Thomas -Ursprü

Re: 2 different context paths using one single war file

2015-10-09 Thread Martin Grigorov
Hi, The easiest way it to introduce a proxy in front of Tomcat, e.g. Nginx or Apache HTTPD. See https://www.nginx.com/resources/admin-guide/reverse-proxy/ and/or https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension Martin Grigor