Re: [web2py] Re: search results returned by SQLFORM.grid in loaded component {{=LOAD( ....

2016-06-17 Thread Al Ex
Thank you. Formname was already assigned.
Yes I need to show the code, I will simplify it a little, at the moment it
does not look so nice to read, maybe during this process the bug will also
show up ;-)

-- 
Al Ex

From: Anthony <abasta...@gmail.com> <abasta...@gmail.com>
Reply: web2py@googlegroups.com <web2py@googlegroups.com>
<web2py@googlegroups.com>
Date: June 17, 2016 at 10:28:39 PM
To: web2py-users <web2py@googlegroups.com> <web2py@googlegroups.com>
Subject:  [web2py] Re: search results returned by SQLFORM.grid in loaded
component {{=LOAD( 

The first place I would look is your code, which you have not shown. ;-)

On Friday, June 17, 2016 at 4:02:59 PM UTC-4, alex wrote:
>
> In a index.html view I load a component "test.load" containing an
> SQLFORM.grid with searchable=True.
> When I perform a search, the results do not appear inside the index.html
> any more.
> A new page "test.load” opens with the results.
>
> For sure I am doing something wrong, or I am missing something, because if
> I reproduce the above in an fresh app generated with the admin app wizard,
> the results are correctly found in the component "test.load" in index.html.
>
> I cannot find the bug though. Is there any place you would look for it at
> first?
>
> Thank you
>
> --
> Alex
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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/d/optout.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.


[web2py] Re: search results returned by SQLFORM.grid in loaded component {{=LOAD( ....

2016-06-17 Thread Anthony
The first place I would look is your code, which you have not shown. ;-)

On Friday, June 17, 2016 at 4:02:59 PM UTC-4, alex wrote:
>
> In a index.html view I load a component "test.load" containing an 
> SQLFORM.grid with searchable=True. 
> When I perform a search, the results do not appear inside the index.html 
> any more. 
> A new page "test.load” opens with the results. 
>
> For sure I am doing something wrong, or I am missing something, because if 
> I reproduce the above in an fresh app generated with the admin app wizard, 
> the results are correctly found in the component "test.load" in index.html. 
>
> I cannot find the bug though. Is there any place you would look for it at 
> first?
>
> Thank you
>
> -- 
> Alex
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.


[web2py] Re: search results returned by SQLFORM.grid in loaded component {{=LOAD( ....

2016-06-17 Thread Ron Chatterjee
Try to stick a formname in the grid.

formname='something'

See if it works.

On Friday, June 17, 2016 at 4:02:59 PM UTC-4, alex wrote:
>
> In a index.html view I load a component "test.load" containing an 
> SQLFORM.grid with searchable=True. 
> When I perform a search, the results do not appear inside the index.html 
> any more. 
> A new page "test.load” opens with the results. 
>
> For sure I am doing something wrong, or I am missing something, because if 
> I reproduce the above in an fresh app generated with the admin app wizard, 
> the results are correctly found in the component "test.load" in index.html. 
>
> I cannot find the bug though. Is there any place you would look for it at 
> first?
>
> Thank you
>
> -- 
> Alex
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.