Embed GWT app

2010-02-24 Thread vetal
Hi, all!

I develop some application on GWT, and want extend it functionality by
writing other GWT application (somethig like plugin).
I try embed plugin in parent application like that

public native void registerPlugin(String url) /*-{
  var elem = $doc.getElementById('plugin');
  var e = $doc.createElement(script);
  e.src = url;
  e.type=text/javascript;
  elem.appendChild(e);
}-*/;

My plugin must show simple alert :
public void onModuleLoad()
   {
  Window.alert(I AM PLUGIN!);
}
But then i try add plugin script in DOM, my browser is crash.

Can somebody help me with it and explain what i do wrong?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Problem with deploy gadget on iGoogle

2010-01-19 Thread vetal
Hi all!

I develop gadget on GWT and try deploy it on iGoogle.
My gadget call some REST service and during this calling i get Access
to restricted URI denied can some body help me to solve this problem.


Thanks.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




external source inherits

2009-08-10 Thread vetal

Hi, all!
Can any body help me with my issues? So my problem is i have some
service and now plane write client for this service in GWT. Service
and client must exchange messages in JSON format. In server side i had
framework for transformation JSON to JavaBeans and plain do something
like this in client side.

So my question is how i can use beans from server side if its not GWT
project and service don't have module file, what i must deascribe in
client module file for getting access to the server beans.

Thanks,
Vetal
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



where jetty home on HostedMode?

2009-07-22 Thread vetal

Hello!
Can any one told where locate Jetty home directory during running in
HostedMode?

Thanks,
vetal
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



external jar in GWT 1.6.x on HostedMode (jetty) not work

2009-07-21 Thread vetal

Hi all!
A need your help!
I have GWT application what work with service from external, then i
run in web mode all work fine!
But when i run in HostedMode i always get 404. I add this jar in
dependency and after running Jetty i see it in WEB-INF/lib but service
nit started, and i dont see any exception on console.
Any idea!!

Thanks,
vetal
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



GWT+Gadget+OpenSocial anybody has experience

2009-06-10 Thread vetal

Hi, all!
I develop gadget with GWT and google-gadget-api it's realy nice
technology, but now i want use OpenSocial lib for my gadget.
Anybody try do it, if yes plase help me for start or maybe you have
short example it will be great.   I will be glad of any help.

Thanks and best regards,
Vitaly.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: how to install gwt in ubuntu

2009-05-21 Thread vetal

Hi,
unpack http://google-web-toolkit.googlecode.com/files/gwt-linux-1.6.4.tar.bz2
and set GWT_HOME ( export GWT_HOME=/home/youname/gwt/gwt-
linux-1.6.4)

On May 21, 9:19 am, javatiger vijayabaskar1...@gmail.com wrote:
 i am newbee in ubuntu.. i already installed and worked gwt in windows
 now am trying to work in ubuntu.. so help to solve this solution..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Compiling permutations Analyzing permutation #1 error when I used smartgwt components inside a gwt project.

2009-05-16 Thread vetal

Hello!
What version of smartgwt you use?
I use smartgwt-1.0b2 and don't get error like you

On 16 май, 23:08, ayo...@gmail.com ayo...@gmail.com wrote:
 Hi, I trying to used smartgwt components inside an existing gwt
 project, but when I call a class that uses smartgwt components I get
 the following error:

 Compiling permutations
 Analyzing permutation #1
 [ERROR] Errors in jar:file:/C:/Users/projectRoute/trunk/lib/smartGwt/
 smartgwt.jar!/com/smartgwt/client/data/DataSource.java
 [ERROR] Line 973: Unresolvable native reference to method 'getJsObj'
 in type 'com.smartgwt.client.data.DSRequest'
 [ERROR] Line 1022: Unresolvable native reference to method 'getJsObj'
 in type 'com.smartgwt.client.data.DSResponse'
 [ERROR] Line 1022: Unresolvable native reference to method 'getJsObj'
 in type 'com.smartgwt.client.data.DSRequest'
 [ERROR] Line 1342: Unresolvable native reference to method 'getJsObj'
 in type 'com.smartgwt.client.data.Criteria'
 [ERROR] Line 1397: Unresolvable native reference to method 'getJsObj'
 in type 'com.smartgwt.client.data.Criteria'
 [ERROR] Line 1458: Unresolvable native reference to method 'getJsObj'
 in type 'com.smartgwt.client.data.Criteria'
 [ERROR] Line 1477: Unresolvable native reference to method 'getJsObj'
 in type 'com.smartgwt.client.data.Criteria'
 [ERROR] Line 1491: Unresolvable native reference to method 'getJsObj'
 in type 'com.smartgwt.client.data.Criteria'
 [ERROR] Line 1501: Unresolvable native reference to method 'getJsObj'
 in type 'com.smartgwt.client.data.Criteria'

 Some body can tell what can I do. Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Problem with 1.6.4 on HostedMode

2009-05-14 Thread vetal

