Hi ,

          I am using tapestry4.1. I have recorded an error in the listener
method in the java class as shown below 

 

 

         public String onWordSubmit(IRequestCycle cycle) {          

               if(getUserName().equals("murali")){

                     getVisit().setAttribute("org.fps.companyName", "Kensium
solutions"); 

                     return "Secret";

               }else{

                     Form currentForm=(Form)getComponent("homeForm");

                     IValidationDelegate
validationDelegate=(IValidationDelegate)currentForm.getDelegate();

                     IFormComponent
formComp=(IFormComponent)getComponent("userName");

                     validationDelegate.record(formComp, "Invalid
password");

               }

         

         return null;

   }

 

And when I see the same page the text field is being decorated as error but
on the html page the error messages are not being displayed. What should I
do to display error messages also along with the decoration? Do I have to
add anything to the template in order to see the error messages? Kindly help
me in this. Currently I am struck here.

 

Warm regards,

Muralidhar Y

[EMAIL PROTECTED]

 

US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511

India Fax:   +91 9949495522

Kensium

200 S Wacker Dr, Suite 3100

Chicago, IL 60606

 

 

Confidentiality Note:
-----------------------------
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.

 

  _____  

 

Reply via email to