f***@gmail.com
2017-01-05 13:50:18 UTC
Hi trac-gurus!
I am working on a small plugin:
1. I want to list certain tickets and display some of their fields. For
that purpose I created a WikiMacro - this works fine.
2. I also want to select certain of these tickets and perform a custom
action on them. So, my WikiMakro also emits a form and a checkbox (<input
type="checkbox" ...) for each ticket and I created another WikiMacro that
simply creates a button (<input type="submit" ... ). Finally, I implemented
an IRequestHandler that intercepts those requests that are created by
button presses. And now I have a problem!
Problem:
How can I access the checkboxes and their values emitted by my WikiMacro?
I already had a look into the TracFormsPlugins, but I think this plugin
explicitly stores the form elements in the DB. I would prefer to get all
the form elements that are part of the POST-request and filter those to
find the interesting elements.
Best regards,
Fabian Scheler
I am working on a small plugin:
1. I want to list certain tickets and display some of their fields. For
that purpose I created a WikiMacro - this works fine.
2. I also want to select certain of these tickets and perform a custom
action on them. So, my WikiMakro also emits a form and a checkbox (<input
type="checkbox" ...) for each ticket and I created another WikiMacro that
simply creates a button (<input type="submit" ... ). Finally, I implemented
an IRequestHandler that intercepts those requests that are created by
button presses. And now I have a problem!
Problem:
How can I access the checkboxes and their values emitted by my WikiMacro?
I already had a look into the TracFormsPlugins, but I think this plugin
explicitly stores the form elements in the DB. I would prefer to get all
the form elements that are part of the POST-request and filter those to
find the interesting elements.
Best regards,
Fabian Scheler
--
You received this message because you are subscribed to the Google Groups "Trac Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-dev+***@googlegroups.com.
To post to this group, send email to trac-***@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-dev.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Trac Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-dev+***@googlegroups.com.
To post to this group, send email to trac-***@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-dev.
For more options, visit https://groups.google.com/d/optout.