Community
Participate
Working Groups
Build Identifier: 1.3.1.20100915-2301 After you change the URL of the bowser, ether through browser.setUrl() or in a link of the HTML itself, the BrowserFunction is not available anymore. Reproducible: Always
Created attachment 192796 [details] Manipulated Demo org.eclipse.rap.demo.DemoBrowserViewPart resources/test1.html resources/test2.html plugin.xml (added test1 and test2 as org.eclipse.equinox.http.registry.resources)
Hit "TEST": works (returns null and system out) Hit "GOTO Test2" in the Browser and there "TEST": fails Hit the button "goto Test2" and there "TEST: fails
Flavio, we did a lot of changes related to Browser and BrowserFunction in 1.4. Now, we are registering BrowserFucntions on Browser onLoad event. Just test it with CVS HEAD and BrowserFuction is re-registered if you change the URL from the server side (click on the Button). After clicking on the link in the HTML page the onLoad event is not fired and browser function is not re-registered - we need to investigate this.
Just for the record, yes the "Button Test" worked using RAP 1.4.0.20110315-1602.
Fixed in CVS HEAD The browser-functions are now re-created on every dom-level load event.