• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

Javascript Validation Taglibs

 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While looking through jakarta's taglibs, I noticed they have a Utility Taglib that has validation for forms by creating Javascript for you. However, it also says that this Taglib is deprecated.
Does anyone know if they have included this in the 1.1 JSTL specification or if they have abandonded it all together? If it is abandonded, does anyone know of another taglib for this purpose?
 
Ranch Hand
Posts: 8943
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Does anyone know if they have included this in the 1.1 JSTL specification or if they have abandonded it all together? If it is abandonded, does anyone know of another taglib for this purpose?


I dont know any JSTL tag which supports javascript. I think the apache validator tag supports js.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts has a taglib for javascript validation. The ColdBeans suite also has a similar utility. I haven't used them so don't ask me whether they're any good.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any problem with JUST using the Taglibs from STRUTS and nothing else about STRUTS?
 
Author
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While you can use Struts without the Struts taglibs, using the Struts taglibs (for some of the actions) might require some coding on your part. The Struts framework is setup to take advantage (under the covers) of objects that might be created from the taglibs, so the information is pulled out in the framework. You'd probably need to look at the actions you're thinking of using and see if there are any further action needed on your part in your application. Some of them will probably work fine though.
Sue
 
There's a hole in the bucket, dear Liza, dear Liza, a hole in the bucket, dear liza, a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic