Hello!
In Tutorial (BTW, CRUD section of tutorial lacks U completely), I've
seen this way of filling in the record:
my $book = $c-model('GalleryDB::Gallery')-new({});
$book-populate_from_widget($result);
In InstantCRUD data is filled in with
my $item = $result-save_to_db();
Can
On Fri, Jan 11, 2008 at 03:43:25PM -0500, Lampert, Hugh wrote:
Well, I respectfully submit that the purpose of a digest is so people can
archive the mailing list themselves in their e-mail systems, one digest per
day. An RSS feed does not easily allow this, and for a busy list like this
On Sun, Jan 13, 2008 at 04:47:38PM +0300, Alex Povolotsky wrote:
Hello!
In Tutorial (BTW, CRUD section of tutorial lacks U completely), I've
seen this way of filling in the record:
my $book = $c-model('GalleryDB::Gallery')-new({});
$book-populate_from_widget($result);
which sets
Matt S Trout wrote:
On Sun, Jan 13, 2008 at 04:47:38PM +0300, Alex Povolotsky wrote:
Hello!
In Tutorial (BTW, CRUD section of tutorial lacks U completely), I've
seen this way of filling in the record:
my $book = $c-model('GalleryDB::Gallery')-new({});
I found something quite strange. When I use Firefox the model's new
method is called for each request, but if I use IE it doesn't. This
is under mod_perl. Is this behavior by design? Have I missed some
documentation on this?
Thanks, Juan
___
List:
On Sun, 2008-01-13 at 19:11 -0500, Juan Camacho wrote:
I found something quite strange. When I use Firefox the model's new
method is called for each request, but if I use IE it doesn't. This
is under mod_perl. Is this behavior by design? Have I missed some
documentation on this?
Can you
On Jan 13, 2008 7:17 PM, Jonathan Rockway [EMAIL PROTECTED] wrote:
On Sun, 2008-01-13 at 19:11 -0500, Juan Camacho wrote:
I found something quite strange. When I use Firefox the model's new
method is called for each request, but if I use IE it doesn't. This
is under mod_perl. Is this
On Fri, Jan 11, 2008 at 07:06:17PM +, Jonas Alves wrote:
On Jan 11, 2008 6:27 PM, Matt S Trout [EMAIL PROTECTED] wrote:
Don't try and serialize $c-req, just dump any POST data back out into
hidden fields in the login form, don't change the URL, and have the login
form processed in a
On Sun, 2008-01-13 at 19:41 -0500, Juan Camacho wrote:
Do you still need some code? Should new be called for every request or
is there some intentional session caching going on?
new is usually called at COMPONENT time, not ACCEPT_CONTEXT time. I'd
like to see how you're using this code,