s:combobox example is not running properly, and <s:param > puts a "amp; " after & 2007-02-02 - By Struts2 Fan
Back 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&myName=name&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,
|
|