If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!


  • 0
    craxsnet  12 years ago

    ERROR

    
        sel = SELECT(*opts, _parent_id=parent_id, **attr)
                                     ^
    SyntaxError: invalid syntax
    replies (4)
    • craxsnet 12 years ago

      its works, thank you

    • craxsnet 12 years ago

      ok , i try it and give you my feedbak, thanks.

    • segmentation-fault 12 years ago

      Hi, can't reproduce this error. To be honest I can't see what is wrong with syntax here? Someone has the same error? Try to replace this line with following two: attr["_parent_id"] = parent_id sel = SELECT(*opts, **attr) Please give me feedback if it helped or not. Thanks.

    • craxsnet 12 years ago

      in line 295

Commented on:

Yet another dropdown chain (cascade) widget with select-or-add-new links capability. Note: Now is working with web2py 2.2.1

Hosting graciously provided by:
Python Anywhere