Try using contrib:NumericField instead of TextField. Note: You need a
delegate for error reporting in your form, like in
<form jwcid="@Form" listener="ognl:listeners.webkitSucheSubmit"
delegate="ognl:beans.delegate">
-----Urspr�ngliche Nachricht-----
Von: martin stanik [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 12. Mai 2005 14:55
An: [email protected]
Betreff: BindingException
Hallo,
i am getting BindingException, when my program tries save data from form to
bean.
My page file is following:
<page-specification class="examples.CreateAccountPage">
<property-specification name="account" type="examples.Account"/>
<component id="balance" type="TextField">
<binding name="value" expression="account.balance"/>
</component>
In exception dump is stated, that my class does not have setBalance(String)
method.
This is right, as there is just setBalance(BigDecimal) method.
I am complete beginner and i do not know how to configure this
without duplication properties of examples.Account in
examples.CreateAccountPage.
Can I somehow explain to tapestry type of account.balance property?
thanks martin
_________________________________________________________________
Flirt bez vyslovenia jedineho slova s MSN Messenger 6.2
http://messenger.msn.sk/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]