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 825a93a65 Updates stage by Jenkins 825a93a65 is described below commit 825a93a65d8c7e682609e52e60143377e506ac05 Author: jenkins <bui...@apache.org> AuthorDate: Mon Jan 1 10:32:48 2024 +0000 Updates stage by Jenkins --- content/getting-started/themes.html | 2 +- content/tag-developers/simple-theme.html | 2 +- content/tag-developers/xhtml-theme.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/getting-started/themes.html b/content/getting-started/themes.html index 4b7b8d4b7..b7986c0cb 100644 --- a/content/getting-started/themes.html +++ b/content/getting-started/themes.html @@ -200,7 +200,7 @@ to your problem, post a question on the mailing list.</p> <p>Notice how the HTML generated uses table tags to control the layout of the label and select HTML. There is also a class, <code class="language-plaintext highlighter-rouge">tdLabel</code>, applied to the table column where the label tag is rendered. Since no theme was specified for the Struts 2 -select tag the default <code class="language-plaintext highlighter-rouge">xhmtl</code> theme was used.</p> +select tag the default <code class="language-plaintext highlighter-rouge">xhtml</code> theme was used.</p> <h2 id="specifying-the-theme-struts-2-should-use">Specifying The Theme Struts 2 Should Use</h2> diff --git a/content/tag-developers/simple-theme.html b/content/tag-developers/simple-theme.html index 75e30fd2d..b94030143 100644 --- a/content/tag-developers/simple-theme.html +++ b/content/tag-developers/simple-theme.html @@ -200,7 +200,7 @@ Ajax/Dojo support so that tags can import Dojo widgets easily.</p> * under the License. */ --> -<@s.script src="${base}${parameters.staticContentPath}/utils.js" type="text/javascript" /></code></pre></figure> +<@s.script src="${base}${parameters.staticContentPath}/utils.js" /></code></pre></figure> </section> diff --git a/content/tag-developers/xhtml-theme.html b/content/tag-developers/xhtml-theme.html index d492184b3..957f0e661 100644 --- a/content/tag-developers/xhtml-theme.html +++ b/content/tag-developers/xhtml-theme.html @@ -525,7 +525,7 @@ wrapping table, the opening and closing templates also, if the <code class="lang <#include "/${parameters.templateDir}/simple/form-close.ftl" /> <#include "/${parameters.templateDir}/${parameters.expandTheme}/form-close-validate.ftl" /> <#if parameters.focusElement??> -<@s.script type="text/javascript"> +<@s.script> StrutsUtils.addOnLoad(function() { var element = document.getElementById("${parameters.focusElement?js_string}"); if(element) { @@ -601,7 +601,7 @@ to <code class="language-plaintext highlighter-rouge">true</code>, enable <a hre <#include "/${parameters.templateDir}/simple/form-close.ftl" /> <#include "/${parameters.templateDir}/${parameters.expandTheme}/form-close-validate.ftl" /> <#if parameters.focusElement??> -<@s.script type="text/javascript"> +<@s.script> StrutsUtils.addOnLoad(function() { var element = document.getElementById("${parameters.focusElement?js_string}"); if(element) {