Question: What's the best way to pass parameters from sitemap to mod-db-action? Could output modules be used to do this?
Case (simplest I could think of): I need to mark a database row locked when a user in a multi-user environment wants to edit contents of this row. When user requests an edit form, I'm trying to pass something like status=locked and the opposite after user finally submits changes. If user aborts editing, row should be unlocked (status=unlocked). Sitemap-pseudo-code: - match form mod-db-status = lock show form - match submit make changes mod-db-status = unlock - match cancel mod-db-status = unlock I guess I could use some tricks in the descriptor file to access the request data, but I prefer using sitemap whan I need to change site behaviour easily. * This is my first post to this list. I would like to thank the community for this great project and the GetTogether event this month (the organizers especially). -- Mika Fons�n * http://iki.fi/mf __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
