struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Garcia" <jogaco...@gmail.com>
Subject Re: conversion error repopulation not working
Date Tue, 29 May 2012 14:07:58 GMT
Attached an example, generated from struts2 archetype and modified to
reproduce the situation.

- run with mvn jetty:run. I use maven 2.2.1.
- on browser, type: localhost:8080/struts-test/example/Login
- you'll see a form, with formatted integer.
- modify the integer like this: AAA
- submit. An error msg informing of conversion error is shown. However, the
value AAA is not maintained. Instead, the current bean value is shown.

Cheers,
J.




On Tue, May 29, 2012 at 2:37 PM, Łukasz Lenart <lukasz.lenart@googlemail.com
> wrote:

> 2012/5/29 J. Garcia <jogaco.en@gmail.com>:
> > Integer.
>
> Strange, should work. Could you post an example code ?
>
>
> Regards
> --
> Łukasz
> mobile +48 606 323 122 http://www.lenart.org.pl/
> Warszawa JUG conference - Confitura http://confitura.pl/
>

Mime
View raw message