Since the rest of your form elements aren't using the theme="simple", they are automatically wrapped in <tr></tr>. Since you've told struts to use theme="simple" on these elements, you'll have to wrap them yourself. (*Chris*)
On Thu, Jan 3, 2013 at 2:37 AM, Vivek Jaiswal <vivek_jaiswa...@yahoo.com>wrote: > > > > Dear Umesh Awasthi, > We will use simple theme for this issue > like > <s:select name="month" id="month" list="#{'1':'Jan','2':'Feb':......}" > theme="simple" /><s:select name="date" list="#{'1':'1','2':'2':......}" > theme="simple" /><s:select name="date" > list="#{'2012':'2012','2013':'2013':......}" theme="simple" /> > you can also get list through class. > > > thanking you > > with regards, > -------------------------------------------------------------------- > VIVEK KUMAR JAISWAL > ------------------------------------------------------- > www.vivekjaiswal.co.in > > > > ________________________________ > From: Umesh Awasthi <umeshawas...@gmail.com> > To: Struts Users Mailing List <user@struts.apache.org> > Sent: Thursday, 3 January 2013 3:08 PM > Subject: Re: How to make three text boxes appear in one row using struts2 > tags? > > Simple theme will not generate any markup from S2 side and will give all > control to you to handle display using CSS > You can use CSS and markup to display it as per your requirement > > S2 has already done its work by handing over simple HTML > > On Thu, Jan 3, 2013 at 2:31 PM, <mahalakshmi.jayaku...@wipro.com> wrote: > > > Hai, > > > > I have three select strut tags which are Date, Month and Year which I > > need to display in a single row. So as per your suggestion I have written > > theme="simple. Then the select boxes were aligned in the same row but the > > complete row is shown in the 1st row of the form instead of being > displayed > > in the 3rd row. > > > > Can you please help me in this issue. > > > > Regards, > > Mahalakshmi. > > > > The information contained in this electronic message and any attachments > > to this message are intended for the exclusive use of the addressee(s) > and > > may contain proprietary, confidential or privileged information. If you > are > > not the intended recipient, you should not disseminate, distribute or > copy > > this e-mail. Please notify the sender immediately and destroy all copies > of > > this message and any attachments. > > > > WARNING: Computer viruses can be transmitted via email. The recipient > > should check this email and any attachments for the presence of viruses. > > The company accepts no liability for any damage caused by any virus > > transmitted by this email. > > > > www.wipro.com > > > > > > -- > With Regards > Umesh Awasthi > http://www.travellingrants.com/ >