This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes 2 select item side by side Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "2 select item side by side" Watch "2 select item side by side" New topic

2 select item side by side

manu chaox
Ranch Hand

Joined: Apr 10, 2006
Posts: 110

I have tried place 2 <s:select ... /> side by side in the <s:form.... > </s:form>, but unsuccessful.

It always displays the 2nd under 1st <s:select ... />

Can you help me ?
David Newton

Joined: Sep 29, 2008
Posts: 12617

Read the wiki pages discussing themes and templates. The default "xhtml" theme renders form elements in table rows.

Your options include using the "simple" theme for those tags and dealing with errors yourself or modifying or extending an existing theme.
I agree. Here's the link:
subject: 2 select item side by side
Similar Threads
struts tabbedpanel
Stripes: how to map a select option from a form to an object from an Action?
Struts2: Can datetimepicker be used in a plain form.
s:doubleselect exception/ error
<s:property value=""> in comparison