struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: question about struts 2 <s:textfield> and table layout
Date Wed, 16 Jan 2008 21:52:24 GMT
--- "Wei, Mei" <> 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.


[tags: s2, themes, forms, form tags]

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message