-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 29/04/2011 09:46, Vas a écrit :
> Also, how do you make a dialog to show when trying to add a new row?

Actually I don't use a dialog. In my template, I have:

function add(x) {
   location = 'new';
}

So the "new" function in my tg2 controller is called, which displays a
standard tw form, with validation, etc.


Thanks,
- -- 
Jean-Denis Girard

SysNux                  Systèmes  Linux  en Polynésie française
http://www.sysnux.pf/   Tél: +689 50 10 40 / GSM: +689 79 75 27
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk27imMACgkQuu7Rv+oOo/gWaQCdE52pvvcEXMQNvwNY5QRpxZ0V
JicAni0Znj7q8h7bhgbwtOmNQH9/aJfS
=OKox
-----END PGP SIGNATURE-----

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

Reply via email to