1.1 --- a/actions/EventAggregatorNewEvent.py Wed Jun 02 22:27:43 2010 +0200
1.2 +++ b/actions/EventAggregatorNewEvent.py Thu Jun 10 00:34:21 2010 +0200
1.3 @@ -24,7 +24,7 @@
1.4
1.5 # Action class and supporting functions.
1.6
1.7 -class EventAggregatorNewEvent(ActionBase):
1.8 +class EventAggregatorNewEvent(ActionBase, EventAggregatorSupport.ActionSupport):
1.9
1.10 "An event creation dialogue requesting various parameters."
1.11
1.12 @@ -44,7 +44,7 @@
1.13 def get_form_html(self, buttons_html):
1.14 _ = self._
1.15 request = self.request
1.16 - form = request.form
1.17 + form = self.get_form()
1.18
1.19 # Handle advanced and basic forms, and enable/disable certain fields.
1.20
1.21 @@ -465,7 +465,7 @@
1.22 "Create the new event."
1.23
1.24 _ = self._
1.25 - form = self.request.form
1.26 + form = self.get_form()
1.27
1.28 # If no title exists in the request, an error message is returned.
1.29
1.30 @@ -495,7 +495,7 @@
1.31 "Create an event page using the 'request'."
1.32
1.33 _ = request.getText
1.34 - form = request.form
1.35 + form = self.get_form()
1.36
1.37 category_pagenames = form.get("category", [])
1.38 description = form.get("description", [None])[0]