Following your suggestion of going with the for the data from my controller still needs to be places in the stash correct? The way I am currently doing it in my Controller is:
$c->stash(users => [$c->model('DB::tech')->search_rs]);and in my template I am calling it via
[% FOR tech IN users.all -%]but yet it still is not displaying any data from my database. There is one row in the table that I am trying to work with currently
repairs=> select * from tech; + uniqid | id | firstname | lastname | email | phone | managementrating + | managementcomments | dat e | ismanagement + --------+----+-----------+----------+-------+-------+----------------- +-+--------------------+------- -----+-------------- + 0 | 99 | Admin | | | | 10 + | | 1999-0 1-01 | t + (1 row)
In reply to Re^2: Need help working with a view in Catalyst
by vendion
in thread Need help working with a view in Catalyst
by vendion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |