Hi Patrick,

Thanks a lot for the suggestion. My things now work, however with a
trick, described below. But I don't think it's a right way! Suggestions
would help again.

My need was

1. I shall store all kind of documents and images in a database column.
2. Whenever a corrsponding url is clicked, the user would get download
dialog box.
3. If a url is referred in an <img>, the image would be displayed.

I am using @turbogears.expose(content_type="application/xyz")
literally, and things are working as needed!

thanks
sanjay


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