PDA

View Full Version : Link using LzBrowser.LoadURL


hellonico
06-15-2005, 05:27 PM
Hi,

There, using Lazlo to developp an animated menu:

Using this code:
<method event="onclick">LzBrowser.LoadURL(target, 'mgnlAdminCentral_ExtractTreeIFrame')</method>

to open a link in a frame in the same window as the lazlo object.
The link is an attribute of a class and is referenced here as 'target' without the quotes.

Problem I have is:
1-When I load the menu in the Lazlo debugger, it works fine, and actually refresh the proper frame in another window.
2-If I put the movie on the page of my webapp, it just won't load the proper page, and keep opening the http://www.openlazlo page in a new window (not even in the proper frame)

Any body knows why my code is bypassed ?

Any help is mo---re than welcome.

hellonico
06-15-2005, 06:02 PM
The lazlo applet was simply cached on the server side.

Sorry. Working fine.

ankitrastogi
02-27-2006, 10:13 AM
Hi,

I am trying to append 2 parameters separated by & in the url i create for LzBroser.loadURL().
But it seems & is creating some problem in same.

e.g

<code>

var url=
"../../../LoginServlet?login="+user+"&password="+pass+"";
Debug.write("url is" ,url);
LzBrowser.loadURL(url);

</code>

The error I get in browser is :

The reference to entity "password" must end with the ';' delimiter. Look for a misplaced or unescaped

Is there any way to solve this.

Regards,
Ankit.