I wasn't careful enough when I read this: http://cocoon.apache.org/2.0/userdocs/actions/database-actions.html

Inorder for the action to make the association with the form the parameter's "name" attribute should be of the form: table_name.column_name.
i.e. <input type="text" name="contact.firstName"/>
for table contact column firstName.


Sorry to have bothered the list,
Steve

In the sitemap log I get lines like:
DEBUG (2003-08-08) 13:22.36:950 [sitemap.action.insert] (/cocoon/contact-add) Thread-6/DatabaseAction: Trying
to set column contact.firstName from request-param using getAttribute method
DEBUG (2003-08-08) 13:22.36:950 [sitemap.action.insert] (/cocoon/contact-add) Thread-6/DatabaseAction: Setting column contact.firstName [0] null


for each entry in the db_config.xml. Seems like the action is correctly reading my config file but I'm not configured correctly to get the data out of the post.

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail



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



Reply via email to