incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <>
Subject Re: Required alert message as text message
Date Mon, 22 Jan 2007 10:36:25 GMT
If you want turn off client side validation, do in trinidad-config.xml


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

_validationAlert('Fehler bei Formularvalidierung:'+fl)
On 1/22/07, Kunze, Anton <> 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

further stuff:
mail: mwessendorf-at-gmail-dot-com

View raw message