Permalink
Browse files

Merge branch 'release/2.0.0'

  • Loading branch information...
2 parents 55b205b + ee55a69 commit 0b1751fb70be56efad0d4ba8cd749d5081ca71b8 @ralphbean ralphbean committed May 24, 2012
View
@@ -1,7 +1,7 @@
tw2.jqplugins.jqgrid
=========================
-:Author: Ralph Bean <ralph.bean@gmail.com>
+:Author: Ralph Bean <rbean@redhat.com>
.. comment: split here
@@ -16,10 +16,10 @@ Peep the `live demonstration <http://tw2-demos.threebean.org/module?module=tw2.j
Links
-----
-Get the `source from github <http://github.com/ralphbean/tw2.jqplugins.jqgrid>`_.
+Get the `source from github <http://github.com/toscawidgets/tw2.jqplugins.jqgrid>`_.
`PyPI page <http://pypi.python.org/pypi/tw2.jqplugins.jqgrid>`_
-and `bugs <http://github.com/ralphbean/tw2.jqplugins.jqgrid/issues/>`_
+and `bugs <http://github.com/toscawidgets/tw2.jqplugins.jqgrid/issues/>`_
Description
-----------
@@ -39,15 +39,21 @@ technology, including PHP, ASP, Java Servlets, JSP, ColdFusion, and Perl.
This module, tw2.jqplugins.jqgrid, provides `toscawidgets2 (tw2)`_ access to
the `jQuery Grid Plugin`_ widget.
-Hacking
--------
+Sampling tw2.jqplugins.jqgrid in the WidgetBrowser
+--------------------------------------------------
-Fork the project on github. Clone your repo locally. Then::
+The best way to scope out ``tw2.jqplugins.jqgrid`` is to load its widgets in the
+``tw2.devtools`` WidgetBrowser. To see the source code that configures them,
+check out ``tw2.jqplugins.jqgrid/tw2/jqplugins/jqgrid/samples.py``
- $ cd tw2.jqplugins.jqgrid
- $ mkvirtualenv jqgrid
- (jqgrid) $ python setup.py develop
- (jqgrid) $ pip install tw2.devtools
- (jqgrid) $ paster tw2.browser
+To give it a try you'll need git, python, and `virtualenvwrapper
+<http://pypi.python.org/pypi/virtualenvwrapper>`_. Run::
+ $ git clone git://github.com/toscawidgets/tw2.jqplugins.jqgrid.git
+ $ cd tw2.jqplugins.jqgrid
+ $ mkvirtualenv tw2.jqplugins.jqgrid
+ (tw2.jqplugins.jqgrid) $ pip install tw2.devtools
+ (tw2.jqplugins.jqgrid) $ python setup.py develop
+ (tw2.jqplugins.jqgrid) $ paster tw2.browser
+...and browse to http://localhost:8000/ to check it out.
@@ -1,38 +0,0 @@
-#!/bin/bash -e
-
-devbase=development-deps
-venv=$devbase/virtualenv-tw2.jquery
-$(
- rm -rf $venv
-) || echo "Did not destroy $venv"
-
-virtualenv $venv --no-site-packages
-
-source $venv/bin/activate
-
-pushd $devbase
-
-pip install genshi
-pip install mako
-pip install formencode
-
-hg clone http://bitbucket.org/paj/tw2core || \
- (pushd tw2core && hg pull && popd)
-hg clone http://bitbucket.org/ralphbean/tw2.devtools || \
- (pushd tw2.devtools && hg pull && popd)
-hg clone http://bitbucket.org/paj/tw2forms || \
- (pushd tw2forms && hg pull && popd)
-hg clone http://bitbucket.org/toscawidgets/tw2jquery || \
- (pushd tw2jquery && hg pull && popd)
-git clone http://github.com/ralphbean/tw2.jqplugins.ui.git || \
- (pushd tw2.jqplugins.ui && git pull && popd)
-#hg clone https://ralphbean@bitbucket.org/toscawidgets/tw2jquery || \
-# (pushd tw2jquery && hg pull && popd)
-
-pushd tw2core ; python setup.py install ; popd
-pushd tw2forms ; python setup.py install ; popd
-pushd tw2.devtools ; python setup.py install ; popd
-pushd tw2jquery ; python setup.py install_lib install_egg_info ; popd
-pushd tw2.jqplugins.ui ; python setup.py install_lib install_egg_info ; popd
-
-popd # $devbase
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-devbase=development-deps
-venv=$devbase/virtualenv-tw2.jquery
-source $venv/bin/activate
-
-python setup.py install_lib install_egg_info && paster tw2.browser
-
-
-
View
@@ -13,13 +13,13 @@
setup(
name='tw2.jqplugins.jqgrid',
- version='2.0b22',
+ version='2.0.0',
description='toscawidgets2 wrapper for the jQuery grid plugin',
long_description=long_description,
author='Ralph Bean',
- author_email='ralph.bean@gmail.com',
+ author_email='rbean@redhat.com',
license='MIT',
- url='http://github.com/ralphbean/tw2.jqplugins.jqgrid',
+ url='http://github.com/toscawidgets/tw2.jqplugins.jqgrid',
install_requires=[
"tw2.core>=2.0b2",
"tw2.jquery",
@@ -1,6 +1,6 @@
""" TW2 widget wrapper the jquery ui jqgrid
-Get the source from http://github.com/ralphbean/tw2.jqplugins.jqgrid
+Get the source from http://github.com/toscawidgets/tw2.jqplugins.jqgrid
"""
from widgets import *
@@ -67,7 +67,7 @@ def prepare(self):
'colModel' : [
{
'name':'authors',
- 'width':75,
+ 'width':50,
'align':'center',
},{
'name':'title',
@@ -83,7 +83,7 @@ def prepare(self):
'rowList':[15,30,50],
'viewrecords':True,
'imgpath': 'scripts/jqGrid/themes/green/images',
- 'width': 900,
+ 'width': 590,
'height': 'auto',
}
pager_options = { "search" : True, "refresh" : True, "add" : False, }
@@ -26,7 +26,7 @@ def prepare(self):
'rowList':[15,30,50],
'viewrecords':True,
'imgpath': 'scripts/jqGrid/themes/green/images',
- 'width': 900,
+ 'width': 590,
'height': 'auto',
}

0 comments on commit 0b1751f

Please sign in to comment.