AW: BindingException

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

AW: BindingException

Marcus.Schulte
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:[hidden email]]
Gesendet: Donnerstag, 12. Mai 2005 14:55
An: [hidden email]
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: [hidden email]
For additional commands, e-mail: [hidden email]

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]