[Seaside] How do I use "Libraries"
Boris Popov
boris at deepcovelabs.com
Fri Jun 2 20:13:30 UTC 2006
You should have one of your components be declared as a root of the
application, say MyWebApplication, via
MyWebApplication class>>canBeRoot
^true
MyWebApplication class>>initialize
| app |
app := self registerAsApplication: 'myapplication'.
(app libraries)
add: MyWebApplicationScripts;
add: MyWebApplicationStyles
where MyWebApplicationScripts and MyWebApplicationStyles are subclasses of
WAScriptLibrary and WAStyleLibrary respectively. You can then reinitialize
your application via,
MyWebApplication initialize
Hope this helps,
-Boris
--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
boris at deepcovelabs.com
CONFIDENTIALITY NOTICE
This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.
Thank you.
-----Original Message-----
From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Günther
Schmidt
Sent: Friday, June 02, 2006 1:06 PM
To: seaside at lists.squeakfoundation.org
Subject: [Seaside] How do I use "Libraries"
Hi all,
how do I use the libraries.
I just want to keep CSS in one place instead of using WAComponent>>style.
So I read on this list to use a library, I've subclassed WAStyleLibrary
but I'm not sure how to set it up.
Thanks
Günther
_______________________________________________
Seaside mailing list
Seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3370 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20060602/4cf20152/smime.bin
More information about the Seaside
mailing list