My bad, please download again.

On Dec 15, 2:04 pm, Alexandre Andrade <[email protected]>
wrote:
> I get a error:
>
> Error traceback
>
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
> 9.
> 10.
> 11.
> 12.
> 13.
> 14.
>
> Traceback (most recent call last):
>   File "gluon/restricted.py", line 173, in restricted
>     exec ccode in environment
>   File "/home/web2py/applications/convenios/controllers/default.py"
> <https://www.hipercenter.com/admin/default/edit/convenios/controllers/...>,
> line 320, in <module>
>   File "gluon/globals.py", line 96, in <lambda>
>     self._caller = lambda f: f()
>   File "/home/web2py/applications/convenios/controllers/default.py"
> <https://www.hipercenter.com/admin/default/edit/convenios/controllers/...>,
> line 137, in custo
>     grid_pessoal=grid_pessoal() )
>   File "applications/convenios/modules/webgrid.py", line 380, in __call__
>     _row = self.header(self.fields)
>   File "applications/convenios/modules/webgrid.py", line 262, in header
>     self.update_filters(vars,filters)
> NameError: free variable 'filters' referenced before assignment in
> enclosing scope
>
> 2009/12/15 Alexandre Andrade <[email protected]>
>
>
>
>
>
> > I had put a workaround in comments at
> >http://www.web2pyslices.com/main/slices/take_slice/39, and now I see you
> > updated it.
>
> > Thanks
>
> > 2009/12/15 mr.freeze <[email protected]>
>
> > Fixed!
>
> >> On Dec 15, 1:43 pm, "mr.freeze" <[email protected]> wrote:
> >> > Looks like filters and paging aren't working together. I should have
> >> > it fixed soon.
>
> >> > On Dec 15, 1:32 pm, "mr.freeze" <[email protected]> wrote:
>
> >> > > If your datasource is not a join:
> >> > > grid.edit_link = lambda row: A('edit', _href=self.crud.url(f='custo',
> >> > >                                                        args=
> >> > > [request.args(0), self.tablenames[0], row['id']]))
>
> >> > > If it is a join:
> >> > > grid.edit_link = lambda row: A('edit', _href=self.crud.url(f='custo',
> >> > >                                                        args=
> >> > > [request.args(0), self.tablenames[0],
> >> > >                                                              row
> >> > > [self.tablenames[0]]['id']]))
>
> >> > > On Dec 15, 1:10 pm, Alexandre Andrade <[email protected]>
> >> > > wrote:
>
> >> > > > I need to personalize edit link to a custom page, where I use
> >> request.arg(0)
>
> >> > > >http://localhost/default/custo/11
>
> >> > > > but i need to know what form to use and the id of row. The link
> >> would be
> >> > > > like:
>
> >> > > >http://localhost/default/custo/11/custo_pessoal/12
>
> >> > > > how personalize it in
>
> >> > > > grid.edit_link = lambda row: ...
>
> >> > > > ???
>
> >> > > > Thanks in advance.
>
> >> > > > 2009/12/15 mr.freeze <[email protected]>
>
> >> > > > > This just added: column filtering!  You can now set filters per
> >> > > > > column. This will render dropdowns of all of the possible values
> >> for
> >> > > > > your field. The slice has been updated with screenshot and usages
> >> > > > > instructions.
>
> >> > > > > On Dec 12, 7:32 am, villas <[email protected]> wrote:
> >> > > > > > On Dec 11, 10:13 pm, "mr.freeze" <[email protected]> wrote:
>
> >> > > > > > > Just added: multiple grids per page is supported now!
>
> >> > > > > > Very useful. Thanks for your further explanations too.
> >> > > > > > -David
>
> >> > > > > --
>
> >> > > > > You received this message because you are subscribed to the Google
> >> Groups> > "web2py-users" group.> To post to this 
> >> group,>>[email protected].> > To unsubscribe from this 
> >> group,>> send email 
> >> to>[email protected]<web2py%[email protected]>>>
> >>  
> >> <web2py%[email protected]<web2py%[email protected]>
>
> >> > > > > .
> >> > > > > For more options, visit this group at
> >> > > > >http://groups.google.com/group/web2py?hl=en.
>
> >> > > > --
> >> > > > Atenciosamente
>
> >> > > > --
> >> > > > =========================
> >> > > > Alexandre Andrade
> >> > > > Hipercenter.com
>
> >> --
>
> >> You received this message because you are subscribed to the Google Groups
> >> "web2py-users" group.>> To post to this group, send email 
> >> [email protected].
> >> To unsubscribe from this group, send email 
> >> to>>[email protected]<web2py%[email protected]>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/web2py?hl=en.
>
> > --
> > Atenciosamente
>
> > --
> > =========================
> > Alexandre Andrade
> > Hipercenter.com
>
> --
> Atenciosamente
>
> --
> =========================
> Alexandre Andrade
> Hipercenter.com

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en.


Reply via email to