On 30 Jan 2007 at 17:00, John Siracusa wrote:
id is in $session, which the form knows nothing about. But in most
web app frameworks, there's usually some way to get at globally
applicable data like the session, in which case it's reasonable for
customer_from_form() to return you an object
On 1/31/07 5:11 AM, Michael Lackhoff wrote:
This is a question I have for some time now: How to get your framework object
into the depth of all the RDBO and RHTMLO objects (DB table/manager, HTML
forms, special fields). I use CGI::Application as my framework and Template
Toolkit as my
On 31 Jan 2007 at 8:52, John Siracusa wrote:
I don't use CGI::Application, so maybe I'm misunderstanding how it works,
but how about a class method that returns the current CGI::Application
object? e.g., MyWebSite-current_app(). You'd set it at the beginning of
each request. Then, in your
On 1/30/07, John Siracusa [EMAIL PROTECTED] wrote:
I have db_object_from_form() and init_with_db_object() methods that
will handle a tree of RDBO-derived objects that correspond to a tree
of nested RHTMLO forms. The code is included at the end of this
email, but it's still in progress and may