struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vivek Jaiswal <>
Subject Re: How to make three text boxes appear in one row using struts2 tags?
Date Thu, 03 Jan 2013 10:37:45 GMT

Dear Umesh Awasthi,
We will use simple theme for this issue
<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,

 From: Umesh Awasthi <>
To: Struts Users Mailing List <> 
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, <> 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.

With Regards
Umesh Awasthi
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message