04-15-2009 05:12 PM
BBDeveloper, I've been trying to do the same thing and your sample code works great. Thanks.
Is it possible to link from one local HTML file to another? If in foo.html I have a link like <a href="bar.html">bar</a>, the browser interprets that as "data://text/bar.html" and gives this error when you click on it: "A problem occurred while trying to render the page."
04-16-2009 06:10 AM
I tried, providing the Absolute path of other local html file from first local html file and it worked.
<a href="cod:///[Module Name]/BBDeveloper.html">Next page To COD</a>
PS: Tried using JDE 4.6on 9000 Simulator.
04-16-2009 10:12 AM - edited 04-16-2009 10:13 AM
The cod://... link works perfectly. Also, it eliminates the need to deal with InputStreams, DataBuffers, byte arrays, etc. I can now just load a local page directly in a BrowserSession:
Thank you very much, BBDeveloper. This was a huge help.