Skip to main content

ExtJS for hurry.resource.

Project description

hurry.extjs

Introduction

This library provides a simple API to use ExtJS with hurry.resource.

Due to licenses conflicts, hurry.extjs can’t packages the sources of ExtJS. So you need to do it manually.

How to use?

Add hurry.zoperesource and hurry.extjs to your setup.py and run ./bin/buildout:

install_requires=[
   ...,
   'hurry.zoperesource'
   'hurry.extjs',
],

Download ExtJS and place it in your project. Next step, it’s to publish the sources of ExtJS as a resource directory. Using Grok, you should have something like this in your configure.zcml

<configure xmlns="http://namespaces.zope.org/zope"
           xmlns:grok="http://namespaces.zope.org/grok"
           xmlns:browser="http://namespaces.zope.org/browser">

  <include package="grok" />
  <includeDependencies package="." />
  <grok:grok package="." />

  <include package="hurry.zoperesource" />

  <browser:resourceDirectory
      name="extjs"
      directory="ext-2.2.1" />

</configure>

hurry.extjs will look for the resourceDirectory named extjs, so it’s important that you use the same name in the resourceDirectory statement.

Now, you can import extjs like this:

from hurry.extjs import extjs_all, extjs_css

And then to trigger inclusion in the web page, anywhere within your page or widget rendering code, do this:

extjs_all.need()
extjs_css.need()

Authors

  • Santiago Videla

CHANGES

2.2.1 (2009-05-04) (ExtJS version: 2.2.1)

  • Initial public release.

Download

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hurry.extjs-2.2.1.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file hurry.extjs-2.2.1.tar.gz.

File metadata

File hashes

Hashes for hurry.extjs-2.2.1.tar.gz
Algorithm Hash digest
SHA256 21febc685092b3508958dfe1ed671bb4e0f01607d1c4787296fffb7f70fa4b3e
MD5 32cb806d341b125b42838414b3163760
BLAKE2b-256 d81fbcbc67c4501cc7aa7643b721eba7c5de43fe60a20b07d2c110745cd04116

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page