This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
jQuery in Action, 2nd edition
subject: what is id in ValidationMessage?
Similar Threads
AJAX 'POST' xml request to server
Passing parameters/ attributes to a custom validator
A few clarifications needed please...
disable submit button help
How to get an id of a node?