Hi,
I'm trying to use selectShuttle in turboGears 1.0.7
and I have 2 problems:
-The right-hand side column doesn't show up.
-How do I pass an argument to add_link?
Thanks for any help.
Claude
In controllers.py I have:
kwds_form = selectshuttle.SelectShuttle(
name = 'Keywords',
title_available = _(u'Available keywords'),
title_selected = _(u'Selected keywords'),
#available_options = [(i, "Option %d"%i) for i in xrange(5)],
available_options = getKeywords(),
default = dict(selected=[(i, "Option %d"%i) for i in xrange(3)]),
add_text = _(u'New keyword'),
add_link = "/createkwd"
)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---