Hello,

"selItems" is not the same as "selitems". Probably you have mixed the name
of the field that you are looking for in the forst row.

Valts.

On Mon, Sep 1, 2008 at 4:44 PM, Bobby Roberts <[EMAIL PROTECTED]> wrote:

>
>
> On Sep 1, 9:34 am, "Valts Mazurs" <[EMAIL PROTECTED]> wrote:
> > yourList = ['1','2','3','4']
> > stringForQuery = ','.join(yourList)
> >
> > Regards,
> > Valts.
>
>
> Thanks for the quick reply.  here's what I have:
>
> selchecks=ctx.request.field_value("selItems")
> myselchecks=','.join(selchecks)
> assert False, myselchecks   #print the value to the screen and stop
>
>
> This bit of code raises a key error as follows:
> KeyError: 'selItems'
>
>
> The value of selitems is ['1', '2', '3', '4', '5']
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to