Hi, again!
When i try change dependency to
dependency
   groupIdcom.google.gwt.google-apis/groupId
artifactIdgwt-gadgets/artifactId
 version1.0.3/version
   /dependency
I get other error without any staketrace

[ERROR] No gadget manifest found in ArtifactSet.
[ERROR] Failed to link

Any ideas, please!

Thanks,
Vitaly

On May 13, 11:19 pm, vetal vitaly.parfo...@gmail.com wrote:
 Hi, all!
 I have a problem with running my Gadget on GWTshell.
 Steps:
 1. I create new application
  mvn archetype:create -DarchetypeGroupId=com.totsp.gwt -
 DarchetypeArtifactId=maven-googlewebtoolkit2-archetype -
 DarchetypeVersion=1.0.4 -DgroupId=org.mycompany.gadgets -
 DartifactId=SimpleGadget
 2.  mvn clean gwt-maven:gwt
   All works fine i see GWT-Maven Archetype Project -
 org.mycompany.gadgets.SimpleGadget string in the Shell window
 3. Add dependency in the pom.xml
  dependency
   groupIdstuff/groupId
   artifactIdgwt-gadgets/artifactId
   versionno-ver/version
 /dependency
 4. Add in Application.gwt.xml
  inherits name=com.google.gwt.gadgets.Gadgets/
 5. Chahge EntryPoint to Gadget
 mvn clean gwt-maven:gwt
   All works fine i see GWT-Maven Archetype Project -
 org.mycompany.gadgets.SimpleGadget string in the Shell window
 6. When i change gwt version 1.5.3 -- 1.6.4. I get strange error and
 i can't understand this problem
 [ERROR] Failed to link
 java.lang.NullPointerException: null
        at
 com.google.gwt.gadgets.linker.GadgetLinker.emitSelectionScript
 (GadgetLinker.java:71)
        at
 com.google.gwt.core.ext.linker.impl.SelectionScriptLinker.link
 (SelectionScriptLinker.java:98)
        at com.google.gwt.gadgets.linker.GadgetLinker.link
 (GadgetLinker.java:
 55)
        at
 com.google.gwt.core.ext.linker.impl.StandardLinkerContext.invokeLink
 (StandardLinkerContext.java:328)
        at com.google.gwt.dev.HostedMode.link(HostedMode.java:456)
        at com.google.gwt.dev.HostedMode.doStartup(HostedMode.java:353)
        at com.google.gwt.dev.HostedModeBase.startUp
 (HostedModeBase.java:585)
        at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:
 397)
        at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

 After i try use gwt maven plugin from codehause but get the same
 result :(!
 ---
 Please, help me. I can't understand that the problem.

 Thanks.
 Vitaly!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Problem with 1.6.4 on HostedMode

2009-05-13 Thread vetal

Hi, all!
I have a problem with running my Gadget on GWTshell.
Steps:
1. I create new application
 mvn archetype:create -DarchetypeGroupId=com.totsp.gwt -
DarchetypeArtifactId=maven-googlewebtoolkit2-archetype -
DarchetypeVersion=1.0.4 -DgroupId=org.mycompany.gadgets -
DartifactId=SimpleGadget
2.  mvn clean gwt-maven:gwt
  All works fine i see GWT-Maven Archetype Project -
org.mycompany.gadgets.SimpleGadget string in the Shell window
3. Add dependency in the pom.xml
 dependency
  groupIdstuff/groupId
  artifactIdgwt-gadgets/artifactId
  versionno-ver/version
/dependency
4. Add in Application.gwt.xml
 inherits name=com.google.gwt.gadgets.Gadgets/
5. Chahge EntryPoint to Gadget
mvn clean gwt-maven:gwt
  All works fine i see GWT-Maven Archetype Project -
org.mycompany.gadgets.SimpleGadget string in the Shell window
6. When i change gwt version 1.5.3 -- 1.6.4. I get strange error and
i can't understand this problem
[ERROR] Failed to link
java.lang.NullPointerException: null
   at
com.google.gwt.gadgets.linker.GadgetLinker.emitSelectionScript
(GadgetLinker.java:71)
   at
com.google.gwt.core.ext.linker.impl.SelectionScriptLinker.link
(SelectionScriptLinker.java:98)
   at com.google.gwt.gadgets.linker.GadgetLinker.link
(GadgetLinker.java:
55)
   at
com.google.gwt.core.ext.linker.impl.StandardLinkerContext.invokeLink
(StandardLinkerContext.java:328)
   at com.google.gwt.dev.HostedMode.link(HostedMode.java:456)
   at com.google.gwt.dev.HostedMode.doStartup(HostedMode.java:353)
   at com.google.gwt.dev.HostedModeBase.startUp
(HostedModeBase.java:585)
   at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:
397)
   at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

After i try use gwt maven plugin from codehause but get the same
result :(!
---
Please, help me. I can't understand that the problem.


Thanks.
Vitaly!

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