On Fri, Sep 26, 2008 at 12:05 PM, cigu <[EMAIL PROTECTED]> wrote:
>
> Dear all, I'm new with Trac 0.11.1 and I'm not able to add some check
> when users press "Create Ticket" in the "New Ticket" page. In
> particular, I've added one custom ticket and I would check that the
> selected value of the custom ticket is consistent with the selected
> component, otherwise the new ticket cannot be accepted and a warning
> should be displayed. Can someone please help me to understand what has
> to be done to implement this check?
> Thank you in advance,
> Regards,
> Cigu
>

I'm not completely clear on what it is you're trying to do, but it
sounds like some custom ticket validation rules.  In which case your
best course of action is to do it through a plugin, probably one that
implements the ITicketManipulator interface.  See
http://trac.edgewall.org/wiki/TracDev/PluginDevelopment as a starting
point.

Sounds simple enough but I'm still not entirely clear what you want to
do--that is, what do you mean by "consistent with the selected
component"?

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