Maypole::Model::CDBI::Plain (Dave Howorth)
- Added Apache::RequestIO to Apache::MVC (michael@diaspora.gen.nz)
- Applied patch to fix length of utf8 documents.
- - added a new override for the model, fetch_objects.
- - support MCPKs in CDBI fetch_objects.
+ - added a new override for the model: fetch_objects.
+ - support compound primary keys in CDBI fetch_objects.
+ - add support for compound primary keys in factory templates
+ (Dagfinn Ilmari Mannsåker)
2.04 Tue Oct 27 14:00:00 2004
- fixed Apache::MVC version (Randal Schwartz)
[%
MACRO maybe_link_view(object) BLOCK;
IF object.table; # It's an object, i.e. a has-a
- link(object.table, "view", object.id, object);
+ link(object.table, "view", object.id.join('/'), object);
ELSE;
object;
END;
#%]
[% MACRO button(obj, action) BLOCK; %]
-<form class="actionform" action="[% base %]/[% obj.table %]/[% action %]/[% obj.id %]" method="post">
+<form class="actionform" action="[% base %]/[% obj.table %]/[% action %]/[% obj.id.join('/') %]" method="post">
<div class="field"><input class="actionbutton" type="submit" value="[% action %]" /></div></form>
[% END %]
[%#