[struts-site] 01/01: Merge pull request #16 from yasserzamani/Plugins_Developers_Guide
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 commit 584b4e2689f11c4d2d9c93be706d101f4a21dd3d Merge: d4dc803 6a5cf4e Author: Lukasz Lenart AuthorDate: Wed Sep 27 13:03:00 2017 +0200 Merge pull request #16 from yasserzamani/Plugins_Developers_Guide Fixes "Plugin Developers Guide" (initial version) source/_plugins/snippet.rb | 131 + source/plugins/bean-validation/index.md| 205 + source/plugins/cdi/index.md| 406 ++ source/plugins/codebehind/index.md | 82 + source/plugins/config-browser/index.md | 36 + source/plugins/dwr/index.md| 30 + source/plugins/embedded-jsp/index.md | 75 + source/plugins/jasperreports/index.md | 42 + source/plugins/java-8-support/index.md | 37 + source/plugins/javatemplates/index.md | 48 + source/plugins/jfreechart/index.md | 96 + source/plugins/jsf/index.md| 83 + source/plugins/osgi/index.md | 330 + source/plugins/oval/index.md | 194 + source/plugins/plexus/index.md | 44 + source/plugins/plugin-developers.md| 7514 +--- source/plugins/plugins.md | 109 + source/plugins/portlet-tiles/index.md | 69 + source/plugins/portlet/index.md| 157 + .../plugins/portlet/struts-2-portlet-tutorial.md | 641 ++ source/plugins/rest/index.md | 337 + source/plugins/sitegraph/index.md | 101 + source/plugins/sitemesh/index.md | 318 + source/plugins/spring/index.md | 230 + .../spring-session-components-workarounds.md |6 + source/plugins/struts-1/index.md | 77 + source/plugins/testng/index.md | 55 + source/plugins/tiles-3/index.md| 78 + source/plugins/tiles/index.md | 147 + source/plugins/tiles/tiles-use.md | 70 + 30 files changed, 4244 insertions(+), 7504 deletions(-) -- To stop receiving notification emails like this one, please contact "commits@struts.apache.org" .
[struts-site] branch master updated (d4dc803 -> 584b4e2)
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/struts-site.git. from d4dc803 Allows define custom breadcrumbs per page add 6a5cf4e Fixes "Plugin Developers Guide" (initial version) new 584b4e2 Merge pull request #16 from yasserzamani/Plugins_Developers_Guide The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: source/_plugins/snippet.rb | 131 + source/plugins/bean-validation/index.md| 205 + source/plugins/cdi/index.md| 406 ++ source/plugins/codebehind/index.md | 82 + source/plugins/config-browser/index.md | 36 + source/plugins/dwr/index.md| 30 + source/plugins/embedded-jsp/index.md | 75 + source/plugins/jasperreports/index.md | 42 + source/plugins/java-8-support/index.md | 37 + source/plugins/javatemplates/index.md | 48 + source/plugins/jfreechart/index.md | 96 + source/plugins/jsf/index.md| 83 + source/plugins/osgi/index.md | 330 + source/plugins/oval/index.md | 194 + source/plugins/plexus/index.md | 44 + source/plugins/plugin-developers.md| 7514 +--- source/plugins/plugins.md | 109 + source/plugins/portlet-tiles/index.md | 69 + source/plugins/portlet/index.md| 157 + .../plugins/portlet/struts-2-portlet-tutorial.md | 641 ++ source/plugins/rest/index.md | 337 + source/plugins/sitegraph/index.md | 101 + source/plugins/sitemesh/index.md | 318 + source/plugins/spring/index.md | 230 + .../spring-session-components-workarounds.md |6 + source/plugins/struts-1/index.md | 77 + source/plugins/testng/index.md | 55 + source/plugins/tiles-3/index.md| 78 + source/plugins/tiles/index.md | 147 + source/plugins/tiles/tiles-use.md | 70 + 30 files changed, 4244 insertions(+), 7504 deletions(-) create mode 100644 source/_plugins/snippet.rb create mode 100644 source/plugins/bean-validation/index.md create mode 100644 source/plugins/cdi/index.md create mode 100644 source/plugins/codebehind/index.md create mode 100644 source/plugins/config-browser/index.md create mode 100644 source/plugins/dwr/index.md create mode 100644 source/plugins/embedded-jsp/index.md create mode 100644 source/plugins/jasperreports/index.md create mode 100644 source/plugins/java-8-support/index.md create mode 100644 source/plugins/javatemplates/index.md create mode 100644 source/plugins/jfreechart/index.md create mode 100644 source/plugins/jsf/index.md create mode 100644 source/plugins/osgi/index.md create mode 100644 source/plugins/oval/index.md create mode 100644 source/plugins/plexus/index.md create mode 100644 source/plugins/plugins.md create mode 100644 source/plugins/portlet-tiles/index.md create mode 100644 source/plugins/portlet/index.md create mode 100644 source/plugins/portlet/struts-2-portlet-tutorial.md create mode 100644 source/plugins/rest/index.md create mode 100644 source/plugins/sitegraph/index.md create mode 100644 source/plugins/sitemesh/index.md create mode 100644 source/plugins/spring/index.md create mode 100644 source/plugins/spring/spring-session-components-workarounds.md create mode 100644 source/plugins/struts-1/index.md create mode 100644 source/plugins/testng/index.md create mode 100644 source/plugins/tiles-3/index.md create mode 100644 source/plugins/tiles/index.md create mode 100644 source/plugins/tiles/tiles-use.md -- To stop receiving notification emails like this one, please contact ['"commits@struts.apache.org" '].
[struts-site] branch master updated (584b4e2 -> 3406933)
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/struts-site.git. from 584b4e2 Merge pull request #16 from yasserzamani/Plugins_Developers_Guide add 99e0d70 Replaces all of Confluence's snippets with our own new 3406933 Merge pull request #17 from yasserzamani/replace_with_snippet The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: source/_plugins/snippet.rb | 6 + source/core-developers/action-mapper.md| 4 +- source/core-developers/after-annotation.md | 8 +- source/core-developers/alias-interceptor.md| 8 +- .../annotation-workflow-interceptor.md | 6 +- source/core-developers/basic-validation.md | 6 +- source/core-developers/before-annotation.md| 8 +- source/core-developers/before-result-annotation.md | 8 +- source/core-developers/checkbox-interceptor.md | 4 +- source/core-developers/client-validation.md| 6 +- source/core-developers/conversion-annotation.md| 8 +- .../conversion-error-field-validator-annotation.md | 8 +- .../conversion-error-interceptor.md| 10 +- source/core-developers/cookie-interceptor.md | 8 +- .../core-developers/cookie-provider-interceptor.md | 8 +- .../core-developers/create-if-null-annotation.md | 8 +- .../core-developers/create-session-interceptor.md | 8 +- .../core-developers/custom-validator-annotation.md | 8 +- .../date-range-field-validator-annotation.md | 8 +- source/core-developers/debugging-interceptor.md| 8 +- .../default-workflow-interceptor.md| 10 +- .../double-range-field-validator-annotation.md | 8 +- source/core-developers/element-annotation.md | 6 +- .../core-developers/email-validator-annotation.md | 8 +- source/core-developers/exception-interceptor.md| 8 +- .../execute-and-wait-interceptor.md| 8 +- .../expression-validator-annotation.md | 8 +- .../field-expression-validator-annotation.md | 8 +- source/core-developers/file-upload-interceptor.md | 14 +- source/core-developers/file-upload.md | 2 +- source/core-developers/input-config-annotation.md | 8 +- .../int-range-field-validator-annotation.md| 8 +- source/core-developers/key-annotation.md | 8 +- source/core-developers/key-property-annotation.md | 8 +- source/core-developers/logger-interceptor.md | 8 +- .../parameter-filter-interceptor.md| 4 +- source/core-developers/postback-result.md | 6 +- source/core-developers/prepare-interceptor.md | 10 +- .../pure-java-script-client-side-validation.md | 2 +- source/core-developers/redirect-action-result.md | 6 +- source/core-developers/redirect-result.md | 6 +- .../regex-field-validator-annotation.md| 8 +- .../required-field-validator-annotation.md | 8 +- .../required-string-validator-annotation.md| 8 +- source/core-developers/roles-interceptor.md| 6 +- source/core-developers/scope-interceptor.md| 8 +- .../scoped-model-driven-interceptor.md | 8 +- .../core-developers/servlet-config-interceptor.md | 8 +- .../static-parameters-interceptor.md | 8 +- .../string-length-field-validator-annotation.md| 8 +- source/core-developers/timer-interceptor.md| 8 +- source/core-developers/token-interceptor.md| 8 +- .../core-developers/token-session-interceptor.md | 8 +- .../core-developers/type-conversion-annotation.md | 8 +- source/core-developers/using-field-validators.md | 6 +- .../core-developers/using-non-field-validators.md | 6 +- .../using-visitor-field-validator.md | 6 +- source/core-developers/validation-annotation.md| 10 +- source/core-developers/validation-interceptor.md | 8 +- .../validation-parameter-annotation.md | 8 +- source/core-developers/validations-annotation.md | 8 +- source/core-developers/velocity-result.md | 6 +- .../visitor-field-validator-annotation.md | 8 +- source/plugins/plugins.md | 2 +- source/tag-developers/action-tag.md| 8 +- source/tag-developers/actionerror-tag.md | 6 +- source/tag-developers/actionmessage-tag.md | 6 +- source/tag-developers/ajax-common-header.md| 314 ++--- source/tag-developers/append-tag.md| 8 +- source/tag-developers/bean-tag.md | 8 +- source/tag-developers/checkbox-tag.md
[struts-site] 01/01: Merge pull request #17 from yasserzamani/replace_with_snippet
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 commit 3406933931951e1cb0d1d1ad5ea7de971c6e4f28 Merge: 584b4e2 99e0d70 Author: Lukasz Lenart AuthorDate: Wed Sep 27 20:21:21 2017 +0200 Merge pull request #17 from yasserzamani/replace_with_snippet Replaces all of Confluence's snippets with our own source/_plugins/snippet.rb | 6 + source/core-developers/action-mapper.md| 4 +- source/core-developers/after-annotation.md | 8 +- source/core-developers/alias-interceptor.md| 8 +- .../annotation-workflow-interceptor.md | 6 +- source/core-developers/basic-validation.md | 6 +- source/core-developers/before-annotation.md| 8 +- source/core-developers/before-result-annotation.md | 8 +- source/core-developers/checkbox-interceptor.md | 4 +- source/core-developers/client-validation.md| 6 +- source/core-developers/conversion-annotation.md| 8 +- .../conversion-error-field-validator-annotation.md | 8 +- .../conversion-error-interceptor.md| 10 +- source/core-developers/cookie-interceptor.md | 8 +- .../core-developers/cookie-provider-interceptor.md | 8 +- .../core-developers/create-if-null-annotation.md | 8 +- .../core-developers/create-session-interceptor.md | 8 +- .../core-developers/custom-validator-annotation.md | 8 +- .../date-range-field-validator-annotation.md | 8 +- source/core-developers/debugging-interceptor.md| 8 +- .../default-workflow-interceptor.md| 10 +- .../double-range-field-validator-annotation.md | 8 +- source/core-developers/element-annotation.md | 6 +- .../core-developers/email-validator-annotation.md | 8 +- source/core-developers/exception-interceptor.md| 8 +- .../execute-and-wait-interceptor.md| 8 +- .../expression-validator-annotation.md | 8 +- .../field-expression-validator-annotation.md | 8 +- source/core-developers/file-upload-interceptor.md | 14 +- source/core-developers/file-upload.md | 2 +- source/core-developers/input-config-annotation.md | 8 +- .../int-range-field-validator-annotation.md| 8 +- source/core-developers/key-annotation.md | 8 +- source/core-developers/key-property-annotation.md | 8 +- source/core-developers/logger-interceptor.md | 8 +- .../parameter-filter-interceptor.md| 4 +- source/core-developers/postback-result.md | 6 +- source/core-developers/prepare-interceptor.md | 10 +- .../pure-java-script-client-side-validation.md | 2 +- source/core-developers/redirect-action-result.md | 6 +- source/core-developers/redirect-result.md | 6 +- .../regex-field-validator-annotation.md| 8 +- .../required-field-validator-annotation.md | 8 +- .../required-string-validator-annotation.md| 8 +- source/core-developers/roles-interceptor.md| 6 +- source/core-developers/scope-interceptor.md| 8 +- .../scoped-model-driven-interceptor.md | 8 +- .../core-developers/servlet-config-interceptor.md | 8 +- .../static-parameters-interceptor.md | 8 +- .../string-length-field-validator-annotation.md| 8 +- source/core-developers/timer-interceptor.md| 8 +- source/core-developers/token-interceptor.md| 8 +- .../core-developers/token-session-interceptor.md | 8 +- .../core-developers/type-conversion-annotation.md | 8 +- source/core-developers/using-field-validators.md | 6 +- .../core-developers/using-non-field-validators.md | 6 +- .../using-visitor-field-validator.md | 6 +- source/core-developers/validation-annotation.md| 10 +- source/core-developers/validation-interceptor.md | 8 +- .../validation-parameter-annotation.md | 8 +- source/core-developers/validations-annotation.md | 8 +- source/core-developers/velocity-result.md | 6 +- .../visitor-field-validator-annotation.md | 8 +- source/plugins/plugins.md | 2 +- source/tag-developers/action-tag.md| 8 +- source/tag-developers/actionerror-tag.md | 6 +- source/tag-developers/actionmessage-tag.md | 6 +- source/tag-developers/ajax-common-header.md| 314 ++--- source/tag-developers/append-tag.md| 8 +- source/tag-developers/bean-tag.md | 8 +- source/tag-developers/checkbox-tag.md | 6 +- source/tag-developers/checkboxlist-tag.md | 8 +- source/tag-developers/combobox-tag.md | 6 +- source/tag-developers/component-tag.md | 8 +- source/tag-develope
[struts-site] branch master updated: Fixes few things
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..000 --- 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 > thir
[struts-site] branch asf-site updated: Updates production by Jenkins
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/asf-site by this push: new 0db3f4f Updates production by Jenkins 0db3f4f is described below commit 0db3f4feaac90b7b5ddc1dd4ef2352809a6dfc68 Author: jenkins AuthorDate: Wed Sep 27 18:35:12 2017 + Updates production by Jenkins --- content/plugins/index.html | 27 +-- content/plugins/plugins.html | 4 ++-- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/content/plugins/index.html b/content/plugins/index.html index a2f70a7..de182a6 100644 --- a/content/plugins/index.html +++ b/content/plugins/index.html @@ -7,7 +7,7 @@ - Plugins (WIP) + Plugins @@ -127,16 +127,31 @@ https://github.com/apache/struts-site/edit/master/source/plugins/index.md"; title="Edit this page on GitHub">Edit on GitHub -Plugins +Plugin Developers Guide -Link to Plugin Developers Guide +Apache Struts 2 provides a simple plugin architecture 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 - JSON plugin - JUnit plugin + Plugins + Extending an Application with Custom Plugins +Bundled Plugins + + + + + Bean Validation Plugin (2.5+)CDI (JSR 299) Plugin (2.3.1+)Codebehind Plugin (< 2.5)Config Browser PluginConvention Plugin (2.1.3+)DWR PluginEmbedded JSP Plugin (2.1.7+)JasperReports PluginJava 8 Support Plu [...] + OVal Plugin (2.1.7+)OSGi Plugin (2.1.7+)Plexus PluginPortlet PluginPortlet Tiles Plugin (2.3.5+)REST Plugin (2.1.1+)Deprecated: SiteGraph PluginSiteMesh PluginSpring PluginStruts 1 Plugin( < 2.5) + + + + + For a complete list of bundled and third-party plugins, visit the http://cwiki.apache.org/S2PLUGINS/home.html";>Plugin Registry. + diff --git a/content/plugins/plugins.html b/content/plugins/plugins.html index 0791b40..51adbdc 100644 --- a/content/plugins/plugins.html +++ b/content/plugins/plugins.html @@ -127,6 +127,8 @@ https://github.com/apache/struts-site/edit/master/source/plugins/plugins.md"; title="Edit this page on GitHub">Edit on GitHub +<< back to Plugins + Plugins Struts 2 plugins contain classes and configuration that extend, replace, or add to existing Struts framework functionality. A plugin can be installed by adding its JAR file to the application’s class path, in addition to the JAR files to fulfill whatever dependencies the plugin itself may have. To configure the plugin, the JAR should contain a struts-plugin.xml file, which follows the same format as an ordinary str [...] @@ -542,8 +544,6 @@ For a list of bundled plugins, see the Plugin Reference Documentation. For more about bundled and third-party plugins, visit the http://cwiki.apache.org/S2PLUGINS/home.html";>Apache Struts Plugin Registry. -Back to Home - -- To stop receiving notification emails like this one, please contact ['"commits@struts.apache.org" '].