> ( also tried: <s:textfield> key="bid.amount.amount" /> )
This is correct
> public Monetary getAmount() { return amount; }
>
> and Monetary beeing:
> public class Monetary implements Serializable{
> private final BigDecimal amount;
> private final Currency currency;
>
> public Monetary(BigDecimal amount, Currency currency) {
> this.amount = amount;
> this.currency = currency;
> }
>
> public BigDecimal getAmount() { return amount; }
> public Currency getCurrency() { return currency; }
>
> I am getting either a field error or with "bid.amount.amount" :
> ERROR [btpool0-2] InstantiatingNullHandler.nullPropertyValue(110) | Could
> not create and/or set value back on to object
> java.lang.InstantiationException: com.app.model.Monetary
Add default constructor to Monetary and will be ok
Regards
--
Lukasz
http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]