Mitch,

I think the question may have been directed at you as you indicated in your
email that if ajax was required, then setting the form theme to simple may
not work?

Thanks for the form tip, it sure would make the code better :)

Thanks,
Rajeshwari

On Tue, Feb 17, 2009 at 7:19 PM, mitch gorman <mgor...@shadowtv.biz> wrote:

> Martin Gainty wrote:
> > glad to hear simple theme worked for you..
> > i'm wondering if you can produce inconsistent results wihen theme='ajax'
> if so you found a BUG
> > can you display a small snippet of your jsp?
> >
> >
> >>     didn't see the original post, so i'm not sure if ajax was required
> >> (in which case what i'm about to say should be disregarded), but just
> >> setting the theme to simple for the form element itself will propagate
> >> it to all the individual inputs within the form... no need to put
> >> 'theme="simple"' on each tag... improved readability of the code is a
> >> Good Thing(tm).
> >>
>     are you asking me, or Rajeshwari?  all i'm saying is
>
> <s:form theme="simple"...>
>    <s:textfield ...>
>    <s:textfield ...>
>    <s:select ...>
>    ...
>
>    is better than
>
> <s:form ...>
>    <s:textfield theme="simple" ...>
>    <s:textfield theme="simple" ...>
>    <s:select theme="simple" ...>
>   ...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to