Here is the full example: <s:iterator var="UserRow" status="stat" value="session.userList"> <s:set var="index" value="%{#stat.index}" /> <tr> <td><div id="commitdiv<s:property value="#index"/>"><s:textfield type="text" id="userId" theme="simple" name="session. userList [%{#stat.index}].UserId" value="%{top.UserId}" /></div></td> </tr>
The UserList is the business class and getters/setters for UserId in that class are as follows: public String getUserId() { return UserId; } public void setUserId(String userId) { UserId = userId; } It all worked before the upgrade. Thanks, Lana. -----Original Message----- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Tuesday, September 26, 2017 11:39 AM To: Struts Users Mailing List <user@struts.apache.org> Subject: Re: Question about upgrade to struts2 2.3.34 and session variables 2017-09-26 17:27 GMT+02:00 Roslyakova, Svetlana <svetlana.roslyak...@bnymellon.com>: > Hi Lukasz, > > I have another issue with struts2 2.3.34 upgrade. > We are using session variables throughout the application: > > <s:textfield type="text" id="userId" theme="simple" > name="session.user.UserId" value="%{top.UserId}" /> What getters/setters do you have for UserId? And why do you use %{top.UserId}? Regards -- Ćukasz + 48 606 323 122 https://clicktime.symantec.com/a/1/xokPUUCIliZg8lXO_Xc1J6KtEGtwD4xYKMDg2npNLSE=?d=Gsx4vdFfFsR32vIH3Dfiq4JGi-kV_lXINQTFcq0zcd0j5AeIm5258gSuzDWVslJWluRvNYUCiTTgH7l4JvTf4DE8ldzIbkfoYDpUhAlsnk-EPLvSxn6gqOig8soxC90jS52zmRJIxSESnV9QqmlKJWkQNtSEeMiP_GWEj8_ABSjptjELoXxPUtUdLf4Xd_5rQGdw9YXeRYLiR-7hyiSxNEdDsSkhOF8K0yboT3aYOA-d86uvd4Rtv44Dl9XBtZJNWoB2PH62qhidjc_w4_Jy6P14Z0k5MAz6IVOyOzqi5YHxsP_1w-CXxMO2ScW8vOspVVH3wNTG9NvTW8L3AJsODbSHyc6sF1vGCXG0m6oIDFCfrBQ_wF4HT3PiWIGp1BEDeXTv3Zlzn-MsKRhDYLISGBFwgoZho-EB4WICzsMIhvfMUOwXonH8RA9Wc3TQWIaVEzPKCMWs5h4o85XjIr_ISymkxSIMJsldyteRUHnUJ5Xu7dt4cw6af0n_ZHYGF2A%3D&u=http%3A%2F%2Fwww.lenart.org.pl%2F --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses. Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures relating to European legal entities.