| Summary: | BrowserFunction lost after URL changes | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Flavio Donze <flavio.donze> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | tbuschto | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 1.4 M7 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Flavio Donze
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. |