[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-user
Subject:    Re: using back button with clientValidation from
From:       Kiss Izolda <izolda () freemail ! hu>
Date:       2010-01-29 16:56:15
Message-ID: freemail.20100029175615.84546 () xmldata12 ! freemail ! hu
[Download RAW message or body]

Hi Sven,

thanks for the sample
I find editForm.clearErrors() quite useful.

>@Component(parameters = {"value=message:button.value.cancel"})>
>private Submit cancelButton;>

I have tried the following:
@Component(parameters = { "type=message:button" })
private Submit sbtBack;
(button was defined as button=button in the property file)
unfortunately the input rendered with type="submit"

it is not sufficient when a form has param clientValidation="true" and fileds with validate="required"

the result of @Component(type = "button") was exception

Izolda

ps: my Tapestry version is 5.1.0.5

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic