It seems as though there is a bug in the Stripes IntegerTypeConverter when it is used with right to left languages. When a negative value is supplied, stripes fails validation.
I believe the problem is that the converter expects "1-" for RTL languages, when in fact it should be expecting "-1". This is because in RTL languages, numbers are still written the same as in LTR languages. Could someone confirm this. Here is a list of the failing locales: Faield to convert -1 using locale ar_AE Faield to convert -1 using locale ar_IQ Faield to convert -1 using locale ar_YE Faield to convert -1 using locale ar_QA Faield to convert -1 using locale mk_MK Faield to convert -1 using locale ar_SA Faield to convert -1 using locale ar_LB Faield to convert -1 using locale ar_KW Faield to convert -1 using locale ar_SD Faield to convert -1 using locale ar_SY Faield to convert -1 using locale ar_BH Faield to convert -1 using locale ar_TN Faield to convert -1 using locale ar_JO Faield to convert -1 using locale ar_EG Faield to convert -1 using locale ar_MA Faield to convert -1 using locale ar_DZ Faield to convert -1 using locale ar_LY Faield to convert -1 using locale ar Faield to convert -1 using locale ar_OM Thanks, Martin. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
