understanding the validator stuff
posted 1 year ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Trying to get rid of struts related spring modules /validator stuff from my code as we are no longer using struts. I'm seeing the following defined in my JSP
I have spring-validator.jsp which contains the following:
And then in one of my JSP page, I see it being called like this:
1. What does defining the prefix "v" and "javascript" mean in the above code?
2. What does dynamicJavascript = "true" means?
So far whenever I've seen the usage of springframework tags, which are defined like this:
I've used that it's being used in the form using prefix "form" prefix, which was easy to understand. But the spring-validator stuff is something I'm trying to understand such that I can get rid of it and what I need to do to get it replaced.
I have spring-validator.jsp which contains the following:
And then in one of my JSP page, I see it being called like this:
1. What does defining the prefix "v" and "javascript" mean in the above code?
2. What does dynamicJavascript = "true" means?
So far whenever I've seen the usage of springframework tags, which are defined like this:
I've used that it's being used in the form using prefix "form" prefix, which was easy to understand. But the spring-validator stuff is something I'm trying to understand such that I can get rid of it and what I need to do to get it replaced.
Jack Tauson
Ranch Hand
Posts: 495
posted 1 year ago
Sorry, I didn't understand what you were trying to say.
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Vasanth Selvamani wrote:Prefix v?
Sorry, I didn't understand what you were trying to say.
posted 1 year ago
The namespace that maps the tag to the tag library. It can be anything, but short namespace id are popular because you you don't have to type as much.
Caution though. Be aware of the difference between a taglib definition with a namespace and the xhtml namespace tags, which also use mapping IDs.
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Vasanth Selvamani wrote:Prefix v?
The namespace that maps the tag to the tag library. It can be anything, but short namespace id are popular because you you don't have to type as much.
Caution though. Be aware of the difference between a taglib definition with a namespace and the xhtml namespace tags, which also use mapping IDs.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
| Nothing? Or something? Like this tiny ad: The new gardening playing cards kickstarter is now live! https://www.kickstarter.com/projects/paulwheaton/garden-cards |











