luvas2010 / rapyd-framework

Automatically exported from code.google.com/p/rapyd-framework
0 stars 0 forks source link

DataFilter - mistake in address #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I tested RapydDemo "DataGrid+DataFilter" I found mistake.

When address is
http://test.rapyd.com/filtered_grid/
and I press the "Reset" or "Search" it is not work. 
Show "404: Page Not Found".

When adsress is
http://test.rapyd.com/filtered_grid/index
it is all OK

Original issue reported on code.google.com by pva...@volny.cz on 16 Feb 2011 at 9:32

GoogleCodeExporter commented 9 years ago

Original comment by felice.ostuni on 16 Feb 2011 at 10:42

GoogleCodeExporter commented 9 years ago
Same here for the pagination.
But i think its rather working as intended than a bug.

Original comment by nico.kru...@gmail.com on 16 Feb 2011 at 10:54

GoogleCodeExporter commented 9 years ago
not exactly a bug as said nico, widgets should not be used in an index method 
or at least you should make links using explicit "index" segment (as in demo).

I tried in the past a way to detect (inside widgets) when $widget->build() is 
called inside an "index method" to ad (if missed) the index segment(in 
autobuilt links),  however it's not a solution because  some urls are built by 
hand (add_url for datagrid, back_url for dataedit  etc..)

so a consider fixed this defect for now

Original comment by felice.ostuni on 14 Jun 2011 at 5:51