/[Frey]/trunk/lib/ExtJS/Portal.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/lib/ExtJS/Portal.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 159 - (show annotations)
Thu Jul 17 18:02:06 2008 UTC (15 years, 8 months ago) by dpavlin
File size: 684 byte(s)
experimental ExtJS 2.1 integration
1 package ExtJS::Portal;
2 use Moose;
3
4 extends 'Frey';
5 with 'Frey::Web';
6
7 our $ext = '/static/js/ext-2.1';
8
9 sub depends {
10 my $self = shift;
11
12 $self->add_head( "$ext/resources/css/ext-all.css" );
13 $self->add_head( "$ext/$_" ) foreach ( qw{
14 adapter/ext/ext-base.js
15 ext-all.js
16 });
17
18 $self->add_head( "$ext/examples/portal/$_" ) foreach ( qw{
19 Portal.js
20 PortalColumn.js
21 Portlet.js
22 sample.js
23 sample-grid.js
24 portal.css
25 sample.css
26 });
27
28 }
29
30 sub markup {
31 my $self = shift;
32 $self->page(
33 title => "Custom Layouts and Containers - Portal Sample",
34 body => qq|
35 <script type="text/javascript" src="$ext/examples/shared/examples.js"></script><!-- EXAMPLES -->
36 |,
37 );
38 }

  ViewVC Help
Powered by ViewVC 1.1.26