struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vu Hong Thuan <thua...@gmail.com>
Subject Re: How to remove layout of tags in form
Date Sun, 24 Jan 2010 14:34:17 GMT
Thank a lot. It works.

2010/1/24 Gustavo Felisberto <gustavo.felisberto@wit-software.com>

> Add theme="simple" to the s:form tag.
>
> Sent from my iPhone
>
>
> On 2010/01/24, at 07:14, Vu Hong Thuan <thuanvh@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-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message