Good morning all,

  yeah, I'm still working on the employee sample... Now I think that
I'm in a good point of the understanding.... but I miss something...

In the file flow.js, into the do_edit_employee() function I can read this:

// Fill the form with the Map returned by JDBI.
// No binding file, no Java object, no nothing! Cool, isn't it?
// This is possible because:
// - both the JDBC ResultSet and the form widgets are represented as
Maps and Lists
// - form widgets and database columns have the same name.

And I think cool, this really make all easy and faster... but after a
second I was depressed! My db schema doesn't permit to me to have
widgets and database columns to have the same names...
Yes, because I'm using a DB that has, for example, a table called
telephoneNumber.
This table has three fields ID, IDTYPE, and VALUE.
ID identify the owner of the telephone number by his own id, IDTYPE
identify the type of the telephone number (home or office by now) and
VALUE is the telephone number...

Now, I suppose is clear where the matter is: I have two widgets for
each of the telephone number I need (homeNumber abd officeNumber) but
I cant mach them with the columns Fields name!!!

How to solve it? Does anybody know?

as usually, thanks in advice

--
Omar Adobati
[EMAIL PROTECTED]

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