Michael Obster wrote:
can anybody tell me how I can make a two column layout with <s:form>? Putting some table tags around doesn't work because <s:form> renders also as table.

You can either use the "simple" theme (which is problematic because it doesn't include field error messages) or create a new theme (usually done by tweaking an existing theme).

It's straight-forward to wrap up the error message stuff in a JSP-based custom tag--there's a tiny amount of duplication on the page, but it's drop-dead easy.

If you decide to go the theme route, the existing S2 and source may be enough. If not, Mark's blog entry [1] details creating a fairly extensive theme--probably overkill for what you need, but it's still quite interesting and may provide some guidelines.

Dave

[1] http://www.vitarara.org/cms/struts_2_cookbook/creating_a_theme

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

Reply via email to