I printed the request.vars to the console, and this is what I got after 
form submission:
<Storage {'_formkey': '7c32617c-2136-4d8d-ad54-ea7ae454e551', '_formname': 
'song/create', 'title': 'Thriller'}>

So the star rating is definitely not making its way back to the server. 
 I'm guessing it should look like the following:
<Storage {'rating': '5', '_formkey': 
'7c32617c-2136-4d8d-ad54-ea7ae454e551', '_formname': 'song/create', 
'title': 'Thriller'}>

Please help :)

Thanks,
Michael Gheith


On Friday, February 8, 2013 4:52:19 PM UTC-6, Michael Gheith wrote:
>
> Hello web2py community :)
>
> I'm trying to implement a simple star rating for my site.  I followed the 
> steps in the web2py Application Development Cookbook, but it is not working 
> unfortunately; I select 2 stars for example, but it's not being saved to 
> the database.
>
> I have taken a look at the star rating widget in plugin_wiki, and could 
> not get that to work either!
>
> Can any of you provide me with a .w2p of something that works?
>
>
> Hope to hear from any of you soon, thanks in advance!
> Michael Joseph Gheith
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to