Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

SmartGWT widgets don't work with EMC Documentum Webtop

$
0
0
Hi,
We are using: smartgwtee-4.0p, IE - 9.0.8112.16421, GWT-2.5.1, EMC Documentum Webtop - 6.7.0060.0244
I create GWT module in application on webtop. When i used gwt widget (ex. Label), it is displayed. When i used SmartGWT widget, it's not work.
What could be a reason?

coord_list_gwt.jsp
<html>
<head>
</head>
<body>
<script type="text/javascript" language="javascript"
src="<%=request.getContextPath()%>/CoordListComponent/CoordListComponent.nocache.js"></script>
<dmf:form>
<div id='coord_list_container'>
</div>
</dmf:form>
</body>
</html>

CoordListComponent.gwt.xml
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.0//EN"
"http://google-web-toolkit.googlecode.com/svn/releases/2.0/distro-source/core/src/gwt-module.dtd">
<module rename-to='CoordListComponent'>

<!--<inherits name='com.google.gwt.user.User'/>-->
<!--<inherits name='com.google.common.base.Base'/>-->
<!--<inherits name='com.google.common.collect.Collect'/>-->
<!--<inherits name='com.google.gwt.user.theme.standard.Standard'/>-->
<!--<inherits name="com.google.gwt.i18n.I18N"/>-->

<inherits name="com.smartgwt.tools.SmartGwtTools"/>
<inherits name="com.smartgwtee.tools.Tools"/>
<inherits name="com.smartgwtee.SmartGwtEE"/>

<entry-point class='ru.my.gwt.coordsheet.client.CoordListCompon ent'/>
<source path='client'/>

</module>

CoordListComponent.java
package ru.my.gwt.coordsheet.client;

import com.google.gwt.core.client.EntryPoint;

//import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;
//import com.smartgwt.client.widgets.Label;

public class CoordListComponent implements EntryPoint {

Label label = new Label("test");

@Override
public void onModuleLoad() {

//noinspection GwtToHtmlReferences
RootPanel.get("coord_list_container").add(label);
}
}

Viewing all articles
Browse latest Browse all 4756

Trending Articles