Add theme="simple" to the s:form tag.

Sent from my iPhone

On 2010/01/24, at 07:14, Vu Hong Thuan <thua...@gmail.com> wrote:

Hi all.
I want to custom the layout of my form which use struts tags.
I insertet html tags into form as the following code. But when I view the result final. All html tags is pulled out of the form.
How i can insert html code inside a struts form?
Thanks.

<s:form action="loadgraph">
<div>
<div>
<s:text name="xinchao" id="abx" ></s:text>
<s:textfield id="formuleExp0" label="Expression 1" name="formuleExp0"/>
<s:div id="formuleColor0" cssClass="colorselect"><s:hidden
id="formuleColorHid0"></ s:hidden></s:div>
<div>
                           xin chao
</div>
<s:textfield id="formuleExp1" label="Expression 2" name="formuleExp1"/>
<s:textfield id="width" label="Width" name="width"/>
<s:textfield id="height" label="Height" name="height"/>
<s:submit/>
</s:form>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to