struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Łukasz Lenart <lukasz.len...@googlemail.com>
Subject Re: conversion error repopulation not working
Date Wed, 30 May 2012 13:45:05 GMT
2012/5/29 J. Garcia <jogaco.en@gmail.com>:
> 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.

But you use Preparable each time, and prepare overrides what was sent
by user. I'm not sure if I understood that correctly but the same
works fine in showcase application.


Regards
-- 
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message