Unfortunately I'm not seeing what I expect to see. I want to retrieve
the list of objects

from the c.chosenList:

say the list is<2,4>

<INPUT TYPE="hidden" NAME="listitems" VALUE="${c.chosenList}" />

Within testController:

def test(self,id):
     locallist = request.params.get("listitems")
     for index,item in enumerate(locallist):
          print "%s",item

I was expecting it to obtain pass the original list and index through
through it. Instead I see the below
[
2
,
4
]

Its look each item is a single character?

How do you pass a context object containing a list of items to an html
page and preserve the list of objects within the context object to be
then
passed back to the controller? Is it possible?

I apologise in advance on any confusion on this.

Thanks,
Garyc









On Nov 9, 11:46 am, Jonathan Vanasco <[email protected]> wrote:
> <INPUT TYPE="hidden" NAME="listitems" VALUE="${c.chosenList"} />
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to