• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts 2.0 <s:select> tag problem

 
javarajul rahulmaster
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1603
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
javarajul rahulmaster wrote:Hi all..


http://www.javaranch.com/name.jsp
 
Luis Parente
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can you show your bean please? And join an image?
Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic