Hi Guys,
We are in the process of updating a number of our applications and
servers. The first step is to update from Java 8 to Java 11.
We noticed that after we updated that we have seen an unintended change
in our apps. Our apps allow people to change locale which we implement
through the request_locale parameter. When they select Arabic all the
numbers we display change from english numerals to arabic.
So instead of he numbers appearing in the form elements like this <input
type="hidden" name="arrayFormValue[0].sequence" value="0" />
we get arabic numerals which causes our app to break <input
type="hidden" name="arrayFormValue[١].sequence" value="١" />
Our struts tags look like this
<s:set var="qrStatus" value="0"/>
<s:hidden name="arrayFormValue[%{#qrStatus}]" value="%{#qrStatus}" />
<s:set var="qrStatus" value="%{#qrStatus + 1}"/>
<s:hidden name="arrayFormValue[%{#qrStatus}]" value="%{#qrStatus}" />
This is likely intended behaviour but I would like to know how we stop
it from happening?
Any input would be appreciated.
Zoran