It's not a secret anymore!
The moose likes JSP and the fly likes what is id in ValidationMessage? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "what is id in ValidationMessage?" Watch "what is id in ValidationMessage?" New topic

what is id in ValidationMessage?

Jeya Balaji
Ranch Hand

Joined: Jan 02, 2003
Posts: 40
Hello all,
I am using tomcat 4.1 and jdk 1.3
While validating custom tag lib, the validate method of TagLibraryValidator should return ValidationMessage
The api describe the constructor like this :

I am not very clear about the jsp:id. Should I pass a string (like "<mytag:foo>") which will indicate the tag causing the problem?
What is the meaning of "If non-null, the value of id must be the value of a jsp:id attribute for the PageData" ?

Regards, Balaji
I agree. Here's the link:
subject: what is id in ValidationMessage?
jQuery in Action, 3rd edition