Re: Uninitialized GFForm in Designer new-wizard - Re: Creating GFD files

Reinhard Mueller <[email protected]> Wed, 04 May 2011 09:03:20 +0200
Newsgroups gmane.comp.gnu.enterprise.devel
Organization GNU Enterprise
Message-ID <1304492600.1819.6.camel@dublin>
--===============9133532454815180866==
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-HOG3ERAlw+CltP9ZyP7F"


--=-HOG3ERAlw+CltP9ZyP7F
Content-Type: text/plain; charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable

Hi, Randall!

Am Dienstag, den 03.05.2011, 17:46 -0700 schrieb Randall Whitman:
> GFForm.GFForm() returns <uninitialized object> in
> FormDocument.loadEmpty, whereas we expect <gnue.forms.GFForm.GFForm
> instance>.

All object available in trigger namespace (including GFForm) return the
name of the object within the trigger namespace on repr(), like "form"
or "blk_foo.fld_bar". Before the trigger namespace is initialized, they
return "<uninitialized object>". So this behaviour is ok.

You can have a look at common.logic.GTriggerCore where this is defined.

Thanks,
Reinhard

--=-HOG3ERAlw+CltP9ZyP7F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Dies ist ein digital signierter Nachrichtenteil

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iJwEAAECAAYFAk3A+jcACgkQKm/Tcod8puM5zwQAlZ4ag/ARG5QUlbJvXEpQ64pt
rvXrFUbzTEoI4pp6+aYnKiGf6xrOMgT75/bC/rshZQeCzjk/zxbz8KGACH6IxGl2
F8XVaHX2rNyMsbOfiP8ksCGdTVHn/8kIIKCM+3u5W6KVxj5ynKF0rrmdqn5TWAkF
/l6hvGrHXBWuVIhAX2g=
=RZZs
-----END PGP SIGNATURE-----

--=-HOG3ERAlw+CltP9ZyP7F--



--===============9133532454815180866==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gnue-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnue-dev

--===============9133532454815180866==--