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!
May 5, 2009
4 Comments »
RSS feed for comments on this post. TrackBack URL
RSS feed for comments on this post. TrackBack URL
Powered by WordPress
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
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
– from the command line run:
java -jar /path/to/jarfile.jar
Comment by Kamal Advani — May 7, 2009 @ 10:37 pm
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
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
). I implemented your suggestion – thanks! It now outputs ‘style=”width:55px;”‘ (or some other default) instead of using ‘size’. Updated to v1.1
.
Comment by Kamal Advani — May 8, 2009 @ 12:58 am