struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: question about struts 2 <s:textfield> and table layout
Date Wed, 16 Jan 2008 21:52:24 GMT
--- "Wei, Mei" <Mei-Chuan.Wei@isd.sccgov.org> wrote:
> [...] is there a way to arrange the table into two columns.

You'll want to explore themes and templates [1].

The nutshell version is that you'll probably want to either (a) use the
"simple" theme on your <s:textfield.../> elements or (b) modify a template.
The default theme, as you've noticed, assumes a one-field-per-row layout.

One disadvantage of using the "simple" theme is that you'll lose some of the
automagic error handling provided in the default theme.

d.

[1] http://struts.apache.org/2.x/docs/themes-and-templates.html
[tags: s2, themes, forms, form tags]



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


Mime
View raw message