[Checkins] SVN: z3c.website/branches/darrylcousins-trialbranch/
Included also jquery.livesearch,
currently as svn checkout and develop egg. I'm still a bit confused
about the jquery layers,
I guess I should just be able to use the layer in websiteLayer,
but it seems I still need to register js files onto the website
JavaScriptViewlet directly
Darryl Cousins
darryl at darrylcousins.net.nz
Fri Jun 29 20:22:20 EDT 2007
Log message for revision 77259:
Included also jquery.livesearch, currently as svn checkout and develop egg. I'm still a bit confused about the jquery layers, I guess I should just be able to use the layer in websiteLayer, but it seems I still need to register js files onto the website JavaScriptViewlet directly
Changed:
_U z3c.website/branches/darrylcousins-trialbranch/
U z3c.website/branches/darrylcousins-trialbranch/buildout.cfg
U z3c.website/branches/darrylcousins-trialbranch/src/z3c/website/layer.zcml
-=-
Property changes on: z3c.website/branches/darrylcousins-trialbranch
___________________________________________________________________
Name: svn:externals
- z3c.authentication svn+ssh://darrylcousins@svn.zope.org/repos/main/z3c.authentication/trunk
z3c.resource svn+ssh://darrylcousins@svn.zope.org/repos/main/z3c.resource/trunk
z3c.breadcrumb svn+ssh://darrylcousins@svn.zope.org/repos/main/z3c.breadcrumb/trunk
+ z3c.authentication svn+ssh://darrylcousins@svn.zope.org/repos/main/z3c.authentication/trunk
z3c.resource svn+ssh://darrylcousins@svn.zope.org/repos/main/z3c.resource/trunk
z3c.breadcrumb svn+ssh://darrylcousins@svn.zope.org/repos/main/z3c.breadcrumb/trunk
jquery.livesearch svn+ssh://darrylcousins@svn.zope.org/repos/main/jquery.livesearch/trunk
Modified: z3c.website/branches/darrylcousins-trialbranch/buildout.cfg
===================================================================
--- z3c.website/branches/darrylcousins-trialbranch/buildout.cfg 2007-06-30 00:19:41 UTC (rev 77258)
+++ z3c.website/branches/darrylcousins-trialbranch/buildout.cfg 2007-06-30 00:22:18 UTC (rev 77259)
@@ -1,5 +1,5 @@
[buildout]
-develop = . z3c.authentication z3c.resource z3c.breadcrumb
+develop = . z3c.authentication z3c.resource z3c.breadcrumb jquery.livesearch
parts = z3c-website
[zope3]
@@ -57,6 +57,7 @@
<include package="jquery.jsonform" />
<include package="jquery.layer" />
+ <include package="jquery.livesearch" />
<include package="z3c.breadcrumb" />
<include package="z3c.configurator" />
@@ -103,6 +104,7 @@
z3c.authentication
z3c.resource
z3c.breadcrumb
+ jquery.livesearch
[z3c-website]
recipe = zc.zope3recipes:instance
Modified: z3c.website/branches/darrylcousins-trialbranch/src/z3c/website/layer.zcml
===================================================================
--- z3c.website/branches/darrylcousins-trialbranch/src/z3c/website/layer.zcml 2007-06-30 00:19:41 UTC (rev 77258)
+++ z3c.website/branches/darrylcousins-trialbranch/src/z3c/website/layer.zcml 2007-06-30 00:22:18 UTC (rev 77259)
@@ -114,4 +114,41 @@
</configure>
+ <configure package="jquery.livesearch">
+
+ <!-- resources -->
+ <resource
+ name="jquery.livesearch.js"
+ file="jquery.livesearch.js"
+ layer="z3c.website.layer.IWebSiteBrowserLayer"
+ />
+
+ <resource
+ name="jquery.livesearch.css"
+ file="jquery.livesearch.css"
+ layer="z3c.website.layer.IWebSiteBrowserLayer"
+ />
+
+ <viewlet
+ name="jquery.livesearch.js"
+ for="*"
+ manager="z3c.website.layer.IJavaScript"
+ class=".browser.LiveSearchJavaScriptViewlet"
+ permission="zope.Public"
+ layer="z3c.website.layer.IWebSiteBrowserLayer"
+ weight="4"
+ />
+
+ <viewlet
+ name="jquery.livesearch.css"
+ for="*"
+ manager="z3c.website.layer.ICSS"
+ class=".browser.LiveSearchCSSViewlet"
+ permission="zope.Public"
+ layer="z3c.website.layer.IWebSiteBrowserLayer"
+ weight="4"
+ />
+
+ </configure>
+
</configure>
More information about the Checkins
mailing list