At my company we have sets of tickets which are grouped as build requests for a particular version of our software. The details of these build requests are stored in a separate table in the trac database which I'm developing this plugin to display and allow for it to be manipulated so I need to get it from the database to the UI.
I got it to work by simply putting the file in my local area for now (clearly this won't work in the long run). However I'm now looking at using the xmlrpc plugin instead as this means I don't have to bother reading/writing to a file and the UI I'm using (kendo UI) can remotely access data in XML or JSON. Unfortunately I won't be able to publish the code to trac-hacks in the end as it will be copyrighted to the company and also due to the use of a separate custom table I don't see it being beneficial to many people! On Monday, 23 July 2012 09:01:56 UTC+1, RjOllos wrote: > > > On Wednesday, July 18, 2012 6:21:24 AM UTC-4, paul.wilding wrote: >> >> Thanks for the replies. I put the JSON file in htdocs as once it is >> written to it will be read from by a JQuery UI library that I am using (it >> needs to be stored in a file to allow for editing of the data). I see where >> you're coming from though so where would be best to put the file? > > > I'm not entirely sure what you are trying to do, but it sounds like it > might be similar to the AutcompleteUsersPlugin, which serves data to a > jQuery UI plugin through a `/subjects` page. > http://trac-hacks.org/wiki/AutocompleteUsersPlugin > > It sounds like you have it working though, so I'd be interested if you > have found a different or better way. What data are you trying to provide > to jQuery UI? Do you plan to publish your code eventually to Trac-hacks? > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/trac-users/-/hKMrHVbfp-QJ. 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-users?hl=en.
