Lionel wrote:
Newman, John W wrote:
Stripes simply uses NumberFormat under the hood, that is where this
behavior is coming from. So it's either a jdk bug or not a bug at
all.
It is not a bug, it's people who don't respect the standards.
It's the same with the french locale which can't be
After further digging around, I believe the problem could be with
Stripes URLs. According to http://www.ietf.org/rfc/rfc3987 URL
parameters should be encoded RTL.
This works fine when retrieving a value via the actionBean. e.g.
ss:url value=%=ACCOUNT_KEYS_ACTION% event=view var=popup_url
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.
+
using locale
+ locale);
}
}
}
-Original Message-
From: Martin Walsh [mailto:martin.wa...@sun.com]
Sent: Wednesday, July 08, 2009 7:49 AM
To: stripes-users@lists.sourceforge.net
Subject: [Stripes-users] RTL support for Integer
Newman, John W wrote:
Stripes simply uses NumberFormat under the hood, that is where this
behavior is coming from. So it's either a jdk bug or not a bug at
all.
It is not a bug, it's people who don't respect the standards.
It's the same with the french locale which can't be used to parse
);
}
}
}
-Original Message-
From: Martin Walsh [mailto:martin.wa...@sun.com]
Sent: Wednesday, July 08, 2009 7:49 AM
To: stripes-users@lists.sourceforge.net
Subject: [Stripes-users] RTL support for Integer Type Converter
It seems as though there is a bug in the Stripes IntegerTypeConverter
when
);
}
}
}
-Original Message-
From: Martin Walsh [mailto:martin.wa...@sun.com]
Sent: Wednesday, July 08, 2009 7:49 AM
To: stripes-users@lists.sourceforge.net
Subject: [Stripes-users] RTL support for Integer Type Converter
It seems as though there is a bug in the Stripes IntegerTypeConverter
when