sandy.verfai...@roularta.be wrote:
I've changed my original setter to setStockAmountInt(int stockAmount), and kept setStockAmount(String stockAmount) so it could be used by the default ognl conversion. Now I can work without errors, but it seems kind of strange to me that this is the normal way of working, is it?
No; you shouldn't need to do that (and you're breaking JavaBean convention by doing so). The default type conversion should be converting the form values to int automatically.
If it's not, something is very wrong, because this functionality has been working for a very long time.
Dave --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org