Hi,

I'm wanting to display an SSL site seal which is a this bit of
Javascript:

<script language="JavaScript" src="https://seal.XRamp.com/seal.asp?
type=G"></script>

Normally, you just put this on your HTML page where you want it to
display and all is good.

I really want to display it in a Dialog, but first I wanted to make
sure it would work. This is my GWT code:

package com.mycompany.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.RootPanel;

public class Demo implements EntryPoint {
    public void onModuleLoad() {
        RootPanel rootPanel = RootPanel.get();
        String s = "<script language=\"JavaScript\" src=\"https://
seal.XRamp.com/seal.asp?type=G\"></script>";
        HTML html = new HTML(s);
        rootPanel.add(html);
    }
}

I'm not sure if this is the best/preferred way to include this (i.e.
as an HTML object), but when I try to compile this (from Eclipse, gwt-
linux-1.5.3, jdk1.6.0_10, Suse 11.0), it barfs with this error:

# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb8076520, pid=19786, tid=2813729680
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b12 mixed mode linux-x86)
# Problematic frame:
# C  [libpthread.so.0+0x7520]  pthread_mutex_lock+0x20
#
# An error report file with more information is saved as:
# /home/bryanb/workspace/Project3/hs_err_pid19786.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp

The log file mentioned has about 4 pages of register dumps and what
not.

Can anyone give me a clue as to what to do.

Thanks,

Bryan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to