Struts 1.2.7

(1)
The following tag can test the emptiness of the field.
<html:errors property="username" header="empty"/>

If I want to display a specific message when it is not empty
and display error message when it is empty,
what should be done in header="???" or something else


(2)
I have a message in MessageResources.properties like 
addUserProfileForm.username.label 
but do not have addUserProfileForm.username

It gives an error message like this.
???zh_TW.addUserProfileForm.username??? is required. 

Can it be done as using addUserProfileForm.username.label 
instead of addUserProfileForm.username
when the field is empty?

Thank you very much

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

Reply via email to