[struts-site] branch master updated: Fixes small typos
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 3298a1e Fixes small typos 3298a1e is described below commit 3298a1e67ca9382183353586db416a710df0b2b0 Author: Lukasz Lenart AuthorDate: Fri Nov 5 11:24:22 2021 +0100 Fixes small typos --- source/tag-developers/form-tags.md | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/source/tag-developers/form-tags.md b/source/tag-developers/form-tags.md index c250b0c..0aa6eed 100644 --- a/source/tag-developers/form-tags.md +++ b/source/tag-developers/form-tags.md @@ -12,7 +12,7 @@ title: Tag Developers Guide Please make sure you have read the [Tag Syntax](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. +the individual form elements. The behavior of the form tag is different from the elements enclosed within it. ## Form Tag Themes @@ -47,7 +47,7 @@ the form's ID can be found by calling `${parameters.form.id}`. ## Template-Related Attributes - + Attribute @@ -95,7 +95,7 @@ the form's ID can be found by calling `${parameters.form.id}`. ## Javascript-Related Attributes - + Attribute @@ -188,7 +188,7 @@ the form's ID can be found by calling `${parameters.form.id}`. ## Tooltip Related Attributes - + Attribute Data Type @@ -216,7 +216,7 @@ the form's ID can be found by calling `${parameters.form.id}`. tooltipDelay String 500 - Tooltip shows up after the specified timeout (miliseconds). A behavior similar to that of OS based tooltips. + Tooltip shows up after the specified timeout (milliseconds). A behavior similar to that of OS based tooltips. key @@ -228,7 +228,7 @@ the form's ID can be found by calling `${parameters.form.id}`. ## General Attributes - + Attribute @@ -333,10 +333,10 @@ the form's ID can be found by calling `${parameters.form.id}`. In many of the tags (except for the form tag) there is a unique relationship between the `name` and `value` attributes. The `name` attribute provides the name for the tag, which in turn is used as the control attribute when the form is submitted. The value submitted is bound to the `name`. In most cases, the `name` maps to a simple JavaBean property, -such as "postalCode". On a submit, the value would be set to the property by calling the `setPostalCode` mutator. +such as "postalCode". On submit, the value would be set to the property by calling the `setPostalCode` mutator. -Likewise, a form control could be populated by calling a JavaBean accessor, like `getPostalCode`. In the expression l -anguage, we can refer to the JavaBean property by name. An expression like "%{postalCode}" would in turn call `getPostalCode`. +Likewise, a form control could be populated by calling a JavaBean accessor, like `getPostalCode`. In the expression +language, we can refer to the JavaBean property by name. An expression like "%{postalCode}" would in turn call `getPostalCode`. ```ftl <@s.form action="updateAddress"> @@ -382,7 +382,7 @@ and a validator is associated with that particular field. > **NOTE**: tooltipConfig is deprecated, use individual tooltip configuration > attributes instead -Every Form UI component (in xhtml / css_xhtml or any other that extends them) can have tooltips assigned to them. +Every Form UI component (in `xhtml` / `css_xhtml` or any other which extends them) can have tooltips assigned to them. The Form component's tooltip related attribute, once defined, will be applied to all form UI components that are created under it unless explicitly overridden by having the Form UI component itself defined with their own tooltip attribute.
[struts-site] branch asf-site updated: Automatic Site Publish by Buildbot
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 1ac445b Automatic Site Publish by Buildbot 1ac445b is described below commit 1ac445b74a0e790c78dd0ef997db70733a68b1d7 Author: buildbot AuthorDate: Fri Nov 5 10:25:12 2021 + Automatic Site Publish by Buildbot --- output/tag-developers/form-tags.html | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/output/tag-developers/form-tags.html b/output/tag-developers/form-tags.html index c4aa9cb..099517e 100644 --- a/output/tag-developers/form-tags.html +++ b/output/tag-developers/form-tags.html @@ -143,7 +143,7 @@ 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. +the individual form elements. The behavior of the form tag is different from the elements enclosed within it. Form Tag Themes @@ -197,7 +197,7 @@ the form’s ID can be found by calling ${parame Template-Related Attributes - + Attribute @@ -245,7 +245,7 @@ the form’s ID can be found by calling ${parame Javascript-Related Attributes - + Attribute @@ -338,7 +338,7 @@ the form’s ID can be found by calling ${parame Tooltip Related Attributes - + Attribute Data Type @@ -366,7 +366,7 @@ the form’s ID can be found by calling ${parame tooltipDelay String 500 - Tooltip shows up after the specified timeout (miliseconds). A behavior similar to that of OS based tooltips. + Tooltip shows up after the specified timeout (milliseconds). A behavior similar to that of OS based tooltips. key @@ -378,7 +378,7 @@ the form’s ID can be found by calling ${parame ## General Attributes - + Attribute @@ -483,10 +483,10 @@ the form’s ID can be found by calling ${parame In many of the tags (except for the form tag) there is a unique relationship between the `name` and `value` attributes. The `name` attribute provides the name for the tag, which in turn is used as the control attribute when the form is submitted. The value submitted is bound to the `name`. In most cases, the `name` maps to a simple JavaBean property, -such as "postalCode". On a submit, the value would be set to the property by calling the `setPostalCode` mutator. +such as "postalCode". On submit, the value would be set to the property by calling the `setPostalCode` mutator. -Likewise, a form control could be populated by calling a JavaBean accessor, like `getPostalCode`. In the expression l -anguage, we can refer to the JavaBean property by name. An expression like "%{postalCode}" would in turn call `getPostalCode`. +Likewise, a form control could be populated by calling a JavaBean accessor, like `getPostalCode`. In the expression +language, we can refer to the JavaBean property by name. An expression like "%{postalCode}" would in turn call `getPostalCode`. ```ftl <@s.form action="updateAddress"> @@ -532,7 +532,7 @@ and a validator is associated with that particular field. > **NOTE**: tooltipConfig is deprecated, use individual tooltip configuration attributes instead -Every Form UI component (in xhtml / css_xhtml or any other that extends them) can have tooltips assigned to them. +Every Form UI component (in `xhtml` / `css_xhtml` or any other which extends them) can have tooltips assigned to them. The Form component's tooltip related attribute, once defined, will be applied to all form UI components that are created under it unless explicitly overridden by having the Form UI component itself defined with their own tooltip attribute.
[struts-site] branch master updated: Drops table styling as it is done via CSS already
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 83550a2 Drops table styling as it is done via CSS already 83550a2 is described below commit 83550a2333bb8391016642e86645f6bf19023520 Author: Lukasz Lenart AuthorDate: Fri Nov 5 11:25:54 2021 +0100 Drops table styling as it is done via CSS already --- source/tag-developers/form-tags.md | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/tag-developers/form-tags.md b/source/tag-developers/form-tags.md index 0aa6eed..35ece65 100644 --- a/source/tag-developers/form-tags.md +++ b/source/tag-developers/form-tags.md @@ -47,7 +47,7 @@ the form's ID can be found by calling `${parameters.form.id}`. ## Template-Related Attributes - + Attribute @@ -95,7 +95,7 @@ the form's ID can be found by calling `${parameters.form.id}`. ## Javascript-Related Attributes - + Attribute @@ -188,7 +188,7 @@ the form's ID can be found by calling `${parameters.form.id}`. ## Tooltip Related Attributes - + Attribute Data Type @@ -228,7 +228,7 @@ the form's ID can be found by calling `${parameters.form.id}`. ## General Attributes - + Attribute
[struts-site] branch asf-site updated: Automatic Site Publish by Buildbot
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 37bd7cb Automatic Site Publish by Buildbot 37bd7cb is described below commit 37bd7cb63b24f1dad1219144aa88c236b783a8cc Author: buildbot AuthorDate: Fri Nov 5 10:26:24 2021 + Automatic Site Publish by Buildbot --- output/tag-developers/form-tags.html | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/output/tag-developers/form-tags.html b/output/tag-developers/form-tags.html index 099517e..bcd5ec1 100644 --- a/output/tag-developers/form-tags.html +++ b/output/tag-developers/form-tags.html @@ -197,7 +197,7 @@ the form’s ID can be found by calling ${parame Template-Related Attributes - + Attribute @@ -245,7 +245,7 @@ the form’s ID can be found by calling ${parame Javascript-Related Attributes - + Attribute @@ -338,7 +338,7 @@ the form’s ID can be found by calling ${parame Tooltip Related Attributes - + Attribute Data Type @@ -378,7 +378,7 @@ the form’s ID can be found by calling ${parame ## General Attributes - + Attribute
[struts-site] branch master updated: Turns html tables into MD tables
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 0ee6e78 Turns html tables into MD tables 0ee6e78 is described below commit 0ee6e78ff1da56b472fe675d342b00b164e7ad40 Author: Lukasz Lenart AuthorDate: Fri Nov 5 11:31:17 2021 +0100 Turns html tables into MD tables --- source/tag-developers/form-tags.md | 314 ++--- 1 file changed, 46 insertions(+), 268 deletions(-) diff --git a/source/tag-developers/form-tags.md b/source/tag-developers/form-tags.md index 35ece65..6a19d1f 100644 --- a/source/tag-developers/form-tags.md +++ b/source/tag-developers/form-tags.md @@ -47,283 +47,61 @@ 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 - - - +|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 Types - Description - - - - - onclick - simple - String - html javascript onclick attribute - - - ondblclick - simple - String - html javascript ondbclick attribute - - - onmousedown - simple - String - html javascript onmousedown attribute - - - onmouseup - simple - String - html javascript onmouseup attribute - - - onmouseover - simple - String - html javascript onmouseover attribute - - - onmouseout - simple - String - html javascript onmouseout attribute - - - onfocus - simple - String - html javascript onfocus attribute - - - onblur - simple - String - html javascript onblur attribute - - - onkeypress - simple - String - html javascript onkeypress attribute - - - onkeyup - simple - String - html javascript onkeyup attribute - - - onkeydown - simple - String - html javascript onkeydown attribute - - - onselect - simple - String - html javascript onselect attribute - - - onchange - simple - String - html javascript onchange attribute - - - +|Attribute|Theme|Data Types|Description| +|--- |--- |--- |--- | +|onclick|simple|String|html javascript onclick attribute| +|ondblclick|simple|String|html javascript ondbclick attribute| +|onmousedown|simple|String|html javascript onmousedown attribute| +|onmouseup|simple|String|html javascript onmouseup attribute| +|onmouseover|simple|String|html javascript onmouseover attribute| +|onmouseout|simple|String|html javascript onmouseout attribute| +|onfocus|simple|String|html javascript onfocus attribute| +|onblur|simple|String|html javascript onblur attribute| +|onkeypress|simple|String|html javascript onkeypress attribute| +|onkeyup|simple|String|html javascript onkeyup attribute| +|onkeydown|simple|String|html javascript onkeydown attribute| +|onselect|simple|String|html ja
[struts-site] branch asf-site updated: Automatic Site Publish by Buildbot
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 c8defbd Automatic Site Publish by Buildbot c8defbd is described below commit c8defbdd0bd09fab7a962c07d1fcdc8164d08eba Author: buildbot AuthorDate: Fri Nov 5 10:31:56 2021 + Automatic Site Publish by Buildbot --- output/tag-developers/form-tags.html | 708 +++ 1 file changed, 381 insertions(+), 327 deletions(-) diff --git a/output/tag-developers/form-tags.html b/output/tag-developers/form-tags.html index bcd5ec1..6095add 100644 --- a/output/tag-developers/form-tags.html +++ b/output/tag-developers/form-tags.html @@ -138,6 +138,12 @@ Template-Related Attributes Javascript-Related Attributes Tooltip Related Attributes + General Attributes + Value/Name Relationship + ID Name Assignment + Form labelposition propagation + Required Attribute + Tooltip Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works. @@ -198,395 +204,443 @@ the form’s ID can be found by calling ${parame 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 - - + + + 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 Types - Description - - - - - onclick - simple - String - html javascript onclick attribute - - - ondblclick - simple - String - html javascript ondbclick attribute - - - onmousedown - simple - String - html javascript onmousedown attribute - - - onmouseup - simple - String - html javascript onmouseup attribute - - - onmouseover - simple - String - html javascript onmouseover attribute - - - onmouseout - simple - String - html javascript onmouseout attribute - - - onfocus - simple - String - html javascript onfocus attribute - - - onblur - simple - String - html javascript onblur attribute - - - onkeypress - simple - String - html javascript onkeypress attribute - - - onkeyup - simple - String - html javascript onkeyup attribute - - - onkeydown - simple - String - html javascript onkeydown attribute - - - onselect - simple - String - html javascript onselect attribute - - - onchange - simple - String - html javascript onchange attribute - - + + + Attribute + Theme + Data Types + Description + + + + + onclick + simple + String + html javascript onclick
[struts-site] 01/02: Fixes problem with list
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 353e28395099bf47c412145fae7d4d2bbc903a9d Author: Lukasz Lenart AuthorDate: Fri Nov 5 11:45:39 2021 +0100 Fixes problem with list --- source/tag-developers/css-xhtml-theme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tag-developers/css-xhtml-theme.md b/source/tag-developers/css-xhtml-theme.md index 87ba989..4da9eda 100644 --- a/source/tag-developers/css-xhtml-theme.md +++ b/source/tag-developers/css-xhtml-theme.md @@ -10,7 +10,7 @@ parent: The _css_xhtml theme_ provides all the basics that the [simple theme](simple-theme.html) provides and adds several features. -_ Standard two-column CSS-based layout, using `` for the HTML [Struts Tags](struts-tags.html) ([form](form-tag.htmk), +- Standard two-column CSS-based layout, using `` for the HTML [Struts Tags](struts-tags.html) ([form](form-tag.htmk), [textfield](textfield-tag.html), [select](select-tag.html), etc) - Labels for each of the HTML [Struts Tags](struts-tags.html), placed according to the CSS stylesheet - [Validation](../core-developers/validation.html) and error reporting
[struts-site] 02/02: Clarifies a list of supported themes
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 2d4eca7706f0f7f3a072db5a22b6e98c12187e5c Author: Lukasz Lenart AuthorDate: Fri Nov 5 11:45:52 2021 +0100 Clarifies a list of supported themes --- source/tag-developers/form-tags.md | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/source/tag-developers/form-tags.md b/source/tag-developers/form-tags.md index 6a19d1f..6435609 100644 --- a/source/tag-developers/form-tags.md +++ b/source/tag-developers/form-tags.md @@ -19,10 +19,11 @@ the individual form elements. The behavior of the form tag is different from the As explained in [Themes and Templates](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. -|simple|Sometimes _too_ simple| -|--|---| -|xhtml|Extends simple|(default)| -|ajax|Extends xhtml| +|Name|Description|| +|---|---|---| +|simple|Sometimes _too_ simple| +|xhtml|Extends simple, layout base on ``s|(default) +|css_xhtml|Extends simple, layout base on ``s and CSS| The predefined themes can be used "as is" or customized. @@ -48,7 +49,7 @@ 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| @@ -59,7 +60,7 @@ the form's ID can be found by calling `${parameters.form.id}`. ## Javascript-Related Attributes |Attribute|Theme|Data Types|Description| -|--- |--- |--- |--- | +|---|---|---|---| |onclick|simple|String|html javascript onclick attribute| |ondblclick|simple|String|html javascript ondbclick attribute| |onmousedown|simple|String|html javascript onmousedown attribute| @@ -77,7 +78,7 @@ the form's ID can be found by calling `${parameters.form.id}`. ## Tooltip Related Attributes |Attribute|Data Type|Default|Description| -|--- |--- |--- |--- | +|---|---|---|---| |tooltip|String|none|Set the tooltip of this particular component| |jsTooltipEnabled|String|false|Enable js tooltip rendering| |tooltipIcon|String|/struts/static/tooltip/tooltip.gif|The url to the tooltip icon| @@ -87,7 +88,7 @@ the form's ID can be found by calling `${parameters.form.id}`. ## General Attributes |Attribute|Theme|Data Types|Description| -|--- |--- |--- |--- | +|---|---|---|---| |cssClass|simple|String|define html class attribute| |cssStyle|simple|String|define html style attribute| |cssErrorClass|simple|String|error class attribute|
[struts-site] branch master updated (0ee6e78 -> 2d4eca7)
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 0ee6e78 Turns html tables into MD tables new 353e283 Fixes problem with list new 2d4eca7 Clarifies a list of supported themes The 2 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/tag-developers/css-xhtml-theme.md | 2 +- source/tag-developers/form-tags.md | 17 + 2 files changed, 10 insertions(+), 9 deletions(-)
[struts-site] branch asf-site updated: Automatic Site Publish by Buildbot
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 c4b3b0b Automatic Site Publish by Buildbot c4b3b0b is described below commit c4b3b0be2d32775554ee70f39312a7332d473c33 Author: buildbot AuthorDate: Fri Nov 5 10:46:31 2021 + Automatic Site Publish by Buildbot --- output/tag-developers/css-xhtml-theme.html | 4 ++-- output/tag-developers/form-tags.html | 15 ++- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/output/tag-developers/css-xhtml-theme.html b/output/tag-developers/css-xhtml-theme.html index 5b282b0..e8a8a66 100644 --- a/output/tag-developers/css-xhtml-theme.html +++ b/output/tag-developers/css-xhtml-theme.html @@ -135,9 +135,9 @@ The css_xhtml theme provides all the basics that the simple theme provides and adds several features. -_ Standard two-column CSS-based layout, usingfor the HTML Struts Tags (form, - textfield, select, etc) + Standard two-column CSS-based layout, usingfor the HTML Struts Tags (form, +textfield, select, etc) Labels for each of the HTML Struts Tags, placed according to the CSS stylesheet Validation and error reporting Pure JavaScript Client Side Validation using 100% diff --git a/output/tag-developers/form-tags.html b/output/tag-developers/form-tags.html index 6095add..c737145 100644 --- a/output/tag-developers/form-tags.html +++ b/output/tag-developers/form-tags.html @@ -159,20 +159,25 @@ by templates. Templates are grouped together to create themes. The framework bun - simple - Sometimes too simple + Name + Description + simple + Sometimes too simple + + + xhtml - Extends simple + Extends simple, layout base ons (default) - ajax - Extends xhtml + css_xhtml + Extends simple, layout base on
s and CSS