Thanks for the answers.  I'm not quite clear on RHTMLO usage, though.

When I asked can I put the metadata of a DB column into an HTML Object
somehow and it would automatically create
the appropriate html form element, you said:

> RHTMLO divorces the concept of a "field" from a single HTML element,
> and in doing so provides input/output filters, inflate/deflate, and
> validation.  A single field that exemplifies most of these concepts is
> a date/time field made up of several text fields (say, m/d/y h:m:s)
> and a pop-up menu for am/pm.  As far as your form is concerned, this
> collection of HTML input and select elements can be treated as a
> single field.  Internally, it returns a single value to your code: a
> DateTime object.

So does this mean that the answer is no but instead I can define my own HTML
object for
each type of column.  And then the html object can be used to create forms
and validate
form input by simply assigning each DB column object to the appropriate HTML
object?

If so, I can see the benefit of this because one person might want to do
their date
form one way and another person differently  - so forcing a form for date
column types
to be a particular format, as I was suggesting, is not ideal.

In fact, I have a historical database that I would like to have the concept
of a "historical date" that can be held in various forms e.g. 1865, c1865,
1870-1895.  This would enable that quite nicely, I guess...


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to