form validation recorderror problem

2008-07-04 Thread Udo Abel
Hi,

when I call the method
form.recordError(field, message)
in onValidateForm(), the field is highlighted but the message is not displayed 
(and not in the html anywhere).

Anything else that need to be done here?

Thanks,
Udo.

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Antwort: form validation recorderror problem

2008-07-04 Thread Kristian Marinkovic
use the Errors component to display the error messages

please see documentation for more details

g,
kris




Udo Abel [EMAIL PROTECTED] 
04.07.2008 11:41
Bitte antworten an
Tapestry users users@tapestry.apache.org


An
users@tapestry.apache.org
Kopie

Thema
form validation recorderror problem







Hi,

when I call the method
form.recordError(field, message)
in onValidateForm(), the field is highlighted but the message is not 
displayed (and not in the html anywhere).

Anything else that need to be done here?

Thanks,
Udo.

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: 
http://www.shortview.de/[EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: form validation recorderror problem

2008-07-04 Thread Harish Kudriyal

To display the message you need to place t:error inside t:form component. 

Harish


Udo Abel wrote:
 
 Hi,
 
 when I call the method
 form.recordError(field, message)
 in onValidateForm(), the field is highlighted but the message is not
 displayed (and not in the html anywhere).
 
 Anything else that need to be done here?
 
 Thanks,
 Udo.
 
 -- 
 GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
 Jetzt dabei sein:
 http://www.shortview.de/[EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/form-validation-recorderror-problem-tp18276295p18276363.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]