Hello.
I have a list and I show it with s:select without any problem but I want it's header value to be one of list's items and it differs on different runs. something like this:
<s:select list="roleList" name="role" headerkey="" headerValue="%{euser.role}" cssClass="textfield"/>
value of 'euser.role' is one of 'roleList' items but if I use this, it adds the value for header and then I have 2 value of that item on my select.
I need this for an edit page, if user doesn't want to change value of this option, then it'll have previous value.
Thanks in advance.