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 79429b106 Automatic Site Publish by Buildbot 79429b106 is described below commit 79429b10654d2ad0afc4871a38bc372837bff76b Author: buildbot <us...@infra.apache.org> AuthorDate: Mon Jan 1 10:30:53 2024 +0000 Automatic Site Publish by Buildbot --- output/getting-started/themes.html | 2 +- output/tag-developers/simple-theme.html | 2 +- output/tag-developers/xhtml-theme.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/output/getting-started/themes.html b/output/getting-started/themes.html index 4b7b8d4b7..b7986c0cb 100644 --- a/output/getting-started/themes.html +++ b/output/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/output/tag-developers/simple-theme.html b/output/tag-developers/simple-theme.html index 75e30fd2d..b94030143 100644 --- a/output/tag-developers/simple-theme.html +++ b/output/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/output/tag-developers/xhtml-theme.html b/output/tag-developers/xhtml-theme.html index d492184b3..957f0e661 100644 --- a/output/tag-developers/xhtml-theme.html +++ b/output/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) {