Yes it is a problem with those dates.
Because if you change the locale. It does a submit.
But the submitted data is just hold as a String as the input was.
Then rendered directly to the output again. But then it is in a wrong format..

I don't know how we really can fix this particular case... For dates we should
try to do a conversion String->Date-Locale Change->Date->String.
But how to do that reliable because the input could also be invalid or already in the right format
for that locale.....

So i guess it is something we should live with. Or maybe somebody else has a fix for this?

johan



On 4/20/06, lu dongping <[EMAIL PROTECTED]> wrote:
I checked forminput examples and found following issues:

1:
I choose chinese locale , then submit at once, it will say date format is error!
the feedback indicates it need  'aa-n-j' pattern .
if I click reset button, it will pass validation, because the date is changed to : 06-4-20.

it means the correct date format for chinese locale is "YY-MM-DD".
I picked another date, it was changed to  :  2006/04/06  , it's wrong again.

2:
the image buttons can not show chinese word correctly here.
see attachments.
my environment:
Fedora Core 5, Locale : Chinese, Encoding : UTF8.zh_CN.

I think the problem lies in the wrong font it used when drawing the image.
because only chinese font can display chinese , this is a common problem in java.
so maybe a method should be provided to specify the font .

3:
FormInput_zh_CN.html is not completely translated to chinese.
and , I don't like the current style it used to present chinese:
&#20351;&#29992;&#22320;&#28857;

generally, I write html file in utf8 encoding , then I can directly enter chinese , and it seems more friendly.




On 4/20/06, Eelco Hillenius < [EMAIL PROTECTED] > wrote:
> On 4/19/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > show off
>
> more?
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


Reply via email to