[Laszlo-dev] is there a unique app id I can grab from the embed wrapper?
Max Carlson
max at laszlosystems.com
Sat Sep 19 16:45:13 PDT 2009
lz.Browser.getAppID() and canvas.id should contain the app ID passed in
at runtime. However, there's no guarantee it's unique. You could try
concatenating a timestamp or something like that...
Henry Minsky wrote:
> I noticed that I got faked out when trying to use our 'console remote
> debug' feature, when there was
> another app running, because each app tries to use the same name for
> it's LocalConnection. At one point I
> was going to have the app rendevous with it's debug console using an app
> unique ID, but had commented that code out.
>
> The wrapper from app-console.xslt has access to an app uid from the
> server, which it gets from
>
> <!-- we'll use the app name for now, to make it easier to point a
> remote debugger at it -->
> <xsl:param name="appuid"><xsl:value-of
> select="/*/request/@url"/></xsl:param>
>
> Is this appuid being passed into the app or lzembed someplace that I can
> get a hold of it?
>
>
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com <mailto:hminsky at laszlosystems.com>
>
>
--
Regards,
Max Carlson
OpenLaszlo.org
More information about the Laszlo-dev
mailing list