[struts-site] branch fixes-tags updated (ad1163e -> 722b674)
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a change to branch fixes-tags in repository https://gitbox.apache.org/repos/asf/struts-site.git. from ad1163e Cleans up and reformats docs add 722b674 Cleans up and reformats docs No new revisions were added by this update. Summary of changes: source/tag-developers/generator-tag.md| 255 +-- source/tag-developers/head-tag.md | 761 +--- source/tag-developers/hidden-tag.md | 779 +--- source/tag-developers/i18n-tag.md | 101 +- source/tag-developers/if-tag.md | 102 +- source/tag-developers/include-tag.md | 119 +- source/tag-developers/inputtransferselect-tag.md | 1155 +--- source/tag-developers/iterator-tag.md | 437 + source/tag-developers/label-tag.md| 794 +--- source/tag-developers/merge-tag.md| 218 +-- source/tag-developers/optgroup-tag.md | 182 +- source/tag-developers/optiontransferselect-tag.md | 2018 + source/tag-developers/param-tag.md| 200 +- source/tag-developers/password-tag.md | 872 + source/tag-developers/property-tag.md | 197 +- source/tag-developers/push-tag.md | 207 +-- source/tag-developers/radio-tag.md| 915 +- source/tag-developers/reset-tag.md| 872 + source/tag-developers/select-tag.md | 1032 +-- source/tag-developers/set-tag.md | 156 +- source/tag-developers/sort-tag.md | 161 +- source/tag-developers/submit-tag.md | 857 + source/tag-developers/subset-tag.md | 301 +-- source/tag-developers/text-tag.md | 33 +- source/tag-developers/textfield-tag.md| 853 + source/tag-developers/token-tag.md| 769 +--- source/tag-developers/updownselect-tag.md | 1127 +--- source/tag-developers/url-tag.md | 384 +--- 28 files changed, 965 insertions(+), 14892 deletions(-)
[struts-site] branch asf-staging updated: Updates stage by Jenkins
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-staging in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/asf-staging by this push: new 078baeb Updates stage by Jenkins 078baeb is described below commit 078baeb95c6b31c1bec17f8a29d73b00d75afefc Author: jenkins AuthorDate: Thu Feb 20 18:22:23 2020 + Updates stage by Jenkins --- content/tag-developers/generator-tag.html | 235 +-- content/tag-developers/head-tag.html | 757 +--- content/tag-developers/hidden-tag.html | 762 +--- content/tag-developers/i18n-tag.html | 89 +- content/tag-developers/if-tag.html | 94 +- content/tag-developers/include-tag.html| 103 +- .../tag-developers/inputtransferselect-tag.html| 1147 +-- content/tag-developers/iterator-tag.html | 410 ++-- content/tag-developers/label-tag.html | 774 +--- content/tag-developers/merge-tag.html | 201 +- content/tag-developers/optgroup-tag.html | 168 +- .../tag-developers/optiontransferselect-tag.html | 2025 +--- content/tag-developers/param-tag.html | 188 +- content/tag-developers/password-tag.html | 852 +--- content/tag-developers/property-tag.html | 177 +- content/tag-developers/push-tag.html | 146 +- content/tag-developers/radio-tag.html | 903 + content/tag-developers/reset-tag.html | 850 +--- content/tag-developers/select-tag.html | 1014 +- content/tag-developers/set-tag.html| 148 +- content/tag-developers/sort-tag.html | 148 +- content/tag-developers/submit-tag.html | 867 + content/tag-developers/subset-tag.html | 264 +-- content/tag-developers/text-tag.html | 135 +- content/tag-developers/textfield-tag.html | 833 +--- content/tag-developers/token-tag.html | 757 +--- content/tag-developers/updownselect-tag.html | 1109 +-- content/tag-developers/url-tag.html| 388 +--- 28 files changed, 965 insertions(+), 14579 deletions(-) diff --git a/content/tag-developers/generator-tag.html b/content/tag-developers/generator-tag.html index 5dbabd1..9f389d8 100644 --- a/content/tag-developers/generator-tag.html +++ b/content/tag-developers/generator-tag.html @@ -7,7 +7,7 @@ - Tag Developers Guide + generator tag @@ -127,206 +127,93 @@ https://github.com/apache/struts-site/edit/master/source/tag-developers/generator-tag.md"; title="Edit this page on GitHub">Edit on GitHub +<< back to Tag Reference + generator -Description - - NOTE: JSP-TAG - - Generate an iterator based on the val attribute supplied. - - NOTE: The generated iterator will ALWAYS be pushed into the top of the stack, and poped - at the end of the tag. - - -Parameters - - - - - - Dynamic Attributes Allowed: false - - - - - - - - - - - - Name - - Required - - Default - - Evaluated - - Type - - Description - - - - - - converter - - false - - - - false - - org.apache.struts2.util.IteratorGenerator.Converter - - The converter to convert the String entry parsed from val into an object - - - - - - count - - false - - - - false - - Integer - - The max number entries to be in the iterator - - - - - - separator - - true - - - - false - - String - - The separator to be used in separating the val into entries of the iterator - - - -
[struts-site] branch asf-staging updated: Updates stage by Jenkins
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-staging in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/asf-staging by this push: new 865bbd2 Updates stage by Jenkins 865bbd2 is described below commit 865bbd22525a689b41504131203d4ea67adecb99 Author: jenkins AuthorDate: Thu Feb 20 18:53:12 2020 + Updates stage by Jenkins --- content/tag-developers/form-tags.html | 832 ++--- .../ognl-expression-compilation.html | 13 +- content/tag-developers/ognl.html | 30 +- content/tag-developers/velocity-tags.html | 19 +- 4 files changed, 429 insertions(+), 465 deletions(-) diff --git a/content/tag-developers/form-tags.html b/content/tag-developers/form-tags.html index 300252b..97fd760 100644 --- a/content/tag-developers/form-tags.html +++ b/content/tag-developers/form-tags.html @@ -127,22 +127,26 @@ https://github.com/apache/struts-site/edit/master/source/tag-developers/form-tags.md"; title="Edit this page on GitHub">Edit on GitHub -Form Tags +Form Tags -Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works. + + Form Tag Themes + Simple theme caveats + Common Attributes + Template-Related Attributes + Javascript-Related Attributes + Tooltip Related Attributes + - - - - - - +Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works. -Within the form tags, there are two classes of tags: the form tag itself, and all other tags, which make up the individual form elements. The behavior of the form tag is different than the elements enclosed within it. +Within the form tags, there are two classes of tags: the form tag itself, and all other tags, which make up +the individual form elements. The behavior of the form tag is different than the elements enclosed within it. -Form Tag Themes +Form Tag Themes -As explained in Themes and Templates, the HTML Tags (which includes Form Tags) are all driven by templates. Templates are grouped together to create themes. The framework bundles three themes in the distribution. +As explained in Themes and Templates, the HTML Tags (which includes Form Tags) are all driven +by templates. Templates are grouped together to create themes. The framework bundles three themes in the distribution. @@ -168,363 +172,343 @@ The predefined themes can be used “as is” or customized. - - - - The xhtml theme renders out a two-column table. If a different layout is needed, do not write your own HTML. Create a new theme or utilize the simple theme. - - + + The xhtml theme renders out a two-column table. If a different layout is needed, do not write your own HTML. +Create a new theme or utilize the simple theme. + + +Simple theme caveats + +The downside of using the simple theme is that it doesn’t support as many of the attributes that the other themes do. +For example, the label attribute does nothing in the simple theme, and the automatic display of error messages +is not supported. + +Common Attributes + +All the form tags extend the UIBean class. This base class provides a set of common attributes, that can be grouped +in to three categories: templated-related, javascript-related, and general attributes. The individual attributes +are documented on each tag’s reference page. + +In addition to the common attributes, a special attribute exists for all form element tags: form (${parameters.form}). +The form property represents the attributes used to render the form tag, such as the form’s id. In a template, +the form’s ID can be found by calling ${parameters.form.id}. + +Template-Related Attributes + + + + + Attribute + Theme + Data Types + Description + + + + + templateDir + n/a + String + define the template directory + + + theme + n/a + String + define the theme name + + + template + n/a + String + define the template name + + + themeExpansionToken + n/a + String + special token (defined with struts.ui.theme.expansion.token) used to search for template in parent theme + (don't use it separately!) + + + expandTheme + n/a + String + concatenation of themeExpansionToken and theme which tells internal template loader mechanism + to try load template from current theme and then from parent theme (and parent theme, and so on) + when used with <#include/> directive + + - - - - - +Javascript-Related Attributes + + + + + Attribute + Theme + Data T
[struts-site] branch fixes-tags updated (722b674 -> 84e20ad)
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a change to branch fixes-tags in repository https://gitbox.apache.org/repos/asf/struts-site.git. from 722b674 Cleans up and reformats docs add c82da8a Cleans up and reformats form tags guide add 84e20ad Cleans up and reformats the rest of docs No new revisions were added by this update. Summary of changes: source/tag-developers/form-tags.md | 852 ++--- .../tag-developers/ognl-expression-compilation.md | 4 + source/tag-developers/ognl.md | 30 +- source/tag-developers/velocity-tags.md | 21 +- 4 files changed, 429 insertions(+), 478 deletions(-)