This example in http://struts.apache.org/2.x/docs/combobox.html is not
running properly in struts2.0.1

<s:combobox
  label="My Favourite Color"
  name="myFavouriteColor"
  list="#{'red':'red','green':'green','blue':'blue'}"
  headerKey="-1"
  headerValue="--- Please Select ---"
  emptyOption="true"
  value="green" />
-------------------------------------------------------------------
nextProblem is the url below is like that --->

myAction.action?myId=10&amp;myName=name&amp;mySurname=surname

<s:url action="myAction" includeParams="all">
                <s:param name="myId" value="%{#bean.id}"/>
                <s:param name="myName" value="%{#bean.name}"/>
                <s:param name="mySurname" value="%{#bean.surname}"/>
</s:url>


So I cannot get the parameters myName and mySurname on the action

Thanks all,

Reply via email to