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 f56d37d Updates production by Jenkins f56d37d is described below commit f56d37db61f3779f0ccc401fd3ef3dbdbef6b476 Author: jenkins <bui...@apache.org> AuthorDate: Wed Nov 29 06:52:39 2017 +0000 Updates production by Jenkins --- content/getting-started/themes.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/content/getting-started/themes.html b/content/getting-started/themes.html index d12accd..d96e436 100644 --- a/content/getting-started/themes.html +++ b/content/getting-started/themes.html @@ -179,13 +179,13 @@ to your problem, post a question on the mailing list.</p> </div> <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="highlighter-rouge">tdLabel</code>, applied to the table column where the label tag is rendered. Since no theme was specified for the Struts 2 s -elect tag the default <code class="highlighter-rouge">xhmtl</code> theme was used.</p> +<code class="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="highlighter-rouge">xhmtl</code> theme was used.</p> <h2 id="specifying-the-theme-struts-2-should-use">Specifying The Theme Struts 2 Should Use</h2> <p>The Struts 2 tags have a theme attribute you can use to specify which Struts 2 theme should be used when creating the HTML -for that tag. The values for the theme attribute are simple, xhtml, css_xhtml, and ajax. To learn more about these themes +for that tag. The values for the theme attribute are <code class="highlighter-rouge">simple</code>, <code class="highlighter-rouge">xhtml</code>, <code class="highlighter-rouge">css_xhtml</code>, and <code class="highlighter-rouge">ajax</code>. To learn more about these themes visit <a href="../tag-developers/themes-and-templates.html">Themes and Templates Documentation</a>. This tutorial will review the <code class="highlighter-rouge">xhtml</code>, <code class="highlighter-rouge">css_xhtml</code>, and the <code class="highlighter-rouge">simple</code> themes. The <code class="highlighter-rouge">ajax</code> theme is a special theme used for ajax operations (see <a href="../tag-developers/ajax-theme.html">Ajax Theme in the documentation</a>).</p> @@ -209,11 +209,11 @@ Struts 2 should use:</p> (see the readme.txt file) and view the source for edit.jsp after it is rendered in your browser. You should see the form HTML tags layout controlled by table tags.</p> -<p>Change the theme to simple for the form’s theme attribute and redeploy the application. Examine the source for <code class="highlighter-rouge">edit.jsp</code> +<p>Change the theme to <code class="highlighter-rouge">simple</code> for the form’s theme attribute and redeploy the application. Examine the source for <code class="highlighter-rouge">edit.jsp</code> after it is rendered in the browser. You should see that there are no table tags controlling the layout and also there are no label tags for the text fields.</p> -<p>Change the theme to css_xhtml for the form’s theme attribute and redeploy the application. Examine the source for <code class="highlighter-rouge">edit.jsp</code> +<p>Change the theme to <code class="highlighter-rouge">css_xhtml</code> for the form’s theme attribute and redeploy the application. Examine the source for <code class="highlighter-rouge">edit.jsp</code> after it is rendered in the browser. The layout of the form tags is now controlled by div tags and the label tags are back.</p> <h2 id="specifying-the-css-used-by-the-struts-2-tag">Specifying The CSS Used By The Struts 2 Tag</h2> @@ -300,7 +300,7 @@ to <code class="highlighter-rouge">checkboxlist.ftl</code> that is in <code clas of red bold text and I added a break tag after each label so that each check box and label will be on its own line.</p> <p>Since the XHTML theme is the default theme and I have a <code class="highlighter-rouge">theme.properties</code> file defined with <code class="highlighter-rouge">parent = xhtml</code>, -the KUTheme will inherit all the themes from xhmtl exempt for the theme for the checkboxlist tag since my KUTheme includes +the KUTheme will inherit all the themes from xhmtl except for the theme for the checkboxlist tag since my KUTheme includes a definition for that tag’s layout. In the <code class="highlighter-rouge">struts.xml</code> file (<code class="highlighter-rouge">src/main/resources</code>) you will see that the I’ve specified the default theme to be KUTheme.</p> -- To stop receiving notification emails like this one, please contact ['"commits@struts.apache.org" <commits@struts.apache.org>'].