On Thursday 06 September 2007, Erik Andersson wrote:
> Hi
> 
> I'm trying to create a custom workflow.
> 
> I want an action reqmoreinfo which sets the state back to the previous state
> and defaults the user to assign it to, to the owner in the previous state.
> The ownership must still be selectable.
> 
> In trac.ini I have:
> 
> workflow = ConfigurableTicketWorkflow,ReqMoreInfoActionController
> 
> requestinfo_dev = dev -> new
> requestinfo_dev.default = 1
> requestinfo_dev.name = request more info from
> requestinfo_dev.operations = reqmoreinfo
> requestinfo_dev.permissions = TICKET_REQMOREINFO
> 
> With this I get a radiobutton with my action which is nice, but I also need
> an input field.. How do I do this? Can I overload set_owner somehow?
> 
> Please help! :-)

You'll probably need to make a custom plugin to provide a custom operation; 
look at the examples in the sample-plugins/workflow tree.

Eli

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to