Hi Clifford.
FormKit is 3rd party software, not included with Webkit, but I'm one of the two authors, so I'll answer.
The form.dump() method is very very simple, and not really meant for permanent use. It's just to make sure that your form works. Of course, it /can/ be used, but it's ugly, as you noticed. We use it to make sure everything is okay, then replace the form output bits in our servlets with more hand-crafted code.
Every field in a form has a set of accessor methods that you can pick at to lay out your form in a template or manually or however you wish:
myfield.tag() myfield.label() myfield.error() myfield.value()
and some others...
Basically, you just want to set up your code in self.writeln() or whatever, and just grab onto the tag() text, and drop it into your page output wherever you wish.
CLIFFORD ILKAY wrote:
Does anyone know how to get rid of the label that is automatically added to buttons in FormKit? It is weird to see a button called "Submit" with a label next to it called "Submit".
------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
