7 msgConfiguration of $c->log with Catalyst::Log:...
8 msgInvalid session ids being generated
4 msgCatalyst / dbix-class / mysql / REST job
2 msgStrange UTF16 warning
1 msgWikipedia article improvement?
5 msgFastCGI: incomplete headers (0 bytes) received ...
5 msgBasic CRUD Tutorial
2 msgHow to display a single HTML::Widget form field...
7 msgLet's port Twitter to Perl
8 msgCatalyst, utf8 in form element type text
17 msgAnybody who fancies some LWP poking ...
54 msgRFC: Catalyst::Controller::REST::DBIC
1 msgKill the book thread please

More Catalyst Template Toolkit examples?
\ Ryan Grace (3 May 2008)
. \ Andreas Marienborg (3 May 2008)

6 msgFw: high school reunion (no subject)
2 msg(no subject)
6 msgUsing URIs for my app in another program
4 msgTutorial
11 msg$row->copy causing exit from controller(!)
14 msgHow to print/display some data in an end action
Subject:More Catalyst Template Toolkit examples?
Group:Catalyst
From:Ryan Grace
Date:3 May 2008


 


Hi All,

I'm working my way through the Catalyst tutorial and am currently in Part* Advanced CRUD. In this section HTML::Widget is introduced, along with examples of using TT2 with H::W.

One line in an example of a TT2 template near the bottom of the page uses:


[% FOREACH element = widget_result.elements %]


I'm having a hard time figuring this out because I can't find mention of the
.elements method anywhere.

Does someone have a pointer to more advanced examples of using TT2 with H::W and Catalyst?

Or a pointer to documentation about the available options in C::P::H::W? .elements isn't mentioned in the H::W documentation anywhere that I can find.

Thanks,

Ryan




_______________________________________________
List: Catalyst
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst/
Dev site: http://dev.catalyst.perl.org/



© 2004-2008 readlist.com