Mailing List Archive

How to get the status of a ticket checkbox, to know which tickets are selected?
I'm creating a plugin, and I would like my plugin to only act on selected
tickets. I'm having trouble accessing the status of the checkbox. does
anybody have a suggestion on how to go about it?

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/aa445655-c227-4a80-880b-0282b4db8f7dn%40googlegroups.com.
Re: How to get the status of a ticket checkbox, to know which tickets are selected? [ In reply to ]
On Tue, May 4, 2021 at 2:27 PM Santiago Uribe <
santiago.uribe@digidescorp.com> wrote:

> I'm creating a plugin, and I would like my plugin to only act on selected
> tickets. I'm having trouble accessing the status of the checkbox. does
> anybody have a suggestion on how to go about it?
>

Depending on how you want your plugin to act, you'll need to get the
selected tickets using JavaScript or when a request is submitted using
IRequest Filter. What behavior are you implementing?

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CA%2BBGpn9tmrvwYz%3DO8w0Enyitk5S0D_EihKzvhya_%2BLXs20qznA%40mail.gmail.com.
Re: How to get the status of a ticket checkbox, to know which tickets are selected? [ In reply to ]
I will like to create an excel spreadsheet with only the selected tickets,
they are multiple plugins out there that will create an excel spreadsheet
but of all the tickets. I'm using python, but I couldn't find the trac
ticket name to access the checkbox. I'm not very familiar with javascript.

On Tuesday, May 4, 2021 at 1:31:08 PM UTC-5 RjOllos wrote:

> On Tue, May 4, 2021 at 2:27 PM Santiago Uribe <santiag...@digidescorp.com>
> wrote:
>
>> I'm creating a plugin, and I would like my plugin to only act on selected
>> tickets. I'm having trouble accessing the status of the checkbox. does
>> anybody have a suggestion on how to go about it?
>>
>
> Depending on how you want your plugin to act, you'll need to get the
> selected tickets using JavaScript or when a request is submitted using
> IRequest Filter. What behavior are you implementing?
>

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/c70a72c1-18b6-4478-8d04-f4b16d7fd413n%40googlegroups.com.
Re: How to get the status of a ticket checkbox, to know which tickets are selected? [ In reply to ]
I'm modifying the exceldownloadplugin to only act on the selected tickets.
how do I implement the irequestfilter to provide me with the selected
tickets?

On Tuesday, May 4, 2021 at 1:36:07 PM UTC-5 Santiago Uribe wrote:

> I will like to create an excel spreadsheet with only the selected tickets,
> they are multiple plugins out there that will create an excel spreadsheet
> but of all the tickets. I'm using python, but I couldn't find the trac
> ticket name to access the checkbox. I'm not very familiar with javascript.
>
> On Tuesday, May 4, 2021 at 1:31:08 PM UTC-5 RjOllos wrote:
>
>> On Tue, May 4, 2021 at 2:27 PM Santiago Uribe <santiag...@digidescorp.com>
>> wrote:
>>
>>> I'm creating a plugin, and I would like my plugin to only act on
>>> selected tickets. I'm having trouble accessing the status of the checkbox.
>>> does anybody have a suggestion on how to go about it?
>>>
>>
>> Depending on how you want your plugin to act, you'll need to get the
>> selected tickets using JavaScript or when a request is submitted using
>> IRequest Filter. What behavior are you implementing?
>>
>

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/1e2fec04-310c-47f6-92c5-dc8167548b02n%40googlegroups.com.