If you want this behaviour for the whole application then set
struts.ui.theme to simple, inside struts.xml. Like so:

<struts>
   <constant name="struts.ui.theme" value="simple" />
</struts>

Since you mentioned a single page, you can do that too, you can even have a
single struts2 UI tag render under a different theme, these various options
are listed here:
http://struts.apache.org/release/2.3.x/docs/selecting-themes.html




On Sun, Mar 2, 2014 at 2:08 PM, Fredrik Andersson <[email protected]>wrote:

>
>
>
> Hello guys!
> I use struts 2.3.15.3.
> I have created a form with code like:
> <s:form action="productsave">
>               <s:hidden name="A_HIDDEN" value="%{formToken}" />
>                                                   <s:textfield
> name="A_TEXT" label="Email address" labelposition="top" maxlength="128"
> size="40" />...
> I would like the output to be rendered as HTML and not XHTML.
> I found this tag for struts 1.x:
> http://struts.apache.org/development/1.x/struts-taglib/tlddoc/index.html
> Is there some tag in struts 2 that does the same?
> Best regardsFredrik
>

Reply via email to