I have some thing like this

<s:iterator value="actionItems">
        <tr>
            <td><s:property value="creatorName" /></td>
            <td><s:property value="assignedTo" /></td>
            <td><s:property value="creationDate" /></td>
            <td><s:property value="dueTo" /></td>
            <td><s:property value="externalItemNumber" /></td>
            <td><s:property value="description" /></td>
            <td><s:property value="currentStatus" /></td>
            <td width="100"><s:property value="status"/>
           * <s:select name="actionStatus" value = "status'>"
list="#{'OPEN':'OPEN', 'CLOSED':'CLOSED'}" headerKey="" headerValue="Change
Status"/>*
            <a href = "<s:url action = 'updateActionStatus.action'>
                   <s:param name = 'id' value =
'id'/></s:url>">Change</a></td>

        </tr>
    </s:iterator>

But I don't see the preselected value,

Thanks,

Kartik

On Fri, Apr 23, 2010 at 5:11 PM, Kartik Kumar <krishnan.1...@gmail.com>wrote:

> Hi Struts gurus,
>
> I am have an object level attribute that is selected from the s:select tag.
>
>   <s:select key="search.criterion" name="searchCriterion"
>       list="#{'': 'Select One',
> 'bean.attributeValue':'bean.attributeValue', 'abc':'abc'}"
>       required="true" onchange="showSearchCriterionField()" />
>
> If I want to set 'abc' to selected, then how do do that ? Any advice would
> be welcome.
>
> Thanks,
>
> Kartik
>

Reply via email to