Skip to content

Portlet

Konstantinos Karavitis edited this page Dec 3, 2016 · 12 revisions

Wicketstuff Portlet

The wicketstuff-portlet project provides implementations of the technology needed to expose a Wicket application as a portlet within a Portlet 2.0 enviroment.

Supported Apache wicket Versions

The wicketstuff-portlet is functional with the following versions of Apache Wicket framework

  • 6.22.0 or later
  • 7.3.0 or later

Usage

Maven pom.xml file configuration

In your pom.xml add the following dependency

<dependency>
   <groupId>org.wicketstuff</groupId>
   <artifactId>wicketstuff-portlet</artifactId>
   <version>6.0-SNAPSHOT</version>
   <!--<version>7.3.0-SNAPSHOT</version>-->
</dependency>

In order to be able to download SNAPSHOT releases dependencies add the following in your pom.xml

<repositories>
   <!-- for wicket snapshots -->
   <repository>
      <id>wicket-snapshots</id>
      <name>Apache Wicket Snapshots</name>
      <url>https://repository.apache.org/content/repositories/snapshots</url>
      <snapshots>
	 <enabled>true</enabled>
      </snapshots>
      <releases>
	 <enabled>false</enabled>
      </releases>
   </repository>
   <!-- for wicket bootstrap snapshots -->
   <repository>
      <id>sonatype-nexus-snapshots</id>
      <name>Sonatype Nexus Snapshots</name>
      <url>http://oss.sonatype.org/content/repositories/snapshots</url>
      <snapshots>
	 <enabled>true</enabled>
      </snapshots>
      <releases>
	 <enabled>false</enabled>
      </releases>
    </repository>
</repositories>

Wicket examples as portlets

By downloading the wicketstuff core project you can find portlet examples for liferay portal in core/portlet-parent/wicketstuff-portlet-examples folder

Apache Wicket 7 examples as portlets

Apache Wicket 6 examples as portlets

Clone this wiki locally