-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Roland Hedberg wrote: > On Nov 4, 2009, at 23:13, Tres Seaver wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Roland Hedberg wrote: >>> On Nov 4, 2009, at 10:17, Roland Hedberg wrote: >>> >>> In repoze.who.plugin.form the classs FormPlugin has an argument >>> formcallable. >>> The make_plugin function in the same file doesn't allow you access to >>> that argument. >> Yup, that's a bug. You could work around it by defining your own >> factory which called 'make_plugin' and then assigned the >> 'formcallable' >> attribute to the result. > > Which is what I did sort of. > >> I have checked in a fix for this, which will be available in the next >> release. > > So in a ini file how would I specify the formcallable, is it supposed > to be a plugin ? > I looks like just a callable function, but if so the module where it > resides has to be loaded somewhere and since that isn't done by the > form plugin, where is it?
I didn't actually try to configure it, and so missed this. The factory needs to "resolve" a dotted name for the callable. Look for another release today fixing this. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrzKrgACgkQ+gerLs4ltQ4VoQCfZglPX1gxfv7cHp3ZCtuy0F2S 6qUAoNM1r0WC+01vz6D/pBlbSx2yLq/m =pwRV -----END PGP SIGNATURE----- _______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev