This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts 2.0 <s:select> tag problem" Watch "struts 2.0 <s:select> tag problem" New topic

struts 2.0 <s:select> tag problem

javarajul rahulmaster

Joined: Jan 16, 2012
Posts: 1
Hi 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 is my code<table align="center">
<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>

but i need to align like from dropdownlist somespace to dropdownlist

please help me..
Akhilesh Trivedi
Ranch Hand

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

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

Can you show your bean please? And join an image?
It is sorta covered in the JavaRanch Style Guide.
subject: struts 2.0 <s:select> tag problem
It's not a secret anymore!