Delphi for PHP does not always include qx.js, it depends on the controls on
the form. If you have a form that only has an edit box on it, then qx.js is
not included. And if you then try to create a qx control via code, you will
get this error. This is why I asked all the questions, I wanted to get a
better idea of what he was trying to do. The only time I have every received
that error is when I was trying to do things in code without having a
qooxdoo control on the visual form. If this is his scenario, just drop a
Window on the form and set the visibility to hidden. This will force
qx.jstro be loaded and manual code should then work correctly.
Jim Hunter
D4PHP.ORG
On 3/28/07, dperez <[EMAIL PROTECTED]> wrote:
It looks like qx.js isn't included, or the script has some syntax error.
David M-10 wrote:
>
> I'm using the new Delphi 4 PHP in trial mode.
>
> When I run a simple data access app in FF (with FireBug) I get the
> following 3 errors
>
> qx is not defined
> [Break on this error] var d = qx.ui.core.ClientDocument.getInstance();
> unit4.php (line 30)
> qx is not defined
> [Break on this error] undefined
> unit4.php (line 20)
> qx is not defined
> [Break on this error]
> qx.log.Logger.ROOT_LOGGER.setMinLevel(qx.log.Logger.LEVEL_FATAL);
>
> Does anyone know what could cause this.
> (unit4.php is my D4PHP emiited code)
>
> Thanks
>
> D
>
> P.S.
> I have had a similar problem before with qx code (not using D4PHP) and
> clearing the browser cache has always fixed it. It doesn't work this
> time though.
>
--
View this message in context:
http://www.nabble.com/qx-is-not-defined-tf3477192.html#a9708418
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel