Description
The below:
<s:select name="reasonOfTransactionCode" list="reasonOfTransactionList" listKey="top" listValue="%{getText('label.reasonOfTransaction.'+top)}"/>
generates this warning for each item in the list, so if the `reasonOfTransactionList` has seven items I see this error seven time:
ognl.SecurityMemberAccess: Access to non-public [protected java.lang.String org.apache.struts2.components.UIBean.label] is blocked!
But this works fine If I just rename resource bundle and removes `label` from its name
<s:select name="reasonOfTransactionCode" list="reasonOfTransactionList" listKey="top" listValue="%{getText('reasonOfTransaction.'+top)}"/>
Attachments
Attachments
Issue Links
- links to