I am working on a utility that would use the JavaNameGenerator and
reflection to set all the fields in a data object given the object and the
httpserveletresponse. two changes would be required for this to work with
other people's torque:

- have to modify the abstract class BaseObject so that it has a getPeer
method.
- have to change class generator so setters take an Integer argument rather
than int

does this seem worth while? have others found a way to accomplish the same
thing (automatically set data coming from web pages)?

oreodata from niggle (www.niggle.org) has some nice functionality in this
department. when you call setfields, it validates the incoming data and
populated the peristent object's fields.

it saves a lot of code.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to