this is trivial. not sure about available software but what i've done in
the past is:
create a "FormManager" which takes a series of attributes and
generates the appropriate html form
codify the form data as property attributes following some
conventions
read the form data via a "PropertyManager", perferably one
which will refresh when the property data changes
the FormManager can even update the form field with the
appropriate session data for smart defaults
supporting all html forms and associated attributes is really
pretty simple and can be achieved using seven or so standard
attributes
i did this nearly three years ago. if i was to take a stab at it today
i'd consider some form of xml data (vs property files) and pull
the data over http from a centralized "form master repository"
(vs read local file). xul looks interesting to me but i've opted for
a simplier route as it is a bit heavier then i had hoped for ... imho.
hope this helps,
- james
Howard Lee wrote:
> Hi,
>
> Has anyone worked on a form generator? I'm trying to write a program where I
> define fields (whether it's a textfield, or drop down box) and a servlet or
> JSP generates a form? Can this be possible? Any resources out there? Thank
> you very much!
>
> howard
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html