Skip to main content
===============
gocept.mochikit
===============

gocept.mochikit integrates MochiKit (http://mochikit.com) into Zope 2 and
Zope 3. Send questions to Christian Zagrodnick <cz@gocept.com>.


Usage (Zope 3)
==============

To use gocept.mochikit you need to add the following to your package
configuration (ZCML)::

<include package="gocept.mochikit" />

This provides several resource libraries using the `zc.resourcelibrary`
package. In a page template you use::

<tal:replace replace="resource_library:mochikit" />

This will automatically load the main MochiKit file in its packed variant.
There are several additional MochiKit files which are not included in the
libarary above:

* mochikit.DragAndDrop
* mochikit.Controls
* mochikit.MockDOM
* mochikit.Selector
* mochikit.Test

You use those like this::

<tal:replace replace="resource_library:mochikit.DragAndDrop" />

Unpacked Variant
----------------

If you need to debug it's often easier to use the plain and unpacked MochiKit
variant. To use you load the package like this::

<include package="gocept.mochikit" file="unpacked" />


Usage (Zope 2)
==============

To use gocept.mochikit in Zope 2 you need to add the following to your package
configuration (ZCML)::

<include package="gocept.mochikit" file="zope2.zcml" />

This provides the packed version of MochiKit, so in your HTML template you
need to include the following::

<script
type="text/javascript"
src="++resource++gocept.mochikit/MochiKit.js">
</script>

Changes
=======

1.4.2.3 (2009-04-24)
++++++++++++++++++++

* Added configuration (zope2.zcml) for Zope 2 compatibility.

1.4.2.2 (2009-04-20)
++++++++++++++++++++

* Lightbox: only set "Loading..." message when the lightbox is empty.

* Made unregistering of event handlers more reliable in lightbox.

* Allow to not use ids for the lightbox.

1.4.2.1 (2009-04-06)
++++++++++++++++++++

* Sending a signal before the lightbox closes (before-close).

1.4.2 (2008-12-10)
++++++++++++++++++

* Updated to MochiKit 1.4.2

1.3.2 (2008-02-13)
++++++++++++++++++

* Added styles (CSS) for lightbox

* Updated to Mochikit r1323

1.3.1 (2007-12-07)
++++++++++++++++++

* Created a viewlet manager to allow easy dynamic javascript injection


1.3 (2007-11-26)
++++++++++++++++


* Updated to Mochikit r1320

* Added a lightbox (probably doesn't work in IE)

1.2
+++

* Added an approach for easier inheritance from
http://www.ajaxpath.com/javascript-inheritance/

* Update to Mochikit r1315

Release files for gocept.mochikit 1.4.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gocept.mochikit 1.4.2.3
File Size Uploaded
gocept.mochikit-1.4.2.3.tar.gz 392.3 kB Details

Release files / gocept.mochikit-1.4.2.3.tar.gz

Download URL gocept.mochikit-1.4.2.3.tar.gz
Size 392.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fee2d7ad1f5411b8184bbf0518ec800f936fb0b386c4aa71cd901f52f6fb5559
BLAKE2b-256 checksum
How to use checksums
b2bd9e0e8541db6d9930a1f4d7c27f34c66ea72b4c2da3bc2c0a15fb6dda49cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.4.2.3 This release

1 release file

1.4.2.2

1 release file

1.4.2

1 release file

1.3.2

1 release file

1.3.1

1 release file

1.3

1 release file

1.2

1 release file

1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page