aspose file tools*
The moose likes Struts and the fly likes struts 2.0 <s:select> tag problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts 2.0 <s:select> tag problem" Watch "struts 2.0 <s:select> tag problem" New topic
Author

struts 2.0 <s:select> tag problem

javarajul rahulmaster
Greenhorn

Joined: Jan 16, 2012
Posts: 1
Hi all..am using <s:select> tag to populate some data dynamically using s:iterator and am able to do that...but the problem is for every new iterator its taking new row..here is my code<table align="center">
<tr>
<s:iterator value="factorValueList">
<s:select cssStyle="width:90px;" label="From" id="empNameId" list="factorValueList" name="selectEmpId" listValue="empId" size="12px"></s:select>
<s:select label="To" id="empIdValue" list="factorValueList" name="toDate" listValue="empName"></s:select>
</s:iterator>
</tr>
</table>

but i need to align like from dropdownlist somespace to dropdownlist

please help me..
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1511
javarajul rahulmaster wrote:Hi all..


http://www.javaranch.com/name.jsp


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Luis Parente
Ranch Hand

Joined: Jan 17, 2012
Posts: 39
Hi,

Can you show your bean please? And join an image?
Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts 2.0 <s:select> tag problem
 
Similar Threads
Problem while implementing cascade select option in Struts2 [City/Locality/Streets]
Populating subsequent select boxes with DWR
Struts2 UI Tags Not Aligned On Browser
populate items using struts2 <s:select>
<s:select in <s:iterate tag displaying with comma seperated value