#2354: Collection of documentation suggestions
---------------------------+------------------------------------------------
Reporter: kvdb | Owner:
Type: documentation | Status: new
Priority: normal | Milestone: 2.1
Component: TurboGears | Version: 2.1
Severity: normal | Keywords:
---------------------------+------------------------------------------------
As discussed with percious on IRC, I'll post anything that took me a long
time to figure out, and that I think is missing from the documentation.
Note that I don't criticize the docs, just trying to improve them a
little. Tell me if this is helpful and if I should continue adding things
to this ticket.
Topic "Scheme migration".
I was expecting to find out how to update my current database with any new
tables/changes that I defined in my model. In TG1, I had tg-admin sql
status/create. Where has that gone?
Topic "TGControllers"
I tried implementing the lookup chain. Like the document suggests, but one
level deeper.
Only the end of the chain may be of type object, all others in the chain
need to derive from BaseController, or any used tg.url()'s in the
templates won't get updated.
Maybe a link to a unittest testing a deeper chain?
Topic
"http://turbogears.org/2.0/docs/main/ToscaWidgets/Cookbook/AutoComplete.html"
After selecting an 'ingredient' from a tw.jquery.autocomplete input
element that I defined with a form as explained in the mentioned tutorial
I want to perform another jquery action. I want to get a piece of html
containing all recipes with that ingredient. I already exposed the HTML. I
just need to define the action. I did this with a custom jquery ajax()
call. Guess there is better way.
More on jquery.
Is there a widget that I can put in a form that just loads html from an
exposed method?
Anyway, the HTML that gets pulled in through an ajax() jquery call from my
last example is put into the DOM and doesn't need the full <html><body>...
headers tags. I never came across this simple observation in the
documentation. Noting this might be useful. This is the template format
that might be used:
<div xmlns:py="http://genshi.edgewall.org/">
this is all that is required to load me.
</div>
--
Ticket URL: <http://trac.turbogears.org/ticket/2354>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---