Fast cure:

1. Use interpreter

>>> from turbogears.widgets import *
>>> Form = JumpMenu('Main Menu',options = [
        ('/createNewBatch', 'Create New Batch'),])
>>> Form.render()
'<select class="jumpmenu" onchange="TG_jumpMenu(\'parent\',this,0)"
id="Main Menu" name="Main Menu">\n            <option value="/
createNewBatch">Create New Batch</option>\n    </select>'
>>>


2. try if the widget render correctly (use render() or display())

@expose()
def .....
      mainMenuForm = widgets.JumpMenu('Main Menu',
                                                        options = [
                                                              ('/
createNewBatch', 'Create New Batch'),
                                                                      ]
                                                        )
      return mainMenuForm.render()


3. if both not work for you, it might be the widget problem, throw a
ticket :-)



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to