Hi,
I have a question that is somewhat similar to this one (which was never answered):
http://stackoverflow.com/questions/989328/gwt-mark-of-the-web-motw
I have an Online Help package built using javascript/HTML. Other teams in my company make use of this package in their apps, swapping in the content they need. One team in particular is launching the Help package using SWT. All of my HTML files contain a Mark of the Web tag, namely <!-- saved from url=(0014)about:internet -->
These tags work fine in all other situations, but when launching the help system with SWT as this team is doing, these tags do not allow the help system to open -- the page just comes up blank. Running the help package standalone on their server works just fine.
I'm certain the way to deal with this is the Java coders need to add MOTW tags to their code, but I can't seem to find any concrete examples on where and how to do that, nor do the programmers themselves know.
Any hints would be appreciated.
Here is the relevant Java code used to launch the Help system in case that helps --
Shell shell = new Shell(parent, SWT.SHELL_TRIM);
shell.setText("CLM Help");
shell.setLayout(new FillLayout());
try {
_browser = new Browser(shell, SWT.NONE);
} catch (Exception ex) {
......
}
shell.pack();
shell.setSize(700, 500);
shell.setVisible(true);
shell.setFocus();
_browser.setUrl(url);