Yes you are right I am planning to access the selected users from a form and send them to submit button action to delete the users by implementing the function of delete users in the controller. So I am unable to access the multiple selected users from the form template to the action controller. Can you help me how to pass a list of users from the form template to the controller action.
On Mon, Jul 13, 2009 at 4:23 AM, afrotypa<[email protected]> wrote: > > So are you trying to access the multiple selected values from a form > submission inside the submit action of your controller? This sounds > like what you are asking (or at least a part of it). Please clarify > your question. Setting global variables in the template for this > purpose likely will not work. > > On Jul 13, 3:56 am, kumar <[email protected]> wrote: >> I tried to pass variables between templates and controllers by using >> global. But when I set the globals in template the function that is >> supposed to be work doesn't work. So i am unable to set the global >> variable in template. The thing is actually I want to implement the >> delete users function from the user table displayed on the web portal. >> it is working fine for one user. But when I select multiple users i >> need to pass the selected users list to the controller and implement >> the delete user function. I am struck here can anyone help me out. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
