Re: [Catalyst] Database contents not displayed after hitting page refresh

2008-09-03 Thread cranky
It's working now. Thanx Emmanuel, that really helped. cranky wrote: Hi, I'm a newbie to catalyst. I have built a small app, similar to the one in catalyst manual (basic CRUD). I have a page wherein a table displays its contents after getting it from the database (SQLite3), the problem is,

Re: [Catalyst] Database contents not displayed after hitting page refresh

2008-09-03 Thread Matt S Trout
On Wed, Sep 03, 2008 at 09:04:23AM +0200, Emmanuel Quevillon wrote: You need to perform a search in your 'ShowData' function to get data returned by the Resultset of your model 'Ttrack::Ttrack'. At this time, $data is only a resultset object without any data in it. Replace : my $data =

Re: [Catalyst] Database contents not displayed after hitting page refresh

2008-09-03 Thread Matt S Trout
On Tue, Sep 02, 2008 at 09:48:08PM -0700, cranky wrote: Hi, I'm a newbie to catalyst. I have built a small app, similar to the one in catalyst manual (basic CRUD). I have a page wherein a table displays its contents after getting it from the database (SQLite3), the problem is, it doesn't

[Catalyst] Database contents not displayed after hitting page refresh

2008-09-02 Thread cranky
Hi, I'm a newbie to catalyst. I have built a small app, similar to the one in catalyst manual (basic CRUD). I have a page wherein a table displays its contents after getting it from the database (SQLite3), the problem is, it doesn't display the contents after I refresh the page. I'm using TT2