If I understand your question correctly, you are trying to get a table 
entry as an href .  If it is still an issue for you, the following worked 
for me:

1) from genshi import XML
2) use __add_fields__ to add a field
3) define the added field function to return XML('<a href="%s">Link</a>' % 
url)


On Monday, May 21, 2012 9:01:08 AM UTC-7, Bob Tanner wrote:
>
> Changed the code to try a dictionary. 
>
> class PlotboxTable(TableBase): 
>     __model__ = Plotbox 
>     __omit_fields__ = ['plotbox_id', 'password', 'netmask', 
> '__actions__'] 
>     __add_fields__ = {'config_zip_url':None} 
>     #__xml_fields__ = ['config_zip_url'] 
>     __xml_fields__ = {'config_zip_url':None} 
>
> It is still escaping the config_zip_url. 
>
>
> On May 20, 7:48 am, Alessandro Molina <[email protected]> 
> wrote: 
> > If I'm not wrong xml_fields has to be a dictionary even thought the 
> > value is not used. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/turbogears/-/gALd4w7kDwwJ.
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