I have a page (AddSomething), this page insert some data in a database
and I store the data on a session too. This is like a shopping cart,
the products view and some products addition.
I have 2 actions methods, update_view and insert_data, the first update
the data on the session and shows the same page, the second insert the
data on the database and shows a proper message.
I want to subclass the AddSomething class to a EditSomething class, the
data shown is the same but the actions should differ. I may reimplement
the insert_data method to do the update of the data reater then the
insertion... I may reimplement the products menu (where I list which
product can I insert) to redirect to proper page.
The problem is that when I subclass the AddSomething and try to access
the insert_data or the update_view methods, it give back the
AddSomething page even if I reimplement the methods:
for k, v in self.request().fields().items():
What can I do to fix it? Thanks for help...
Michel Thadeu Sabchuk
Yahoo! Mail agora com 100MB, anti-spam e antivírus grátis!