Workflow merge is planned for 0.11, so sometime after 0.10 is out the door.

The way to do this in a post-request handler (trunk-only) is roughly as follows:
{{{
#!python
my_field = 'custom_field'
def post_process_request(self, req, template, content_type):
        if req.path_info.startswith('/ticket'):
                key = 'ticket.%s.value'%my_field
                value = req.hdf[key]
                req.hdf[key] = wiki_to_html(value, self.env, req)
}}}

That was just freehand, but it should give you the basic idea.

On Jun 27, 2006, at 8:45 PM, Greg Dickie wrote:

Hi,

  Thanks for the response. Any idea when the workflow stuff will get
merged? Also not sure what you mean by post request handler, could you
elaborate?

thanks,
Greg

On Tue, 2006-06-27 at 20:13 -0400, Noah Kantrowitz wrote:
Not yet. This is trivial with the new workflow system, but until that
gets merged you can fake it with a clever post-request handler.

--Noah

On Jun 27, 2006, at 8:00 PM, Greg Dickie wrote:

Hi,

  Me again. Is there a neat way to apply WikiFormatting to custom
ticket
fields?

Thanks,
Greg

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac


_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac


_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to