On Fri, May 29, 2009 at 11:31 AM, eri x <[email protected]> wrote:
> Hi, i am creating a template for a plugin but i have a problem, in the
> template i created a select menu which visualize some information and it
> works correctly,
> now the problem is that i don't know how to read the selected value and put
> it in  a variable using python, i need it in python because there are other
> funtions in python inside the html file that use this variable.
>
>     <select name='select_ticket'>
>         <option value="default">deafult workflow</option>
>         <option py:for="nomi in template.ticket_types" value="${nomi}">
> ${nomi} workflow</option>
>     </select>
>
> Regards Ermal

When you submit a form, the values for all the form fields are in
req.args, which is a dictionary-like object.

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

Reply via email to