Are you tired of building JSP forms with clunky syntax like:

<input
  type="text"
  name="age"
  value="<jsp:getProperty name="person" property="age" />"
>

I know I am. It annoys me to no end, it's a pain to maintain, and worse -
it looks like Java to many web designers who otherwise aren't afraid of
the <input> tag. That menas *I* - as a programmer - get to play designer,
too, and the smallest changes mean a programming change request.

So I wrote a form taglibrary, largely inspired by the in16 taglibrary
(of which I'm an admin; based on Sourceforge, it aims to be a open source
taglib project. Highly recommended. See the roadmap for it at
http://cupid.suninternet.com/~joeo/roadmap.html.)

Now I can build forms with great ease, including validation if the client
supports javascript:

<form:form action="/servlets/handleUpdate">
        <form:text name="person" property="age" required="true" />
</form:form>

Where can you get this? Glad you asked. See
http://cupid.suninternet.com/~joeo/Form.html for the base
documentation. There are still a few things to do (in fact, proofing this
email showed me one thing missing!) and some of the goals require skills I
don't have, so any contributions or comments would be very helpful.

This code is released under the Artistic License at the moment.

-----------------------------------------------------------
Joseph B. Ottinger               [EMAIL PROTECTED]
http://cupid.suninternet.com/~joeo      HOMES.COM Developer

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to