Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Catalyst - Model Data Not Rendering in TT Template

by roho (Chancellor)
on Mar 17, 2010 at 03:41 UTC ( #829075=note: print w/replies, xml ) Need Help??


in reply to Re: Catalyst - Model Data Not Rendering in TT Template
in thread Catalyst - Model Data Not Rendering in TT Template

Thanks for checking things out Khen1950fx , and thanks for the link to the validator. The DTD is definitely not valid and needs to be fixed. I tried running the app with the statement commented out that stores 'messages' in the stash, and the web page renders and displays OK (minus the values from the database of course).

#$c->stash->{messages} = $c->model('TestDatabase::test');

There must be something about the structure of 'messages' in the stash that TT doesn't like. I don't know enough about DBIx::Class (yet) to know what to look for, but I'll keep digging. Thanks again.

"Its not how hard you work, its how much you get done."

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://829075]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2020-02-25 07:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (108 votes). Check out past polls.

    Notices?