struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gmail <rebeyond1...@gmail.com>
Subject Re: Re: How can I transfer parameters as Map type from jsp to action?
Date Wed, 06 Mar 2013 07:42:57 GMT
Thanks a lot for your seggestion.
Because it works when ${functionItem.functionId} is a int value. So I make sure that the parameters
are all int values. And my problem has been resolved.
Maybe, I should use a List.





Gmail

From: Lukasz Lenart
Date: 2013-03-06 14:18
To: Struts Users Mailing List
Subject: Re: Re: How can I transfer parameters as Map type from jsp to action?
2013/3/6 Gmail <rebeyond1218@gmail.com>:
> I have input quotes around the string map key. But it does not work still.
>
> <s:iterator value="roleFunctions" var="functionItem" status="status">
> <input name='roleFunctionMap["${functionItem.functionId}"].roleId' type="hidden" value="${roleInfo.roleId}">
> </s:iterator>

Did you try to use %{} and <s:hidden/> ? How source of the page looks like?


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message