On Oct 9, 2006, at 12:29 PM, gasolin wrote:

>
> Alberto Valverde wrote:
>> On Oct 9, 2006, at 4:12 AM, Olli Wang wrote:
>>
>>>
>>> so why Karl Guertin said I can use widgets just fine at above
>>> thread? I
>>> really want to know when genshi will replace kid in TG. or maybe
>>> someone could tell me how to help you to replace kid in SVN?
>>
>> FYI, since rev. 1875 the trunk supports widgets in Genshi (or any
>> other template language supported by TG) and mixing them freely (or
>> at least it *should* ;) Please drop a ticket if it doesn't...)
>>
>> Alberto
>
> Current published genshi 0.3.x didn't support txt template(I tried the
> template sample),
> but the developer said they did support txt template in svn (so at the
> time tg 1.1 released, genshi txt template will be available).

What do you mean by "txt template"? If you're referring to inlined  
templates defined inside a widget class (or passed as a parameter to  
the ctor.) then they're supported since Genshi's rev. 286 and in the  
0.3.1 I get when easy_installing.

>
> I thought if we did support build widget with genshi,
> the next important thing is "make docs for it" (or make testsuite for
> it).

Probably not as extensive as a full test suite but there are actually  
2 tests implemented in test_widgets.py (http://trac.turbogears.org/ 
turbogears/browser/trunk/turbogears/widgets/tests/ 
test_widgets.py#L572). Both pass with Genshi 0.3.1

I agree that some docs would be nice, however, I strongly believe  
there are other things that should be documented before than an  
experimental patch to the trunk.

There was a discussion regarding the patches at the trunk ML a couple  
of months ago if it serves as "documentation"

Alberto


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

Reply via email to