Well, there is another option which I should have mentioned: you can use
the 'simple' theme to get plain versions of the form inputs and wrap
whatever markup you want around them.
The downside of that is that you have to render labels, error messages
etc. manually, but it would give you the flexibility to create whatever
layout you want without writing new tags.
L.
אלחנן מעין wrote:
isn't there another way? like maybe wrapping them in tables (table that
has one row, once cell) and have the table boreder visible?
otherwise if i understand this right, i'll have to create new "Group"
tag, that will have nested regualr tags , sounds rather difficult to me,
becouse then i would have to create a new class implementing tag
interface, and attributes, and a new template.
From: Laurie Harper <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
To: user@struts.apache.org
Subject: Re: [S2] alternate tag layouts?
Date: Thu, 10 May 2007 04:13:36 -0400
××œ×—× ×Ÿ מעין wrote:
hi..
i saw that all you do in struts tag is place them inside a form tag,
and it automatically renders them as a 2 columns table, but if i want
a diffeent layout? what if i want to have several controls in one
group ,and several controls in another group next to them (like in
frames) ?
In that case, you would either customize an existing theme or create a
new one:
http://struts.apache.org/2.x/docs/themes-and-templates.html
http://struts.apache.org/2.x/docs/extending-themes.html
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]