Hi,
I'm a bit lost within the Context and Resource space ;-)
I'd like to retrieve the files attached to a Wiki page, based on the
name of the page.
I need to obtain the list of attached files, then the content of one
of these files - from a plugin.
I'm not sure to understand which "context" the AttachementModule
expects as the argument of attachment_data() for example.
I guess I should use "WikiPage('name')" to retrieve the proper
WikiPage instance, but from there, I'm not sure what to do to provide
a "context".
The attachment retrieval should not be tied to a web request for my needs.
Thanks,
Manu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Development" 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/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---