This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Jinal Prakas Shah
Joined: Jun 20, 2012
Jul 17, 2012 16:43:30
I have a very simple question. I'm writing this iteration code. Here is the code
<select multiple="multiple" id="regionstate" name="state"> <s:iterator value="region" status="regionStatus"> <optgroup label="<s:property value="name" />"> <s:iterator value="states" status="stateStatus"> <option value="<s:property value="id" />"><s:property value="name" /></option> </s:iterator> </optgroup> </s:iterator> </select>
I have a
variable named myStates which contains the stateid which is the same Id above. Now if that id occurs in the
what I want is to show it selected. Can you tell me How to do this?
subject: Dropdown Selected
spaces while populating using s:iterator
passing hidden value to action class in struts-2
select tag doubt
Struts 2 Aggregated Lists and Select Boxes
object cascading in a template
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014