I just wanted to let you know that I'm not ignoring your issue. I just
haven't had time to dig into out and figure it out.

In the meantime is there any chance you can post the code somewhere so I can
read it and see if I can figure it out?
On Mar 11, 2011 4:34 PM, "erisian" <[email protected]> wrote:
> That worked, Michael. Well except for a typo in there. The actual
> attribute is:
>
> templating.genshi.method = xhtml
>
> Now I have a larger issue. Now that I've got the genshi templates
> working correctly I've noticed missing functionality in
> AdminController.
>
> I'm not sure why, but while admin will perform some "new" and "edit"
> functions, for some reason it won't list the instances of each class
> in the listing screen. Eg: I can select the "Genre" object, but it
> doesn't list my current Genres when I select it. I can however add a
> new Genre. I've hunted through the AdminController and tgext.crud
> code but its like a maze of indirection in there.
>
> "You're in a twisty little maze of passages, all alike."
> "You're in a little maze of twisty passages, all alike."
> ...
> etc
>
> Having said this, I did successfully perform the tgext.crud tutorial
> demo which correctly displays my movies and lets me edit them. It
> would be nice if I could get AdminController to work so I didn't have
> to write custom views, forms etc for all my classes.
>
>
>
> On Mar 9, 8:10 pm, Michael Pedersen <[email protected]> wrote:
>> The lack of submit button was likely tied to the xml error you saw. We're
>> working on the next release (along with approximately a million other
tasks
>> associated with our new server and migration from the old), but the next
>> release will fix this problem out of the box. In the meantime, you can
add
>> this line to your development.ini under [DEFAULT], and both of these
>> problems should go away:
>>
>> templating.genshi.mode = xhtml
>>
>>
>>
>> On Wed, Mar 9, 2011 at 6:22 PM, erisian <[email protected]> wrote:
>> > Just thought I'd mention this.
>>
>> > When I added simple movie/genre classes to the default model, TG 2.1
>> > exibited very strange behavior when using the admin mode.
>>
>> > When I logged in with the default manager/managepass credentials,
>> > "Admin" showed up as expected.  But when I tried to add a Movie two
>> > things happened:
>>
>> > 1. While there was a "Add Movie" button, when I selected it there was
>> > no button for submitting the movie I had just entered.
>> > 2. The Movie description text box was populated with strange xml
>> > markup rather than just being a blank text box.
>>
>> > Any ideas?
>>
>> > Thx
>>
>> > erisian
>>
>> > --
>> > 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.
>>
>> --
>> Michael J. Pedersen
>> My IM IDs: Jabber/[email protected], ICQ/103345809,
AIM/pedermj022171
>>           Yahoo/pedermj2002, MSN/[email protected]
>
> --
> 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.
>

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