Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Overwrite javascript resources

 
samantha clarkson
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, i want to add a new type of form validators, like the ones existing in the file aui-form-validator.js
in order to use it in my jsp files, please i don't want to write a javascript function inside my jsp files ;)
The file exists in liferay-portal-6.1.2-ce-ga3\tomcat-7.0.40\webapps\ROOT\html\js\aui\aui-form-validator
How to do that, should i use Ext-plugin, Hook, how to do that in details ?

Using form validators:



Snippets from the file aui-form-validator.js:

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic