Revision history for Perl extension Maypole
+1.4 Fri Apr 16 18:11:41 BST 2004
+ - Much, much more documentation
+ - CLI debugging mode
+ - CGI frontend (CGI::Maypole)
+ - Beginnings of a test suite
+ - Maypole::Constants module to remove dependency on Apache
+ - Refactoring of view classes to base/module-specific modules
+ - HTML::Mason view class
+ - Various small template bug fixes and enhancements
+
1.3 Fri Mar 26 19:16:33 GMT 2004
- Fix serious order/CDBI::Page interaction bug.
- Die if model/view class can't be compiled.
Changes
doc/About.pod
doc/Beer.pod
+doc/BuySpy.pod
doc/Flox.pod
doc/Model.pod
doc/Overview.pod
doc/Request.pod
doc/StandardTemplates.pod
doc/View.pod
+doc/Templates.pod
doc/makedoc.pl
ex/BeerDB.pm
+lib/CGI/Maypole.pm
lib/Maypole/CLI.pm
lib/Maypole/Constants.pm
lib/Maypole/Model/Base.pm
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: Maypole
-version: 1.3
+version: 1.4
version_from: lib/Maypole.pm
installdirs: site
requires:
Template => 0,
}, # e.g., Module::Name => 1.1
($] >= 5.005 ? ## Add these new keywords supported since 5.005
- (ABSTRACT_FROM => 'lib/Apache/MVC.pm', # retrieve abstract from module
+ (ABSTRACT_FROM => 'lib/Maypole.pm', # retrieve abstract from module
AUTHOR => 'Simon Cozens <simon@simon-cozens.org>') : ()),
);
distinguish between the tabs that anyone can see and those than only an
admin can see, but we'll come back to it later. Still, 104 lines, eh?
-The actual tab list is presented here:
+The actual tab list is presented here: (reformated slightly for sanity)
<tr>
<td>
- <asp:datalist id="tabs" cssclass="OtherTabsBg" repeatdirection="horizontal" ItemStyle-Height="25" SelectedItemStyle-CssClass="TabBg" ItemStyle-BorderWidth="1" EnableViewState="false" runat="server">
+ <asp:datalist id="tabs" cssclass="OtherTabsBg"
+ repeatdirection="horizontal" ItemStyle-Height="25"
+ SelectedItemStyle-CssClass="TabBg" ItemStyle-BorderWidth="1"
+ EnableViewState="false" runat="server">
<ItemTemplate>
- <a href='<%= Request.ApplicationPath %>/DesktopDefault.aspx?tabindex=<%# Container.ItemIndex %>&tabid=<%# ((TabStripDetails) Container.DataItem).TabId %>' class="OtherTabs"><%# ((TabStripDetails) Container.DataItem).TabName %></a>
+ <a href='<%= Request.ApplicationPath %>/
+ DesktopDefault.aspx?tabindex=<%# Container.ItemIndex %>&tabid=
+ <%# ((TabStripDetails) Container.DataItem).TabId %>' class="OtherTabs">
+ <%# ((TabStripDetails) Container.DataItem).TabName %></a>
</ItemTemplate>
<SelectedItemTemplate>
- <span class="SelectedTab"><%# ((TabStripDetails) Container.DataItem).TabName %></span>
+ <span class="SelectedTab">
+ <%# ((TabStripDetails) Container.DataItem).TabName %></span>
</SelectedItemTemplate>
</asp:datalist>
</td>
<span class="SelectedTab">[%tab.name%]</span>
[% ELSE %]
<td height="25">
- <a href='[%base%]DesktopDefault.aspx?tabid=[%a_tab.id%]' class="OtherTabs">[%a_tab.name%]</a>
+ <a href='[%base%]DesktopDefault.aspx?tabid=[%a_tab.id%]'
+ class="OtherTabs">[%a_tab.name%]</a>
[% END %]
</td>
[% END %]
use UNIVERSAL::require;
use strict;
use warnings;
-our $VERSION = "1.3";
+our $VERSION = "1.4";
__PACKAGE__->mk_classdata($_) for qw( config init_done view_object );
__PACKAGE__->mk_accessors ( qw( ar params query objects model_class
args action template ));