FAQ

On Wed, Jun 09, 2010 at 12:08:33PM -0400, Ken Beal wrote:
Then, on the page (a TT page), I had a FOREACH loop "[% FOREACH build IN
builds -%]", and inside it, printed out various values for each of the
builds (server, version, source path, etc); one of these was a foreign
key to an "environment" table, which has columns for "name" and
"buildstring"; that line used to look like:



<td>[% build.environment_id.name %] ([%
build.environment_id.buildstring %])</td>
Now it would be:

[% build.environment.name %]

Look at your Result classes for the relationship names.

If you want the old names, pass the naming=v4 option (after
create=static on the helper command line.)

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedJun 9, '10 at 4:08p
activeJun 10, '10 at 11:34p
posts3
users3
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2022 Grokbase