Hi,
Thanks for the suggestions!. I haven't been able to get it working
yet, but at least I have a fresh TG that works in 64-bit now.
@Diez- I am going to use FB more to try and figure out exactly where
the problem is. FB shows that jquery.autocomplete.js is in fact
loading, so it is not a missing module problem.
@Christoph: I did a complete rebuild of my environment using the
newest TG. See below for my tginfo. If took me awhile to finally get
everything running, as setting up mysqldb for 64-bit OS X is still a
bit of a pain. After all of that, though, I still got the same error:
$("#edit_order_form_Customer").autocomplete is not a function
New to jquery, but I guess this gives added incentive to learn more.
- Shane
OS X 10.6.1
Python 2.6.4 64-bit
TurboGears2 Complete Version Information
========================================
TurboGears2 requires:
* Extremes 1.1.1
* setuptools 0.6c11
* Paste 1.7.2
* Pygments 1.0
* WebError 0.10.1
* FormEncode 1.2.1
* repoze.who 1.0.15
* BytecodeAssembler 0.5.1
* PasteScript 1.7.3
* TurboGears2 2.0.3
* PasteDeploy 1.3.3
* Routes 1.10.3
* nose 0.10.4
* Tempita 0.2
* AddOns 0.7
* WebFlash 0.1a9
* transaction 1.0a1
* DecoratorTools 1.7
* repoze.what 1.0.8
* prioritized-methods 0.2.1
* TurboJson 1.2.1
* SymbolType 1.0
* PEAK-Rules 0.5a1.dev-r2582
* WebOb 0.9.6.1
* repoze.who-testutil 1.0rc1
* decorator 3.0.0
* Genshi 0.5.1
* Beaker 1.3
* WebHelpers 0.6.4
* Pylons 0.9.7
* repoze.what-pylons 1.0rc3
* zope.interface 3.4.1
* simplejson 2.0.8
* WebTest 1.1
* Mako 0.2.4
* ToscaWidgets 0.9.8
* repoze.tm2 1.0a4
TurboGears2 Commands
* migrate (tg.devtools 2.0.2)
* quickstart (tg.devtools 2.0.2)
* shell (TurboGears2 2.0.3)
* serve (TurboGears2 2.0.3)
Widget Packages
* widgets (tw.jquery 0.9.5)
* samples (tw.jquery 0.9.5)
* widgets (tw.dynforms 0.9.1)
* samples (tw.dynforms 0.9.1)
* widgets (tw.forms 0.9.8)
* samples (tw.forms 0.9.8)
* widgets (ToscaWidgets 0.9.8)
* resources (ToscaWidgets 0.9.8)
* widgets (tw.extjs 0.9.0)
* samples (tw.extjs 0.9.0)
TurboGears2 Templates
* turbogears2 (tg.devtools 2.0.2)
Toolbox2 Gadgets
Template Engines
* json (TurboJson 1.2.1)
* genshi-markup (Genshi 0.5.1)
* genshi-text (Genshi 0.5.1)
* genshi (Genshi 0.5.1)
* pylonsmyghty (Pylons 0.9.7)
* mako (Mako 0.2.4)
* toscawidgets (ToscaWidgets 0.9.8)
Available Widgets:
* tw.jquery 0.9.5:
- AjaxForm
- CSSLink
- FlexiGrid
- FlotWidget
- JQPlotWidget
- JQTableForm
- JQTableForm_ES
- JQValidate
- JQValidatePacked
- JQuery
- JQueryCompressed
- JSLink
- TableForm
- TreeView
- UIDatePicker
- UIDatePicker_ES
- Widget
- activeform
- base
- datepicker
- datepicker_css
- datepicker_es_js
- datepicker_js
- flexigrid
- flot
- jQuery
- jqplot
- jquery_bgiframe_js
- jquery_cookie_js
- jquery_dimensions_js
- jquery_flexigrid_css
- jquery_flexigrid_js
- jquery_form_js
- jquery_js
- jquery_js_compressed
- jquery_treeview_css
- jquery_treeview_js
- js_callback
- js_function
- treeview
- validate
- validate_css
- validate_js
- validate_js_pack
* tw.dynforms 0.9.1:
- AjaxLookupField
- AllowExtraSchema
- CalendarDatePicker
- CascadingAjaxLookupField
- CascadingSingleSelectField
- CustomisedForm
- DeleteButton
- FilteringGrid
- GrowingRepeater
- GrowingTableFieldSet
- GrowingTableForm
- HidingButton
- HidingCheckBox
- HidingCheckBoxList
- HidingComponentMixin
- HidingContainerMixin
- HidingLoopError
- HidingMissingError
- HidingRadioButtonList
- HidingSingleSelectField
- HidingTableFieldSet
- HidingTableForm
- IntNull
- LinkContainer
- OtherSingleSelectField
- SearchError
- StripDictValidator
- TrFieldSet
- WriteOnlyTextField
- load_options
- strip_wo_markers
- widgets
* tw.forms 0.9.8:
- BooleanRadioButtonList
- Button
- CalendarDatePicker
- CalendarDateTimePicker
- CheckBox
- CheckBoxList
- CheckBoxTable
- ContainerMixin
- DataGrid
- FieldSet
- FileField
- Form
- FormField
- FormFieldRepeater
- HiddenField
- ImageButton
- InputField
- InputWidget
- InputWidgetRepeater
- Label
- LabelHiddenField
- ListFieldSet
- ListForm
- ListMixin
- MultipleSelectField
- MultipleSelectionMixin
- PasswordField
- RadioButton
- RadioButtonList
- ResetButton
- SecureFormMixin
- SecureTicketField
- SelectionField
- SelectionList
- SingleSelectField
- SingleSelectionMixin
- Spacer
- SubmitButton
- TableFieldSet
- TableForm
- TableMixin
- TextArea
- TextField
- Widget
- calendar_js
- calendar_setup
- calendars
- core
- datagrid
- fields
- merge_schemas
- validators
* ToscaWidgets 0.9.8:
- AggregatedCSSLink
- AggregatedJSLink
- CSSLink
- CSSMixin
- CSSSource
- Child
- EngineException
- EngineManager
- HostFramework
- IECSSLink
- IECSSSource
- IEJSLink
- IEJSSource
- JSFunctionCalls
- JSLink
- JSMixin
- JSSource
- LRUCache
- Link
- OrderedSet
- Renderable
- RepeatedWidget
- RepeatingWidgetBunch
- RequestLocalDescriptor
- Resource
- ServerSideCallbackMixin
- Source
- Widget
- WidgetBunch
- WidgetException
- WidgetInitialized
- WidgetLocked
- WidgetRepeater
- WidgetType
- WidgetUninitialized
- WidgetUnlocked
- WidgetsList
- adapt_value
- always_allow
- always_deny
- asbool
- base
- disable_runtime_checks
- display
- engine_plugin
- exceptions
- inject_resources
- injector_middleware
- js
- js_callback
- js_function
- js_symbol
- lazystring
- locations
- make_middleware
- merge_resources
- meta
- middleware
- registry
- render
- resource_injector
- resources
- retrieve_resources
- server
- serverside_callback
- util
- valid_id
- view
* ToscaWidgets 0.9.8:
- AggregatedCSSLink
- AggregatedJSLink
- CSSLink
- CSSMixin
- CSSSource
- Child
- EngineException
- EngineManager
- HostFramework
- IECSSLink
- IECSSSource
- IEJSLink
- IEJSSource
- JSFunctionCalls
- JSLink
- JSMixin
- JSSource
- LRUCache
- Link
- OrderedSet
- Renderable
- RepeatedWidget
- RepeatingWidgetBunch
- RequestLocalDescriptor
- Resource
- ServerSideCallbackMixin
- Source
- Widget
- WidgetBunch
- WidgetException
- WidgetInitialized
- WidgetLocked
- WidgetRepeater
- WidgetType
- WidgetUninitialized
- WidgetUnlocked
- WidgetsList
- adapt_value
- always_allow
- always_deny
- asbool
- base
- disable_runtime_checks
- display
- engine_plugin
- exceptions
- inject_resources
- injector_middleware
- js
- js_callback
- js_function
- js_symbol
- lazystring
- locations
- make_middleware
- merge_resources
- meta
- middleware
- registry
- render
- resource_injector
- resources
- retrieve_resources
- server
- serverside_callback
- util
- valid_id
- view
* tw.extjs 0.9.0:
- ExtJSLinkAutoInit
- Grid
- ItemSelector
- JSLink
- Panel
- SimpleTab
- SingleSelectCombo
- TreeView
- all
- all_css
- all_debug
- autogrid_debug_js
- autogrid_js
- base
- core
- core_debug
- extensions
- gray_theme
- grid
- locale
- multiselect
- multiselect_js
- panel
- singleselectcombo
- spotlight_js
- tabs
- treeview
On Nov 12, 2:12 pm, Christoph Zwerschke <[email protected]> wrote:
> Shane wrote:
> > I am trying to use the autocomplete widget as outlined in the cookbook
> > here:
> >http://turbogears.org/2.0/docs/main/ToscaWidgets/Cookbook/AutoComplet...
>
> > I'm using:
> > FireFox 3.5.5
> > TG2.0
> > tw.jquery 0.9.5
>
> I checked this example with tw.jquery 0.9.5 and the current tw.jquery
> trunk, and both work fine for me.
>
> Maybe you need to update TG to the latest 2.0.x bugfix, or you need to
> update ToscaWidgets.
>
> Note that instead of pylons.c you should use tg.tmpl_context.
>
> -- Christoph
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---