struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dariusz Wojtas" <>
Subject Re: [S2] Putting a single html input type="text"
Date Sun, 28 Jan 2007 12:57:29 GMT
<s:textfield name="propName" theme="simple"/>

If you use theme 'ajax'  (eg. textfield nested within form with theme='ajax')
then it will generate a row with 2 cells, one with label, one with the
input field.
The bonus of 'ajax' is that it automatically generates validation
error mesage on the field level - if there were validation errors.
Look at the 'core' jar for templates. Different themes may generate
different output for tags.

Dariusz Wojtas

On 1/28/07, Omer Basar <> wrote:
> Thanks Dave.

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

View raw message