Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 00277200D0B for ; Wed, 27 Sep 2017 20:31:20 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F2D0C1609CA; Wed, 27 Sep 2017 18:31:20 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 412081609C1 for ; Wed, 27 Sep 2017 20:31:20 +0200 (CEST) Received: (qmail 42440 invoked by uid 500); 27 Sep 2017 18:31:19 -0000 Mailing-List: contact commits-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list commits@struts.apache.org Received: (qmail 42431 invoked by uid 99); 27 Sep 2017 18:31:19 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Sep 2017 18:31:19 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id A1E828191E; Wed, 27 Sep 2017 18:31:16 +0000 (UTC) Date: Wed, 27 Sep 2017 18:31:16 +0000 To: "commits@struts.apache.org" Subject: [struts-site] branch master updated: Fixes few things MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <150653707668.31210.14674004756950087999@gitbox.apache.org> From: lukaszlenart@apache.org Reply-To: "commits@struts.apache.org" X-Git-Host: gitbox.apache.org X-Git-Repo: struts-site X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 3406933931951e1cb0d1d1ad5ea7de971c6e4f28 X-Git-Newrev: 9e25873a6194bac50f280f1d75e6d8dcf45d9580 X-Git-Rev: 9e25873a6194bac50f280f1d75e6d8dcf45d9580 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated archived-at: Wed, 27 Sep 2017 18:31:21 -0000 This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/master by this push: new 9e25873 Fixes few things 9e25873 is described below commit 9e25873a6194bac50f280f1d75e6d8dcf45d9580 Author: Lukasz Lenart AuthorDate: Wed Sep 27 20:31:04 2017 +0200 Fixes few things --- source/plugins/index.md | 20 +++++++++++++------- source/plugins/plugin-developers.md | 20 -------------------- source/plugins/plugins.md | 9 +++++---- 3 files changed, 18 insertions(+), 31 deletions(-) diff --git a/source/plugins/index.md b/source/plugins/index.md index 931844a..5a8bb05 100644 --- a/source/plugins/index.md +++ b/source/plugins/index.md @@ -1,13 +1,19 @@ --- layout: default -title: Plugins (WIP) +title: Plugins --- -# Plugins +# Plugin Developers Guide -Link to [Plugin Developers Guide](plugin-developers.html) +Apache Struts 2 provides a simple [plugin architecture](plugins.html) so that developers can extend the framework just +by adding a JAR to the application's classpath. Since plugins are contained in a JAR, they are easy to share with others. +Several plugins are bundled with the framework, and others are available from third-party sources. - - [Convention plugin](convention/) - - [JSON plugin](json/) - - [JUnit plugin](junit/) - \ No newline at end of file +- [Plugins](plugins.html) +- [Extending an Application with Custom Plugins](extending-an-application-with-custom-plugins.html) + +## Bundled Plugins + +|[Bean Validation Plugin](bean-validation) (2.5+)
[CDI (JSR 299) Plugin](cdi) (2.3.1+)
[Codebehind Plugin](codebehind) (< 2.5)
[Config Browser Plugin](config-browser)
[Convention Plugin](convention) (2.1.3+)
[DWR Plugin](dwr)
[Embedded JSP Plugin](embedded-jsp) (2.1.7+)
[JasperReports Plugin](jasperreports)
[Java 8 Support Plugin](java-8-support) (2.3.21 - 2.5.2)
[Javatemplates Plugin](javatemplates) (2.1.3+)
[JFreeChart Plugin](jfreechart)
[JSF Plugin](j [...] + +> For a complete list of bundled and third-party plugins, visit the [Plugin Registry](http://cwiki.apache.org/S2PLUGINS/home.html). diff --git a/source/plugins/plugin-developers.md b/source/plugins/plugin-developers.md deleted file mode 100644 index 8aadf60..0000000 --- a/source/plugins/plugin-developers.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -layout: plugin -title: Plugins Developers Guide ---- - -# Plugin Developers Guide - -Apache Struts 2 provides a simple [plugin architecture](plugins.html) so that developers can extend the framework just by adding a JAR to the application's classpath. Since plugins are contained in a JAR, they are easy to share with others. Several plugins are bundled with the framework, and others are available from third-party sources. - - + [Plugins](plugins.html) - - + [Extending an Application with Custom Plugins](extending-an-application-with-custom-plugins.html) - -## Bundled Plugins - -|[Bean Validation Plugin](bean-validation) (2.5+)
[CDI (JSR 299) Plugin](cdi) (2.3.1+)
[Codebehind Plugin](codebehind) (< 2.5)
[Config Browser Plugin](config-browser)
[Convention Plugin](convention) (2.1.3+)
[DWR Plugin](dwr)
[Embedded JSP Plugin](embedded-jsp) (2.1.7+)
[JasperReports Plugin](jasperreports)
[Java 8 Support Plugin](java-8-support) (2.3.21 - 2.5.2)
[Javatemplates Plugin](javatemplates) (2.1.3+)
[JFreeChart Plugin](jfreechart)
[JSF Plugin](j [...] - -> For a complete list of bundled and third-party plugins, visit the [Plugin Registry](http://cwiki.apache.org/S2PLUGINS/home.html). - -### Next: [Architects Guide](architects-guide.html) diff --git a/source/plugins/plugins.md b/source/plugins/plugins.md index b93999e..0aca90c 100644 --- a/source/plugins/plugins.md +++ b/source/plugins/plugins.md @@ -1,6 +1,9 @@ --- layout: default title: Plugins +parent: + url: index.html + title: Plugins --- # Plugins @@ -60,7 +63,7 @@ Let's look at two similar but different plugins bundled with the core distributi The `sitemesh-plugin.jar` contains several classes, a standard JAR manifest, and a plugin configuration file. -```text +````text + META-INF/ + manifest.mf + org @@ -71,7 +74,7 @@ The `sitemesh-plugin.jar` contains several classes, a standard JAR manifest, and + TemplatePageFilter.class + VelocityPageFilter.class + struts-plugin.xml -``` +```` While the SiteMesh Plugin doesn't provide any new results, interceptors, or actions, or even extend any Struts integration points, it does need to know what settings have been enabled in the Struts framework. Therefore, its `struts-plugin.xml` looks like this: @@ -105,5 +108,3 @@ Since the Tiles Plugin does need to register configuration elements, a result cl ## Plugin Registry > For a list of bundled plugins, see the [Plugin Reference Documentation](plugin-developers.html). For more about bundled and third-party plugins, visit the [Apache Struts Plugin Registry](http://cwiki.apache.org/S2PLUGINS/home.html). - -## Back to [Home](/) -- To stop receiving notification emails like this one, please contact ['"commits@struts.apache.org" '].