I am wondering about that. mmm
On 11/03/2011 10:53 PM, apple wrote:
My mistake. I tend to redirect because I need some extra processing
but grid does actually produce a basic edit form. If you do use the
grid generated form then the submit should work as normal though. You
should check where it
First thank you for the help, its really appreciated.
Well, I create setup's for deployments of systems. :)
My goal is:
1) To have a view that does not show the id's but the names of the joins
2) To be able to add a new record preferable with as defaults the same
lvsize_id, and storagemap_id an
Mike
If you post some of the details of your app I'm happy to look at it.
I'm using SQLFORM.smartgrid extensively and it is working really well
for me.
-Jim
On 11/2/2011 10:47 PM, Mike Veltman wrote:
Now I am even more confused :)
Sorry for being a nagging person.
Why does SQLFO
My mistake. I tend to redirect because I need some extra processing
but grid does actually produce a basic edit form. If you do use the
grid generated form then the submit should work as normal though. You
should check where it is failing - e.g. when you press submit is it
actually calling the cont
Now I am even more confused :)
Sorry for being a nagging person.
Why does SQLFORM.grid display the name (as I want) in the setupid column, but
not display the name on Size ID or hostgroup. ?
Id
Setup ID
Size ID
Lun ID
Host Group
1
AN10 on frame 520-1
2
2
7
ViewEditDelete
2
AN10 on frame 52
Now I think of it, you do not need to do a redirect because it creates its own
page based on the called page.
Its just that the submit does not do anything.
> SQLFORM.grid does not actually add the records automatically. It just
> calls the grid controller with args action/table.
>
> You have
Actually that makes a lot of sense. It got caught of guard because edit does
do it.
But with this you also answered my other question, how to change the default
values in edit. :-)
Thanks !
> SQLFORM.grid does not actually add the records automatically. It just
> calls the grid controller wit
SQLFORM.grid does not actually add the records automatically. It just
calls the grid controller with args action/table.
You have to do something like:
if request.args(0) in ("edit", "new"):
redirect(URL("edit.html", args=[request.args(1),
request.args(2)])
On Nov 2, 9:15 am, Mike Velt
8 matches
Mail list logo