I am using 

>
> form.element(_id='table_field')['_style']='background-image: 
> url("../static/css/img/ios-linen.jpg"); background-repeat: repeat-x 
> repeat-y;'
>
>
as 

    form = SQLFORM(db.maint_dept_task)
    
form.element(_id='db.maint_dept_task.description')['_style']='background-image: 
url("../static/images/logo.png"); background-repeat: repeat-x repeat-y;'


 but I got the error

<type 'exceptions.TypeError'>('NoneType' object does not support item 
assignment) 


What did i do wrong?

-- 



Reply via email to