Life Codecs

May 5, 2009

New Code: FormGen

Filed under: software dev — Tags: , — Kamal Advani @ 1:36 am

Just wrote and uploaded FormGen, a quick and dirty HTML form generator, in the code section. Haven’t uploaded sources yet though. Check it out!

4 Comments »

  1. Looks interesting. I haven’t been able to test it, though… as the web proxy at work is very agressive… that your .jnlp is blocked! I hope I’ll remember to try it at home later.


    http://www.adeishs.com
    http://cdbaby.com/ishs

    Comment by ade ishs — May 7, 2009 @ 3:11 pm

  2. Haha, alternatively get the formgen jar directly – it’s small and simple, no external dependencies (except I compiled it for Java 6, so you’d need that particular runtime – highly recommended regardless, it actually speeds UIs up). In case you no longer touch Java :P – from the command line run:

    java -jar /path/to/jarfile.jar

    Comment by Kamal Advani — May 7, 2009 @ 10:37 pm

  3. Cool, man. I tried running it using Java Web Start. Got java.lang.NullPointerException three times somehow. But it ran nevertheless.

    Neat. If I can suggest further improvement, probably CSS-ise the “size” attr and the likes to satisfy those with XHTML+CSS at their pet peeve.


    http://www.adeishs.com
    http://cdbaby.com/ishs

    Comment by ade ishs — May 7, 2009 @ 11:56 pm

  4. Kewl thanks for checking it out – not sure why you get NPEs – seems to work fine here under JWS. Running the code standalone definitely does not cause NPEs (I’d be pretty embarrassed by that for something so small :P ). I implemented your suggestion – thanks! It now outputs ‘style=”width:55px;”‘ (or some other default) instead of using ‘size’. Updated to v1.1 :P .

    Comment by Kamal Advani — May 8, 2009 @ 12:58 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress