Dynamic Headers for Open Graph tags in E-Com site

2014-02-04 Thread Arjun Dhar
Hi, I have an E-Commerce site. Im using a Template hierarchy. With the top template containing the Open Graph tags for the entire Site. Like The issue is there are PRODUCT PAGES that extend this template. But for Products its desirable to insert PRODUCT SPECIFIC headers. What is the cleanest

Apache wicket project as osgi compoments

2014-02-04 Thread Shengche Hsiao
Hello I have a web application comprised of several modules, can I dynamically enable/disable these modules in runtime? -- --- We do this not because it is easy. We do this because it is hard.

Re: Apache wicket project as osgi compoments

2014-02-04 Thread Richard W. Adams
Depends what you mean by disable. You could dynamically decide not to call them, if that's what you want. From: Shengche Hsiao shengchehs...@gmail.com To: Wicket User Mailinglist users@wicket.apache.org Date: 02/04/2014 08:42 AM Subject:Apache wicket project as osgi compoments

Re: Apache wicket project as osgi compoments

2014-02-04 Thread Shengche Hsiao
Hello Our team developed a web application using php, it's original idea was from XOOPS. As you know XOOPS's modules can dynamic install in or drop out, can wicket project do the same thing? And as you said You could dynamically decide not to call them, would you please give me some instruction?

Re: Apache wicket project as osgi compoments

2014-02-04 Thread Richard W. Adams
It's just a normal if statement, like: if (some_condition_is_met) { ClassA.doSomething(); } else { ClassB.doSomethingElse(); } Where either ClassA or ClassB is in the module you want to enable/disable. From: Shengche Hsiao shengchehs...@gmail.com To: Wicket User Mailinglist

Re: Apache wicket project as osgi compoments

2014-02-04 Thread tho...@jarnot.de
Although we don't know anything about your application structure, I tend to answer YES. Assuming from the subject, that we are talking about OSGi modules (or rather bundles), making the application capable of that dynamism is surely possible. It simply depends on your decision of utilizing the

Re: Apache wicket project as osgi compoments

2014-02-04 Thread Francois Meillet
You should have a look at http://code.google.com/p/osgi-enterprise/wiki/WicketAndOsgi https://github.com/wicketstuff/core/wiki/Osgi http://hwellmann.blogspot.fr/2011/06/wicket-and-osgi.html http://www.volkomenjuist.nl/blog/2012/07/25/wicket-mounting-in-an-osgi-environment/

Re: Apache wicket project as osgi compoments

2014-02-04 Thread Shengche Hsiao
Hello Thanks for reply, indeed I plan to implement my wicket project in osgi way! But I don't know how to start it, thanks for hyper links, I'll check it out. On Wed, Feb 5, 2014 at 3:42 AM, Francois Meillet francois.meil...@gmail.com wrote: You should have a look at

Re: Wicket-bootstrap Bootstrap 3 support

2014-02-04 Thread danjee
Hello Michael, First of all thank you for the wonderful job you're doing. Current release downloads bootstrap-3.0.3.jar. Is there a way to force this wicket integration to download the latest webjar for bootstrap? A solution as I see it is to alter the pom.xml to add version for the artifact in

Re: Wicket-bootstrap Bootstrap 3 support

2014-02-04 Thread danjee
I found out that I could put the dependency in my pom.xml and no need to alter the one from your release. Sorry for the confusion, I am pretty new to maven. Best regards, Daniel -- View this message in context:

Re: Dynamic Headers for Open Graph tags in E-Com site

2014-02-04 Thread Arjun Dhar
I think I'll take a simple approach. Use a Spring Resource to read a file which contains only the OG Tags and use EhCache to cache the content. I'll remove the OG Tags from the Common Template and instead inject it dynamically then For product pages the OG tags have to be created per request so

Re: Wicket-bootstrap Bootstrap 3 support

2014-02-04 Thread danjee
On 02/05/2014 09:13 AM, danjee [via Apache Wicket] wrote: I found out that I could put the dependency in my pom.xml and no need to alter the one from your release. Sorry for the confusion, I am pretty new to maven. Best regards, Daniel

RE: Wicket-bootstrap Bootstrap 3 support

2014-02-04 Thread Richter, Marvin
In Maven you can just exclude transitive dependecies from a dependency and add the version you prefer. But be aware of possible version conflicts. dependency groupIdde.agilecoders.wicket/groupId artifactIdwicket-bootstrap-core/artifactId version${wicket.bootstrap.version}/version

Re: Wicket-bootstrap Bootstrap 3 support

2014-02-04 Thread Martin Grigorov
Right, the correct way is to use Maven for this. Another way is via IBootstrapSettings#setCssResourceReference() - https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/master/bootstrap-core/src/main/java/de/agilecoders/wicket/core/settings/IBootstrapSettings.java?source=c#L53 We will upgrade to

Re: Dynamic Headers for Open Graph tags in E-Com site

2014-02-04 Thread Martin Grigorov
Hi, On Wed, Feb 5, 2014 at 8:28 AM, Arjun Dhar dhar...@yahoo.com wrote: I think I'll take a simple approach. Use a Spring Resource to read a file which contains only the OG Tags and use EhCache to cache the content. I'll remove the OG Tags from the Common Template and instead inject it