You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2021/11/05 10:45:56 UTC
[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] 02/02: Clarifies a list of supported themes
Posted by lu...@apache.org.
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 <lu...@apache.org>
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 `<table>`s|(default)
+|css_xhtml|Extends simple, layout base on `<div>`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] 01/02: Fixes problem with list
Posted by lu...@apache.org.
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 <lu...@apache.org>
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 `<div>` for the HTML [Struts Tags](struts-tags.html) ([form](form-tag.htmk),
+- Standard two-column CSS-based layout, using `<div>` 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