see also http://incubator.apache.org/adffaces/devguide/clientValidation.html
On 1/22/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
If you want turn off client side validation, do in trinidad-config.xml
<client-validation-disabled>true</client-validation-disabled>
Otherwise if you like to have client side enabled, but no alert window,
you have to hack the js.
the alert isn't just a simple alert. Under the hoods, we have
clientside javascript objects of the validators (have a validate()
method) and also TrFacesMessage objects
the _multiValidate calls the validate() method for all client side
validators (also does the required check)
the FormRenderer renders out the _muliValidate() and also the _validationAlert
which show the complete error string in one alert
(like
_validationAlert('Fehler bei Formularvalidierung:'+fl)
)
On 1/22/07, Kunze, Anton <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm using a "tr:inputText" with property required=true. If an required
> error occurred a javascript alert window appears. How can I change this
> behaviour? I only need a simple error message.
>
> Best regards
>
--
Matthias Wessendorf
http://tinyurl.com/fmywh
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
--
Matthias Wessendorf
http://tinyurl.com/fmywh
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com