[Laszlo-dev] SOLO history problems
Max Carlson
max at laszlosystems.com
Wed Oct 26 03:52:37 PDT 2005
Hi Candide,
The SOLO deployment feature should bundle all necessary resources to
make the history feature work. The application root is specified in the
string passed in to lzHistEmbed('/lps-3.0'). This is necessary because
the history feature needs to know the relative URL to load required
resources. By default, it expects these resources to be inside
'lps/includes/' relative to the application root. Please make sure
these files are present relative to '/lps-3.0' and make sure the HTML
wrapper includes the proper paths.
Let me know if you're still having problems!
Regards,
Max Carlson
OpenLaszlo
Candide Kemmler wrote:
> Hi,
>
> I'm trying to get the history working on a SOLO app. Everything works
> when the compiled swf is deployed on the tomcat server where openlaszlo
> resides (at /lps-3.0). When I try to deploy it on Apache, my "history
> features" (calling laszlo from javascript) don't work anymore.
>
> Note that I cannot use the 3.1 version of OpenLaszlo, as extensive
> testing has been done on my 3.0 developments. Note that I've tested the
> SOLO deployment of the 3.1 version just to see how things were generated.
>
> There's one line of the generated script that confuses me a lot, and it
> happens (after numerous tests) that it is apparently also the faulty bit
> of the broken mecanism:
>
> lzHistEmbed('/lps-3.0');
>
> This is generated by the 3.1 SOLO deployment tool verbatim, and was
> already required in SOLO 3.0 deployment. Could someone please explain to
> me why an path to the base lps directory has to be specified here? I
> thought the 3.1 SOLO deployment tool was meant to bundle all
> dependencies, so why is this still present?
>
> Thanks in advance,
>
> Candide
>
> --
> Candide Kemmler
> 3 rue du Bailli - 1000 Bruxelles
> mobile:+32485067980
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
More information about the Laszlo-dev
mailing list