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 <lukaszlen...@apache.org> 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+)<br>[CDI (JSR 299) Plugin](cdi) (2.3.1+)<br>[Codebehind Plugin](codebehind) (< 2.5)<br>[Config Browser Plugin](config-browser)<br>[Convention Plugin](convention) (2.1.3+)<br>[DWR Plugin](dwr)<br>[Embedded JSP Plugin](embedded-jsp) (2.1.7+)<br>[JasperReports Plugin](jasperreports)<br>[Java 8 Support Plugin](java-8-support) (2.3.21 - 2.5.2)<br>[Javatemplates Plugin](javatemplates) (2.1.3+)<br>[JFreeChart Plugin](jfreechart)<br>[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+)<br>[CDI (JSR 299) Plugin](cdi) (2.3.1+)<br>[Codebehind Plugin](codebehind) (< 2.5)<br>[Config Browser Plugin](config-browser)<br>[Convention Plugin](convention) (2.1.3+)<br>[DWR Plugin](dwr)<br>[Embedded JSP Plugin](embedded-jsp) (2.1.7+)<br>[JasperReports Plugin](jasperreports)<br>[Java 8 Support Plugin](java-8-support) (2.3.21 - 2.5.2)<br>[Javatemplates Plugin](javatemplates) (2.1.3+)<br>[JFreeChart Plugin](jfreechart)<br>[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" <commits@struts.apache.org>'].