Can anybody put this into cvs?
I fixed a bug in the tutorial which made it
break.
I am attaching the two files I have
corrected.
(just a minor confusion regarding the column names in the
employee table)
Attention:
There is still a remaining issue regarding the setting of
parameters for an action.
I posted more about that earlier.
In other words the tutorial is still broken until this one
gets resolved as well.
Horst
|
edit-empl.xsp
Description: Binary data
<root> <parameter name="id" type="long" nullable="no"/> <parameter name="name" type="string" min-len="5" max-len="64"/> <parameter name="department" type="long" nullable="no"/>
<constraint-set name="update"> <validate name="name"/> <validate name="id"/> <validate name="department"/> </constraint-set> <constraint-set name="add"> <validate name="name"/> <validate name="department"/> </constraint-set> <connection>personnel</connection> <table name="employee"> <keys> <key param="id" dbcol="id" type="int" mode="manual"/> </keys> <values> <value param="name" dbcol="name" type="string"/> <value param="department" dbcol="department_id" type="int"/> </values> </table> </root>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]